.imda-banner {
  width: 100%;
  max-width: 500px;

  margin: 8px 0 12px;
  padding: 4px 8px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 10px;

  background: #f7f7f7;
  border: 2px solid #ff6b8a;
  border-radius: 14px;
}

/* LEFT */
.imda-left {
  display: flex;
  align-items: center;
  gap: 4px;

  padding: 6px 10px;
  border-radius: 10px;

  background: rgba(255, 255, 255, 0.55);

  box-shadow:
    0 1px 4px rgba(0, 0, 0, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);

  flex: 1;
  min-width: 0;
}

.imda-logo {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: #fff;
  color: #d81b60;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
}

.imda-text h4 {
  margin: 0;
  font-size: 11px;
  font-weight: 800;
  color: #7b2ff7;
  line-height: 1.1;
  margin-bottom: 1px;
}

.imda-text p {
  margin: 0;
  font-size: 9px;
  color: #333;
  font-weight: 600;
}

/* RIGHT */
.imda-right {
  display: flex;
  align-items: center;
  gap: 8px;

  padding: 6px 12px;
  border-radius: 999px;

  background: linear-gradient(90deg, #7b2ff7 0%, #b13cff 45%, #ff8a3d 100%);

  flex-shrink: 0;
}

.gift-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;

  background: rgba(255, 255, 255, 0.16);

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 13px;
}

.grant-text h4 {
  margin: 0;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1px;
}

.grant-text p {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 9px;
  font-weight: 500;
}

@media (max-width: 768px) {
  .imda-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .imda-left,
  .imda-right {
    width: 100%;
  }

  .imda-right {
    justify-content: center;
  }

  .imda-text h4,
  .grant-text h4 {
    font-size: 10px;
  }

  .imda-text p,
  .grant-text p {
    font-size: 8px;
  }
}
/* Button Position */
.banner-btn {
  position: absolute;
  bottom: 2%;
  left: 50%;
  transform: translateX(-50%);
}

.start-btn {
  background: linear-gradient(90deg, #6c22ff, #8f22ff);
  color: #ffffff;
  padding: 13px 30px;
  font-size: 28px;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  border-radius: 20px;
  border: none;
  cursor: pointer;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  box-shadow:
    inset 0px 4px 8px rgba(255, 255, 255, 0.4),
    inset 0px -4px 10px rgba(255, 120, 255, 0.5),
    0px 12px 20px rgba(80, 0, 255, 0.6),
    0px 20px 50px rgba(140, 0, 255, 0.4),
    0px 30px 80px rgba(255, 100, 255, 0.3);

  transition: all 0.3s ease;
}

.start-btn1 {
  background: linear-gradient(90deg, #fd7c55, #8f22ff);
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  border-radius: 10px;
  border: none;
  cursor: pointer;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.start-btn:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0px 4px 10px rgba(255, 255, 255, 0.6),
    inset 0px -4px 12px rgba(255, 120, 255, 0.6),
    0px 15px 25px rgba(80, 0, 255, 0.7),
    0px 25px 60px rgba(140, 0, 255, 0.5),
    0px 35px 90px rgba(255, 100, 255, 0.4);
}

/* Responsive */
@media (max-width: 768px) {
  .start-btn {
    font-size: 18px;
    padding: 12px 24px;
    border-radius: 14px;
  }

  .banner-btn {
    bottom: 5%;
  }
}
@media (max-width: 840px) {
  .start-btn {
    font-size: 18px;
    padding: 4px 10px;
    border-radius: 14px;
  }

  .banner-btn {
    bottom: 5%;
  }
}
@media (max-width: 1200px) {
  .start-btn {
    font-size: 18px;
    padding: 4px 14px;
    border-radius: 14px;
  }

  .banner-btn {
    bottom: 5%;
  }
}
@media (max-width: 648px) {
  .start-btn {
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 14px;
  }

  .banner-btn {
    bottom: 5%;
  }
}
@media (max-width: 488px) {
  .start-btn {
    font-size: 8px;
    padding: 4px 10px;
    border-radius: 14px;
  }

  .banner-btn {
    bottom: 1%;
  }
  .arrow-icon {
    width: 10px;
    height: 10px;
  }
}
.arrow-icon {
  width: 28px;
  height: 28px;
}
/* Modal Background */
#detailsModal .modal-content {
  background: linear-gradient(135deg, #f4efff, #ebe3ff, #f8f5ff);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 15px 40px rgba(120, 0, 255, 0.2);
  overflow: hidden;
}

/* Header */
.modal-image-header {
  background: linear-gradient(90deg, #5b00ff, #b000ff);
  color: #fff;
}

/* Modal Title */
.appointment-head {
  font-size: 19px;
  font-weight: 700;
  color: #fff;
}

/* Inputs */
#detailsModal .form-control {
  border-radius: 12px;
  border: 1px solid #ddd;
  padding: 10px 15px;
  box-shadow: none;
}

#detailsModal .form-control:focus {
  border-color: #7b00ff;
  box-shadow: 0 0 0 0.2rem rgba(123, 0, 255, 0.2);
}

/* Labels */
.modal-label {
  font-weight: 500;
  margin-bottom: 5px;
  font-size: 15px;
}

/* Required Star */
.mandatory {
  color: red;
}

/* Modal Backdrop Blur */
.modal.fade .modal-dialog {
  backdrop-filter: blur(5px);
}
/* Toast position: top center */
.toast-container-custom {
  position: fixed;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1055;
}

/* slight upward adjustment */
#formToast {
  margin-top: 20px;
  min-width: 280px;
}

.toast-success {
  color: white;
  padding: 12px 16px;
  border-radius: 10px;
  background: linear-gradient(90deg, #ff4ecd, #a855f7, #3b82f6);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.toast-error {
  background: linear-gradient(
    135deg,
    rgba(220, 53, 69, 0.9),
    rgba(132, 32, 41, 0.95)
  );
  backdrop-filter: blur(10px);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Optional: smoother look */
#formToast {
  border-radius: 8px;
  padding: 6px;
}
.imda-link,
.imda-link:hover,
.imda-link:focus {
  text-decoration: none;
  color: inherit;
}

.imda-link {
  display: block;
}

.imda-banner {
  cursor: pointer;
}
