/* ===== DOCTOR AUTH STYLES ===== */

.brb-doctor-login-form,
.brb-doctor-register-form {
  max-width: 500px;
  margin: 60px auto;
  padding: 40px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.brb-doctor-login-form h2,
.brb-doctor-register-form h2 {
  color: #245075;
  margin-bottom: 10px;
  text-align: center;
  font-size: 28px;
}

.brb-doctor-register-form p {
  text-align: center;
  color: #666;
  margin-bottom: 30px;
}

/* Form Groups */
.form-group {
  margin-bottom: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

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

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group input[type="tel"] {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #e0e0e0;
  border-radius: 6px;
  font-size: 15px;
  transition: all 0.3s;
  box-sizing: border-box;
}

.form-group input:focus {
  outline: none;
  border-color: #245075;
  box-shadow: 0 0 0 3px rgba(36,80,117,0.1);
}

.form-group small {
  display: block;
  margin-top: 5px;
  color: #999;
  font-size: 12px;
}

/* Checkbox */
.form-group label input[type="checkbox"] {
  margin-right: 8px;
}

.form-group label:has(input[type="checkbox"]) {
  display: flex;
  align-items: center;
  font-weight: normal;
  cursor: pointer;
}

/* Messages */
.form-message {
  margin: 20px 0;
  min-height: 20px;
}

.success-message {
  background: #e6f4ea;
  border-left: 4px solid #00a32a;
  padding: 12px 15px;
  border-radius: 4px;
  color: #00a32a;
  font-weight: 500;
}

.error-message {
  background: #f8d7da;
  border-left: 4px solid #d63638;
  padding: 12px 15px;
  border-radius: 4px;
  color: #d63638;
  font-weight: 500;
}

/* Button */
.btn {
  width: 100%;
  padding: 14px 24px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  text-align: center;
}

.btn-primary {
  background: #245075;
  color: white;
}

.btn-primary:hover:not(:disabled) {
  background: #1a3d59;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(36,80,117,0.3);
}

.btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Footer */
.form-footer {
  text-align: center;
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid #e0e0e0;
  color: #666;
  font-size: 14px;
}

.form-footer a {
  color: #245075;
  text-decoration: none;
  font-weight: 500;
}

.form-footer a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  .brb-doctor-login-form,
  .brb-doctor-register-form {
    margin: 30px 20px;
    padding: 30px 20px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .brb-doctor-login-form h2,
  .brb-doctor-register-form h2 {
    font-size: 24px;
  }
}

/* Loading state */
.btn-primary:disabled::after {
  content: "...";
  animation: dots 1.5s steps(4, end) infinite;
}

@keyframes dots {
  0%, 20% { content: "."; }
  40% { content: ".."; }
  60%, 100% { content: "..."; }
}
