/* Styles for authentication forms like complete_profile.html */
body {
  /* background-color: #f4f4f4; /* Ensure this doesn't clash with base.html if it sets one */
}

.auth-container {
  background-color: #fff;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 600px; /* Wider for better spacing */
  min-height: 500px; /* Give it more height */
  margin: 40px auto; /* Provides some top/bottom margin */
}

.auth-container h1 {
  text-align: center;
  color: #333;
  margin-bottom: 25px;
}

/* Using .form-label assuming Bootstrap or similar framework compatibility */
/* If not using Bootstrap, you might revert to just 'label' */
.form-label {
  display: block;
  margin-bottom: 8px;
  color: #555;
  font-weight: bold;
}

/* Using .form-control assuming Bootstrap or similar framework compatibility */
/* If not, you might revert to specific input types */
.form-control {
  width: 100%;
  padding: 10px;
  margin-bottom: 20px;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-sizing: border-box;
}

/* Using .btn and .btn-primary for Bootstrap compatibility */
.btn.btn-primary {
  width: 100%;
  padding: 12px;
  /* background-color and color will be handled by Bootstrap's .btn-primary */
  cursor: pointer;
  font-size: 16px;
}

.flash-messages {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.flash-messages li {
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 4px;
  /* Assumes Bootstrap alert classes like .alert .alert-danger will be used in HTML */
}

/* For JS-driven error messages, if not using Bootstrap alerts */
#errorMessages {
  margin-bottom: 15px;
}

#errorMessages .alert.alert-danger {
  /* Specific styling if needed, but Bootstrap should handle it */
}

/* Username availability feedback styling */
.username-feedback {
  margin-top: -15px !important;
  margin-bottom: 15px !important;
  padding: 8px 12px !important;
  border-radius: 4px !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  min-height: 20px !important;
  transition: all 0.3s ease !important;
  display: block !important;
}

.username-feedback.available {
  background-color: #d4edda !important;
  color: #155724 !important;
  border: 1px solid #c3e6cb !important;
}

.username-feedback.taken {
  background-color: #f8d7da !important;
  color: #721c24 !important;
  border: 1px solid #f5c6cb !important;
}

.username-feedback.checking {
  background-color: #fff3cd !important;
  color: #856404 !important;
  border: 1px solid #ffeaa7 !important;
}

.username-feedback.error {
  background-color: #f8d7da !important;
  color: #721c24 !important;
  border: 1px solid #f5c6cb !important;
}

.username-feedback.neutral {
  background-color: transparent !important;
  color: transparent !important;
  border: 1px solid transparent !important;
}

/* Styles moved from login.html */
body.auth-page-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.auth-page-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.login-content {
  margin-top: -12vh;
}

.login-content .card {
  min-width: 300px;
}

@media (max-width: 576px) {
  .auth-page-container {
    padding: 2rem;
  }

  /* Selector for Careflux logo in login.html specifically if needed */
  /* img[alt="Careflux Logo"].login-logo-img might be too specific or use a class if it only applies here */
}
/* End styles moved from login.html */

/* Terms and conditions modal styling */
.terms-modal-body {
  max-height: 70vh;
  overflow-y: auto;
}

/* Language Toggle Styling */
.language-toggle-container-inline {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 20px;
}

.language-toggle {
  display: flex;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 25px;
  padding: 5px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.language-btn {
  background: none;
  border: none;
  padding: 8px 12px;
  border-radius: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  font-weight: 500;
  color: #6c757d;
  transition: all 0.3s ease;
  min-width: 60px;
  justify-content: center;
}

.language-btn:hover {
  background-color: rgba(0, 123, 255, 0.1);
  color: #007bff;
}

.language-btn.active {
  background-color: #007bff;
  color: white;
}

.language-btn.active:hover {
  background-color: #0056b3;
}

.lang-text {
  font-size: 12px;
  font-weight: 600;
}

/* Responsive adjustments for language toggle */
@media (max-width: 768px) {
  .language-toggle-container-inline {
    margin-bottom: 15px;
  }

  .language-toggle {
    padding: 3px;
  }

  .language-btn {
    padding: 6px 10px;
    font-size: 13px;
    min-width: 55px;
  }

  .lang-text {
    font-size: 11px;
  }
}

/* Move login content up by 100px */
.login-content {
  transform: translateY(-100px);
}

/* Make terms and conditions link text larger */
.login-content .text-center.mt-4 small {
  font-size: 0.95rem;
}
