
/* start upload images */
#image-popup {
    display: none;
    /* Hidden by default */
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 500px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 20px;
  }
  
  /* Popup Header */
  #image-popup h2 {
    margin: 0 0 15px;
    font-size: 20px;
    text-align: center;
    color: #333;
  }
  
  /* Image Rows */
  .image-row {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
  }
  
  .image-row input[type="file"] {
    flex: 1;
    display: block;
  }
  
  .image-row .remove-row {
    background: #ff4d4d;
    color: white;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 14px;
  }
  
  .image-row .remove-row:hover {
    background: #d12f2f;
  }
  
  /* Buttons */
  #add-row,
  #upload-form button[type="submit"],
  #close-popup {
    display: block;
    width: 100%;
    margin-top: 10px;
    padding: 10px;
    border: none;
    background-color: #007bff;
    color: white;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
  }
  
  #add-row {
  
    width: 20%;
    float: right;
  }
  
  #close-popup {
    background: #6c757d;
  }
  
  #close-popup:hover {
    background: #565e64;
  }
  
  #add-row:hover,
  #upload-form button[type="submit"]:hover {
    background-color: #0056b3;
  }
  
  /* Overlay */
  .popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: none;
  }
  
  .upload-btn {
    width: 45% !important;
    float: right !important;
  }
  
  .close-btn {
    width: 45% !important;
    float: left !important;
  }
  
  /* end upload images */
  
  