:root {
  --booksy-teal: #00a3ad;
  --booksy-dark: #101928;
  --booksy-gray: #75767a;
  --bg-light: #f7f7f9;
}

body,
html {
  height: 100%;
  font-family: "Inter", sans-serif;
  color: var(--booksy-dark);
  background-color: #fff;
}

.auth-container {
  height: 100vh;
  overflow: hidden;
}

/* --- Left Side Image --- */
.auth-image-col {
  background-image: url("https://images.unsplash.com/photo-1560066984-138dadb4c035?auto=format&fit=crop&q=80&w=1000");
  background-size: cover;
  background-position: center;
  position: relative;
}

.auth-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.1),
    rgba(0, 0, 0, 0.6)
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 3rem;
  color: #fff;
}

.testimonial-text {
  font-family: "Poppins", sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

/* --- Right Side Form --- */
.auth-form-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem 4rem;
  overflow-y: auto;
}

.auth-logo {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 2rem;
  color: #000;
  text-decoration: none;
  margin-bottom: 2rem;
  display: inline-block;
}

.auth-title {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.auth-subtitle {
  color: var(--booksy-gray);
  margin-bottom: 2rem;
}

.form-label {
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.form-control {
  padding: 0.75rem 1rem;
  border-radius: 8px;
  border: 1px solid #ddd;
  background-color: #f8f9fa;
  font-size: 0.95rem;
}

.form-control:focus {
  box-shadow: 0 0 0 3px rgba(0, 163, 173, 0.2);
  border-color: var(--booksy-teal);
  background-color: #fff;
}

.btn-auth {
  background-color: var(--booksy-teal);
  color: #fff;
  font-weight: 600;
  padding: 0.8rem;
  border-radius: 50px;
  border: none;
  width: 100%;
  margin-top: 1rem;
  transition: background 0.2s;
}

.btn-auth:hover {
  background-color: #008c95;
  color: #fff;
}

.divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 1.5rem 0;
  color: var(--booksy-gray);
  font-size: 0.85rem;
}

.divider::before,
.divider::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid #eee;
}

.divider::before {
  margin-right: 0.5em;
}

.divider::after {
  margin-left: 0.5em;
}

.btn-social {
  background: #fff;
  border: 1px solid #ddd;
  color: var(--booksy-dark);
  font-weight: 500;
  padding: 0.7rem;
  border-radius: 50px;
  width: 100%;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.1s;
}

.btn-social:hover {
  background-color: #f8f9fa;
}

.switch-auth {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.95rem;
}

.switch-auth a {
  color: var(--booksy-teal);
  text-decoration: none;
  font-weight: 600;
}

.switch-auth a:hover {
  text-decoration: underline;
}

/* Utility to toggle forms */
.d-none-custom {
  display: none;
}

@media (max-width: 768px) {
  .auth-image-col {
    display: none;
  }

  .auth-form-col {
    padding: 2rem;
  }
}

/* Utility to hide sections */
.d-none-custom {
  display: none !important;
}

/* Optional: Error text styling */
.text-danger small {
  font-size: 0.85em;
  margin-top: 4px;
  display: block;
}
