/* Login styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  /* background: #f8efef; */

}

.header {
  background: #FFFFFF;
  margin-top: 10px;
  /* padding: 5px 40px; */
  /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); */
}


.logo-section {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo-img {
  width: 60px;
  height: 60px;
  background: url("../images/before-login/Frame.png") no-repeat center/contain;
}

.title-section h1 {
  color: #f39c12;
  font-size: 28px;
  font-weight: 600;
  margin: 0;
}

.subtitle {
  color: #666;
  font-size: 14px;
  margin: 2px 0 0 0;
}

.main-content {
  display: flex;
  min-height: calc(100vh - 140px);
  background: #FFFFFF;
}

.illustration-section {
  flex: 1;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  /* padding: 60px; */
  position: relative;

}

.illustration-img {
  max-width: 92%;
  height: auto;
}

.login-section {
  margin: 0px 0px 50px 0px;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  /* padding: 15px; */
  background: #FFFFFF;

}

.login-card {
  margin: 0px 152px 55px 0px;
  background: #FFFFFF;
  border-radius: 15px;
  padding: 10px 20px 10px 20px;
  width: 100%;
  max-width: 450px;
  box-shadow: 0px 5px 9.4px 0px #00000040;

}



.login-title {
  font-size: 24px;
  font-weight: 500;
  color: #333;
  margin-bottom: 10px;
  text-align: center;
}

.form-label {
  color: #666;
  font-size: 14px;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-control {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 12px 15px;
  font-size: 14px;
  transition: all 0.3s ease;
  background: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.form-control:focus {
  border-color: #4a90e2;
  box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
  outline: none;
}

.captcha-container {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 15px;
}

.captcha-display {
  background: #E0E0E0;
  border-width: 0px 0px 0px 0px;
  border-style: solid;
  border-color: #b2b2b2;
  border-radius: 8px;
  padding: 10px 15px;
  font-weight: bold;
  letter-spacing: 2px;
  color: #333;
  font-size: 16px;
}

.captcha-refresh {
  background: #6c757d;
  border: none;
  border-radius: 6px;
  padding: 8px 12px;
  color: #FFFFFF;
  cursor: pointer;
  transition: all 0.2s ease;
}

.captcha-refresh:hover {
  background: #5a6268;
}

.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 20px 0;
  font-size: 13px;
}

.remember-me {
  display: flex;
  align-items: center;
  gap: 6px;
}

.forgot-link {
  color: #4a90e2;
  text-decoration: none;
  font-size: 13px;
}

.forgot-link:hover {
  color: #357abd;
}

.btn-signin {
  background: #2e5799;
  border: none;
  border-radius: 8px;
  padding: 12px;
  font-size: 16px;
  font-weight: 500;
  color: #FFFFFF;
  width: 100%;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
}

.btn-signin:hover {
  background: #357abd;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(74, 144, 226, 0.4);
}

.register-link {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
  color: #666;
}

.register-link a {
  color: #4a90e2;
  text-decoration: none;
  font-weight: 500;
}

/* Illustration Styles */
.medical-scene {
  position: relative;
  width: 100%;
  max-width: 500px;
  height: 350px;
}

.clipboard {
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 140px;
  height: 190px;
  background: #FFFFFF;
  border: 3px solid #4a90e2;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  z-index: 3;
}

.clipboard::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 15px;
  background: #333;
  border-radius: 3px;
}

.medical-cross {
  position: absolute;
  top: 25px;
  left: 50%;
  transform: translateX(-50%);
  width: 35px;
  height: 35px;
  background: #e74c3c;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 16px;
}

.checkmark-list {
  position: absolute;
  top: 70px;
  left: 15px;
  right: 15px;
}

.checkmark-item {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
  gap: 8px;
}

.check-icon {
  width: 12px;
  height: 12px;
  background: #27ae60;
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 8px;
}

.check-line {
  flex: 1;
  height: 2px;
  background: #e0e0e0;
  border-radius: 1px;
}

.calculator {
  position: absolute;
  bottom: 50px;
  left: 50px;
  width: 70px;
  height: 90px;
  background: #4a90e2;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  z-index: 2;
}

.calc-screen {
  background: #2c3e50;
  height: 20px;
  margin: 8px;
  border-radius: 3px;
}

.calc-buttons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  padding: 5px 8px;
}

.calc-btn {
  background: #357abd;
  height: 12px;
  border-radius: 2px;
}

.security-lock {
  position: absolute;
  bottom: 50px;
  right: 80px;
  width: 55px;
  height: 65px;
  background: #87ceeb;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  z-index: 2;
}

.floating-rupee {
  position: absolute;
  width: 30px;
  height: 30px;
  background: #f39c12;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 12px;
  font-weight: bold;
  animation: float 3s ease-in-out infinite;
}

.floating-rupee:nth-child(1) {
  top: 20px;
  left: 20px;
  animation-delay: 0s;
}

.floating-rupee:nth-child(2) {
  top: 80px;
  right: 30px;
  animation-delay: 1s;
}

.floating-rupee:nth-child(3) {
  bottom: 120px;
  left: 30px;
  animation-delay: 2s;
}

.paper-plane {
  position: absolute;
  top: 30px;
  right: 50px;
  width: 0;
  height: 0;
  border-left: 15px solid #ffa500;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  animation: float 4s ease-in-out infinite;
  z-index: 1;
}

