/*BOOTSTRAP CUSTOM*/
.card-body {
  padding: 5px !important;
}

.container {
  background: white;
  border-radius: 15px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

h1 {
  color: #333;
  margin-bottom: 30px;
  text-align: center;
  font-size: 28px;
}

.upload-area {
  border: 3px dashed #667eea;
  border-radius: 10px;
  padding: 40px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  background: #f8f9ff;
}

.upload-area:hover {
  border-color: #764ba2;
  background: #f0f1ff;
}

.upload-area.dragover {
  border-color: #764ba2;
  background: #e8e9ff;
  transform: scale(1.02);
}

.upload-icon {
  font-size: 48px;
  margin-bottom: 15px;
  color: #667eea;
}

.upload-text {
  color: #666;
  font-size: 16px;
  margin-bottom: 10px;
}

.file-input {
  display: none;
}

.selected-files {
  margin-top: 20px;
}

.file-item {
  background: #f5f5f5;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 15px;
  border: 1px solid #e0e0e0;
}

.file-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.file-name {
  color: #333;
  font-size: 14px;
  font-weight: 600;
}

.file-size {
  color: #999;
  font-size: 12px;
}

.file-progress {
  margin-top: 10px;
}

.progress-bar {
  width: 100%;
  height: 25px;
  background: #e0e0e0;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  margin-bottom: 8px;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
  width: 0%;
  transition: width 0.3s ease;
}

.progress-text {
  position: absolute;
  width: 100%;
  text-align: center;
  line-height: 25px;
  color: #333;
  font-weight: bold;
  font-size: 12px;
  top: 0;
}

.file-message {
  padding: 8px 12px;
  border-radius: 5px;
  font-size: 13px;
  margin-top: 8px;
}

.file-message.error {
  background: #fee;
  color: #c33;
  border: 1px solid #fcc;
}

.file-message.success {
  background: #efe;
  color: #3c3;
  border: 1px solid #cfc;
}

.file-message.uploading {
  background: #e8f4fd;
  color: #0066cc;
  border: 1px solid #b3d9f2;
}

.upload-btn {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  padding: 15px 40px;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  width: 100%;
  margin-top: 20px;
  transition: transform 0.2s;
  font-weight: bold;
}

.upload-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.upload-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
  transform: none;
}

.file-status {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: bold;
  margin-right: 10px;
}

.status-pending {
  background: #f0f0f0;
  color: #666;
}

.status-uploading {
  background: #e8f4fd;
  color: #0066cc;
}

.status-success {
  background: #d4edda;
  color: #155724;
}

.status-error {
  background: #f8d7da;
  color: #721c24;
}
.image-gallery {
  width: 100%;
}
.image-gallery .image-item {
  margin-top: 10px;
  border-radius: 20px;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  -ms-border-radius: 20px;
  -o-border-radius: 20px;
  border: 1px solid blue;
  overflow: hidden;
  padding: 2px;
}

.image-gallery .image-item img {
  border-radius: 20px;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  -ms-border-radius: 20px;
  -o-border-radius: 20px;
}

.loader {
  display: none;
}

.icon-btn {
  border-radius: 50px;
  padding: 10px 18px;
  font-weight: 500;
}

.square-box {
  width: 100%; /* full width of parent */
  aspect-ratio: 1 / 1; /* makes it a perfect square */
  overflow: hidden; /* hides overflow from image */
  position: relative;
}

.square-box img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* makes image cover the box */
  display: block;
}

.two-lines {
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}


/* Square image container with cover */
.requestsImage {
    width: 100%;
    padding-top: 100%; /* Creates 1:1 square ratio */
    position: relative;
    overflow: hidden;
    background-color: #f8f9fa;
}

.requestsImage img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cover the square without distortion */
    object-position: center;
-webkit-border-radius: 5px;
-webkit-border-top-left-radius: 20px;
-webkit-border-top-right-radius: 20px;
-moz-border-radius: 5px;
-moz-border-radius-topleft: 20px;
-moz-border-radius-topright: 20px;
border-radius: 5px;
border-top-left-radius: 20px;
border-top-right-radius: 20px;
}

/* Card styling */
.requestsImages {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s, box-shadow 0.2s;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    -ms-border-radius: 20px;
    -o-border-radius: 20px;
      border:1px solid red;
  padding:3px
}

.requestsImages:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}



/* Delete button styling */
.delete-btn {
  margin-top:5px;

    width: 100%;
    padding: 8px 12px;
    background-color: #dc3545;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.2s;
-webkit-border-radius: 20px;
-webkit-border-top-left-radius: 5px;
-webkit-border-top-right-radius: 5px;
-moz-border-radius: 20px;
-moz-border-radius-topleft: 5px;
-moz-border-radius-topright: 5px;
border-radius: 20px;
border-top-left-radius: 5px;
border-top-right-radius: 5px;
}

.delete-btn:hover {
    background-color: #c82333;
}

.delete-btn:active {
    transform: scale(0.98);
}
.divider-text {
    position: relative;
    text-align: center;
    margin: 20px 0;
}

.divider-text::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #dcdcdc;
}

.divider-text span {
    position: relative;
    padding: 0 14px;
    background-color: #fff;
    font-size: 14px;
    color: #555;
    font-weight: 500;
}


 .code-container {
    width: 100%;
    max-width: 400px;
    display: flex;
    justify-content: center;
    margin: auto;
  }

  .code-input {
    width: 50px;
    text-align: center;
    font-size: 32px;
    border: none;
    border-bottom: 3px solid #ccc;
    border-radius: 0;
    background-color: transparent;
    transition: all 0.3s;
    color: #495057;
    cursor: text;
  }

  .first-input.empty {
    border-bottom: 3px solid #0d6efd;
    color: #0d6efd;
    font-weight: bold;
    animation: blink 1s infinite;
  }

  .code-input:focus {
    outline: none;
    border-bottom: 3px solid #0d6efd;
    color: #0d6efd;
  }

  .code-input:disabled {
    color: #6c757d;
    opacity: 0.6;
    border-bottom-color: #ccc;
    cursor: not-allowed;
  }

  @keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
  }