:root {
  --primary-color: #6a11cb;
  --secondary-color: #2575fc;
  --success-color: #28a745;
  --danger-color: #dc3545;
  --light-color: #f8f9fa;
  --dark-color: #343a40;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  min-height: 100vh;
}

.belistener__wrapper {
  background: white;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  margin: 50px auto;
  max-width: 1400px;
}

/* .left__container {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: white;
  padding: 40px;
  min-height: 100%;
} */

.left__container {
  /* background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  ); */

  background: linear-gradient(135deg, #de8686, #dc281e);
  /* background: var(--dark-color); */
  color: white;
  padding: 40px;
  min-height: 100%;
  position: relative;
}

.side__titles {
  position: relative;
}

/* Progress bar line */
.side__titles::before {
  content: "";
  position: absolute;
  left: 34px; /* Center of step number (assuming 40px width) */
  text-align: center;
  top: 40px;
  width: 2px;
  height: calc(100% - 80px);
  background: rgba(255, 255, 255, 0.3);
  z-index: 0;
}

/* Active progress bar */
.side__titles::after {
  content: "";
  position: absolute;
  left: 34px;
  top: 40px;
  width: 2px;
  background: white;
  z-index: 1;
  transition: height 0.3s ease;
}

/* Progress states */
.side__titles[data-step="1"]::after {
  height: 0%;
}

.side__titles[data-step="2"]::after {
  height: 33.33%;
}

.side__titles[data-step="3"]::after {
  height: 66.66%;
}

.side__titles[data-step="4"]::after {
  height: 85%;
}

.title__name {
  position: relative;
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 40px;
  z-index: 2;
}

.title__name:last-child {
  margin-bottom: 0;
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  /* background: rgba(255, 255, 255, 0.2); */
  color: var(--danger-color);
  background-color: white;
  border: 2px solid rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  flex-shrink: 0;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.step-number.form__active {
  background: white;
  color: var(--danger-color);
  border-color: white;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.2);
}

/* .step-number.form__active .title__name {
  background: rgba(255, 255, 255, 0.2) !important;
} */
.title__name:has(.step-number.form__active) {
  background: rgba(255, 255, 255, 0.2);
}

.step-number.completed {
  background-color: white;
  border-color: white;
}

/* .step-number.completed::after {
  content: "✓";
  position: absolute;
  color: var(--danger-color);
} */

/* .numberText {
  display: none;
} */

.step {
  flex: 1;
}

.step h5 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 4px;
}

.step p {
  opacity: 0.9;
  font-size: 14px;
}

/* Mobile styles */
.top__titles {
  margin-bottom: 30px;
}

.top__titles .title__name {
  margin-bottom: 0;
}

/* Optional: Add completed state styling for steps */
.title__name.completed .step-number {
  background: rgba(255, 255, 255, 0.9);
  border-color: white;
}

.title__name.completed .step h5,
.title__name.completed .step p {
  opacity: 0.8;
}

.right__container {
  padding: 40px;
  background: var(--light-color);
}

/* .step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  background-color: var(--light-color);

  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  transition: all 0.3s ease;
} */

/* .step-number.form__active {
  background: white;
  color: var(--primary-color);
  transform: scale(1.1);
} */

.title__name {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 30px;
  padding: 15px;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.title__name:hover {
  background: rgba(255, 255, 255, 0.2);
}

.belistener__btn,
.previous__btn {
  padding: 12px 40px;
  border-radius: 50px;
  font-weight: 600;
  border: none;
  transition: all 0.3s ease;
  min-width: 150px;
}

.belistener__btn {
  /* background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  ); */
  background: linear-gradient(135deg, #de8686, #dc281e);
  color: white;
}

.belistener__btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(203, 17, 79, 0.3);
}

.belistener__btn:disabled {
  background: #ccc;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.previous__btn {
  background: transparent;
  color: var(--dark-color);
  border: 2px solid var(--dark-color);
}

.previous__btn:hover {
  background: var(--dark-color);
  color: white;
}

.custom-file-upload {
  border: 2px dashed #ddd;
  padding: 20px;
  border-radius: 10px;
  cursor: pointer;
  text-align: center;
  transition: all 0.3s ease;
}

.custom-file-upload:hover {
  border-color: var(--danger-color);
  background: rgba(203, 17, 57, 0.05);
}

.custom-select {
  position: relative;
}

.options {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 1px solid #ddd;
  border-radius: 5px;
  max-height: 200px;
  overflow-y: auto;
  display: none;
  z-index: 1000;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.option {
  padding: 10px;
  cursor: pointer;
  transition: background 0.2s;
}

.option:hover,
.option.selected {
  background: var(--danger-color);
  color: white;
}

.otp-box {
  width: 50px;
  height: 50px;
  text-align: center;
  font-size: 1.2rem;
  font-weight: bold;
  border: 2px solid #dee2e6;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.form-control {
  border: 2px solid #dee2e6 !important;
  padding: 10px 14px !important;
}

.form-control:focus {
  border-color: var(--danger-color) !important;
  box-shadow: 0 0 0 3px rgba(203, 17, 17, 0.1) !important;
}

.otp-box:focus {
  border-color: var(--danger-color) !important;
  box-shadow: 0 0 0 3px rgba(203, 17, 17, 0.1) !important;
  transform: scale(1.05) !important;
}

#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 5px solid #f3f3f3;
  border-top: 5px solid var(--danger-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.err {
  color: var(--danger-color);
  font-size: 0.875rem;
  margin-top: 5px;
  display: block;
}

/* Modal Styles */

@media (min-width: 576px) {
  .model__custom {
    width: 340px !important;
  }
}

.modal-content {
  border-radius: 15px;
  border: none;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.modal-header {
  border-bottom: 1px solid #eee;
  padding: 20px 30px;
}

.modal-body {
  padding: 30px;
}

.modal-footer {
  border-top: 1px solid #eee;
  padding: 20px 30px;
}

/* Responsive */
@media (max-width: 768px) {
  .belistener__wrapper {
    margin: 20px;
  }

  .left__container,
  .right__container {
    padding: 20px;
  }

  .otp-box {
    width: 40px;
    height: 40px;
  }
}

/* File preview styles */
.file-preview {
  background: #f8f9fa;
  border-radius: 10px;
  padding: 15px;
  margin-top: 10px;
}

.file-preview img {
  max-width: 100px;
  max-height: 100px;
  object-fit: cover;
  border-radius: 5px;
}

.cost-input-group {
  position: relative;
}

.cost-input-group .input-group-text {
  background: #e9ecef;
  font-weight: 500;
}

/* Status badges */
.status-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.status-pending {
  background: #fff3cd;
  color: #856404;
}
.status-completed {
  background: #d4edda;
  color: #155724;
}
.status-verified {
  background: #cce5ff;
  color: #004085;
}

/* Verification message */
.verification-message {
  /* background: linear-gradient(135deg, #6a11cb, #2575fc); */
  background: linear-gradient(135deg, #de8686, #dc281e);
  color: white;
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  margin-bottom: 20px;
}

.verification-message .fa-clock {
  font-size: 4rem;
  margin-bottom: 20px;
}

.verification-message h3 {
  font-weight: 600;
  margin-bottom: 15px;
}

.verification-message p {
  font-size: 1.1rem;
  margin-bottom: 20px;
  opacity: 0.9;
}