.dotted-path {
  position: absolute;
  stroke: #4a90e2;
  stroke-width: 2;
  stroke-dasharray: 5, 5;
  fill: none;
  opacity: 0.6;
  animation: dash 20s linear infinite;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes dash {
  to {
    stroke-dashoffset: -100;
  }
}

.footer {
  background: #f8f9fa;
  /* light gray background */
  text-align: center;
  /* center text */
  /* padding: 5px;               */
  color: #666;
  /* text color */
  font-size: 14px;
  /* text size */
  border-top: 1px solid #e0e0e0;
  /* subtle top border */
  margin: 0;
  /* remove outer margin */
  width: 100%;
  /* span full width */
  position: fixed;
  bottom: 0;
  /* align to bottom */
  left: 0;
  /* align left */
}

@media (max-width: 768px) {
  .main-content {
    flex-direction: column;
  }

  .illustration-section {
    min-height: 300px;
    padding: 30px;
  }

  .login-section {
    padding: 20px;
  }

  .login-card {
    padding: 30px 25px;
  }

  .header {
    padding: 15px 20px;
  }

  .logo-section {
    gap: 10px;
  }

  .title-section h1 {
    font-size: 22px;
  }
}




/* Registration */
.registration-container {
  max-width: 1500px;
  /* increased from 600px */
  margin: 25px 0px 50px 10px;
  background: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}



.registration-header {
  background: #FFFFFF;
  padding: 10px 10px 0px;
  text-align: center;
  /* border-bottom: 1px solid #e9ecef; */
}

.registration-title {
  font-size: 24px;
  font-weight: 600;
  color: #333;
  margin: 0;
}

.steps-container {
  display: flex;
  justify-content: center;
  padding: 10px 30px;
  background: #FFFFFF;
  /* border-bottom: 1px solid #e9ecef; */
}

.step-item {
  display: flex;
  align-items: center;
  color: #6c757d;
  font-size: 14px;
}

.step-item.active {
  color: #4a90e2;
}

.step-number {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: #e9ecef;
  color: #6c757d;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  margin-right: 8px;
}

.step-item.active .step-number {
  background: #4a90e2;
  color: #FFFFFF;
}

.step-divider {
  width: 154px;
  height: 1px;
  background: #dee2e6;
  margin: 12px 20px;
  position: relative;
  top: -1px;
}

.form-content {
  padding: 20px;
}

.form-row {
  display: flex;
  gap: 20px;
  /* margin-bottom: 10px; */
}

.form-group {
  flex: 1;
}

.form-group.full-width {
  width: 100%;
}

/* .form-label {
            color: #333;
            font-size: 14px;
            font-weight: 500;
            margin-bottom: 6px;
            display: block;
        } */

/* .form-control {
            width: 100%;
            padding: 10px 12px;
            border: 1px solid #ced4da;
            border-radius: 6px;
            font-size: 14px;
            transition: all 0.2s ease;
            background: #FFFFFF;
        } */

/* .form-control:focus {
            border-color: #4a90e2;
            box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.1);
            outline: none;
        } */
/* 
        .form-select {
            width: 100%;
            padding: 10px 12px;
            border: 1px solid #ced4da;
            border-radius: 6px;
            font-size: 14px;
            background: #FFFFFF;
            cursor: pointer;
        }

        .form-select:focus {
            border-color: #4a90e2;
            box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.1);
            outline: none;
        } */

.verify-section {
  display: flex;
  gap: 10px;
  align-items: end;
}

.verify-btn {
  background-image: linear-gradient(to top, #48c6ef 0%, #6f86d6 100%);
  color: #FFFFFF;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s ease;

}

.verify-btn:hover {
  background-image: linear-gradient(to top, #00c6fb 0%, #005bea 100%);
}

.info-icon {
  color: #6c757d;
  margin-left: 5px;
  cursor: help;
}

.date-input {
  position: relative;
}

.calendar-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #6c757d;
  pointer-events: none;
}

.gender-options {
  display: flex;
  gap: 20px;
  margin-top: 8px;
}

.gender-option {
  display: flex;
  align-items: center;
  gap: 6px;
}

.gender-option input[type="radio"] {
  margin: 0;
}

.gender-option label {
  font-size: 14px;
  color: #333;
  margin: 0;
  cursor: pointer;
}

.sign-in-link {
  margin-bottom: 25px;
  font-size: 14px;
  color: #6c757d;
}

.sign-in-link a {
  color: #4a90e2;
  text-decoration: none;
}

.sign-in-link a:hover {
  text-decoration: underline;
}

.form-actions {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin-top: 20px;
}

.btn-reset {
  background: #23A5B9;
  color: #FFFFFF;
  border: none;
  padding: 12px 30px;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.btn-reset:hover {
  background: #138496;
}

.btn-next {
  background: #2E5799;
  color: #FFFFFF;
  border: none;
  padding: 12px 30px;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.btn-next:hover {
  background: #357abd;
}

.required {
  color: #dc3545;
}


.step-item.active .step-number {
  background: #007bff;
  color: #fff;
}

.step-content {
  display: none;
}

.step-content.active {
  display: block;
}

.btn-prev {
  background: #23A5B9;
  color: #FFFFFF;
  border: none;
  padding: 12px 30px;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.btn-prev:hover {
  background: #138496;
}

@media (max-width: 768px) {
  .registration-container {
    margin: 0 15px;
  }

  .form-row {
    flex-direction: column;
    gap: 15px;
  }

  .steps-container {
    padding: 15px 20px;
  }

  .step-divider {
    width: 40px;
    margin: 0 15px;
  }

  .form-content {
    padding: 20px;
  }

  .gender-options {
    gap: 15px;
  }

  .form-actions {
    flex-direction: column;
  }
}

@media screen and (min-width: 1900px) and (max-width: 2000px) {
    .registration-container {
        max-width: 1500px;        /* adjust width for large screens */
        margin: 50px auto;        /* center horizontally, give top/bottom margin */
        background: #FFFFFF;
        border-radius: 12px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        padding: 30px;            /* optional padding */
    }
}