/* --- AUTH PAGES STYLES --- */

.auth-body {
  background-color: #f4f6f8;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header */
.auth-header {
  background: #fff;
  padding: 20px 0;
  border-bottom: 1px solid #e1e1e1;
}
.auth-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.auth-logo {
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 1px;
}
.auth-logo span:last-child {
  color: #333;
}

.header-right {
  font-size: 0.9rem;
  color: #666;
}
.btn-auth-outline {
  margin-left: 10px;
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 600;
  border: 1px solid var(--color-primary);
  padding: 6px 15px;
  border-radius: 4px;
  transition: 0.2s;
}
.btn-auth-outline:hover {
  background: var(--color-primary);
  color: #fff;
}

/* Wrapper for Login Centering */
.auth-wrapper {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

/* Common Card Styles */
.auth-card {
  background: #fff;
  padding: 40px;
  border-radius: 8px;
  border: 1px solid #e1e1e1;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  width: 100%;
}

/* Login Specific */
.login-card {
  max-width: 450px;
}

.auth-card h2 {
  font-size: 1.8rem;
  margin-bottom: 10px;
  color: #333;
  text-align: center;
}
.auth-subtitle {
  text-align: center;
  color: #666;
  margin-bottom: 30px;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Form Elements */
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  font-size: 0.9rem;
  color: #444;
}

.input-wrapper {
  position: relative;
}
.input-wrapper input {
  width: 100%;
  padding: 12px 15px 12px 40px; /* Space for icon */
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
  transition: border 0.2s;
}
/* Adjust padding if no icon used (like in register form sometimes) */
.register-card .input-wrapper input {
  padding-left: 15px;
}

.input-wrapper input:focus {
  border-color: var(--color-primary);
  outline: none;
}
.input-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
  width: 16px !important;
}
.toggle-pass {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #999;
  cursor: pointer;
}

.form-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  font-size: 0.9rem;
}
.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  color: #555;
}
.forgot-link {
  color: var(--color-primary);
  text-decoration: none;
}

.btn-auth-primary {
  width: 100%;
  background: var(--color-primary);
  color: #fff;
  padding: 14px;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  box-shadow: 0 4px 10px rgba(90, 161, 227, 0.3);
}
.btn-auth-primary:hover {
  background: #4a8ac2;
}

.auth-footer {
  margin-top: 25px;
  text-align: center;
  font-size: 0.9rem;
  color: #666;
}
.auth-footer a {
  /* color: var(--color-primary); */
  font-weight: 600;
  text-decoration: none;
}

.auth-footer-strip {
  text-align: center;
  padding: 20px;
  font-size: 0.8rem;
  color: #999;
}
.auth-footer-strip a {
  color: #777;
  text-decoration: none;
}

/* REGISTER PAGE LAYOUT (Split) */
.register-layout {
  display: flex;
  gap: 60px;
  padding-top: 50px;
  padding-bottom: 50px;
}

/* Left Side: Benefits */
.register-benefits {
  flex: 1;
  padding-top: 20px;
}
.register-benefits h1 {
  font-size: 2.2rem;
  color: #333;
  margin-bottom: 15px;
  line-height: 1.2;
}
.register-benefits .lead {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 40px;
}

.benefit-list-large {
  list-style: none;
}
.benefit-list-large li {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}
.icon-circle {
  width: 50px;
  height: 50px;
  background: #e3f2fd; /* Light blue bg */
  color: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.benefit-list-large h3 {
  font-size: 1.1rem;
  margin-bottom: 5px;
  color: #333;
}
.benefit-list-large p {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.5;
}

/* Right Side: Register Form */
.register-card {
  max-width: 500px;
}
.form-row {
  display: flex;
  gap: 15px;
}
.form-group.half {
  width: 50%;
}

.form-terms {
  font-size: 0.85rem;
  margin-bottom: 20px;
  color: #666;
}
.form-terms a {
  color: var(--color-primary);
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 991px) {
  .register-layout {
    flex-direction: column;
  }
  .register-benefits {
    text-align: center;
    padding-top: 0;
  }
  .benefit-list-large li {
    text-align: left;
  }
  .register-card {
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .auth-card {
    padding: 25px;
  }
  .form-row {
    flex-direction: column;
    gap: 0;
  }
  .form-group.half {
    width: 100%;
  }
}

/* Extra */
/* Merged Input Group Style */
.input-group-merge .form-control {
  border-right: 0;
}
.input-group-merge .input-group-text {
  background-color: transparent;
  border-left: 0;
}
.input-group-merge .form-control:focus + .input-group-text {
  border-color: #86b7fe; /* Bootstrap focus color */
}

/* Input field styling */
/* .input-wrapper {
  position: relative;
}

.input-wrapper .input-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #aaa;
  z-index: 2;
}

.input-wrapper input {
  padding-left: 40px;
}

.input-wrapper .toggle-pass {
  position: absolute;
  right: 1px;
  top: 1px;
  bottom: 1px;
  width: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  color: #888;
  font-size: 0.9rem;
  z-index: 3;
  border-radius: 0 4px 4px 0;
}
.input-wrapper .toggle-pass:hover {
  background-color: #f4f4f4;
} */
