/* ==========================================================================
   RightSpace Authentication Stylesheet (Sign In & Sign Up)
   ========================================================================== */

.auth_page {
  min-height: 100vh;
  width: 100%;
  background-color: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 20px 60px;
  box-sizing: border-box;
}

.auth_container {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
}

/* Single Form Centered Wrapper */
.auth_container_single {
  max-width: 520px;
  width: 100%;
}

/* Left Showcase Images Grid (Sign In Page) */
.auth_showcase {
  flex: 1;
  position: relative;
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.showcase_img {
  position: absolute;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.showcase_img_1 {
  width: 240px;
  height: 200px;
  border-radius: 28px;
  top: 20px;
  left: 40px;
  z-index: 1;
}

.showcase_img_2 {
  width: 210px;
  height: 190px;
  border-radius: 24px;
  bottom: 30px;
  left: 10px;
  z-index: 2;
}

.showcase_img_3 {
  width: 270px;
  height: 310px;
  border-radius: 32px;
  right: 20px;
  bottom: 40px;
  z-index: 3;
  border: 4px solid #ffffff;
}

/* Auth Card Box */
.auth_card {
  flex: 1;
  max-width: 480px;
  width: 100%;
  background: #ffffff;
  border-radius: 32px;
  padding: 48px 42px;
  border: 1px solid rgba(16, 34, 46, 0.06);
}

.auth_header {
  margin-bottom: 32px;
}

.auth_title {
  font-family: "Playfair Display", serif;
  font-size: 2.3rem;
  font-weight: 700;
  color: #10222e;
  margin: 0 0 8px 0;
  line-height: 1.2;
}

.auth_subtitle {
  font-size: 0.95rem;
  color: #64748b;
  margin: 0;
  line-height: 1.5;
}

/* Alert Notification Boxes */
.auth_alert {
  padding: 12px 18px;
  border-radius: 12px;
  font-size: 0.88rem;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.auth_alert_error {
  background-color: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.auth_alert_success {
  background-color: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
}

/* Form Controls */
.auth_form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form_group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form_label {
  font-size: 0.88rem;
  font-weight: 700;
  color: #10222e;
  letter-spacing: 0.2px;
}

.form_input,
.form_select {
  width: 100%;
  padding: 14px 18px;
  border-radius: 14px;
  border: 1px solid #cbd5e1;
  background-color: #ffffff;
  font-size: 0.95rem;
  color: #1e293b;
  outline: none;
  transition: border-color 0.25s ease;
  box-sizing: border-box;
}

.form_input:focus,
.form_select:focus {
  border-color: #b73524;
}

.form_input::placeholder {
  color: #94a3b8;
  opacity: 0.55;
}

.form_select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'></polyline></svg>");
  background-repeat: no-repeat;
  background-position: right 18px center;
  background-size: 16px;
  cursor: pointer;
}

.checkbox_group {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
}

.checkbox_input {
  width: 18px;
  height: 18px;
  accent-color: #b73524;
  cursor: pointer;
}

.checkbox_label {
  font-size: 0.86rem;
  color: #475569;
}

.checkbox_label a {
  color: #10222e;
  font-weight: 600;
  text-decoration: underline;
}

.auth_btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 24px;
  background-color: #b73524;
  color: #ffffff;
  border: none;
  border-radius: 15px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 10px;
  transition: background-color 0.2s ease;
}

.auth_btn:hover {
  background-color: #d13c29;
}

.auth_footer {
  text-align: center;
  margin-top: 24px;
  font-size: 0.9rem;
  color: #64748b;
}

.auth_footer a {
  color: #10222e;
  font-weight: 700;
  text-decoration: none;
  margin-left: 4px;
}

.auth_footer a:hover {
  text-decoration: underline;
  color: #b73524;
}

.auth_forgot_link {
  font-size: 0.84rem;
  color: #b73524;
  font-weight: 600;
  text-decoration: none;
  transition:
    color 0.2s ease,
    opacity 0.2s ease;
}

.auth_forgot_link:hover {
  color: #8c2417;
  text-decoration: underline;
}

.auth_steps_badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f1f5f9;
  color: #475569;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Responsiveness */
@media (max-width: 992px) {
  .auth_showcase {
    display: none;
  }

  .auth_container {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .auth_card {
    padding: 32px 24px;
    border-radius: 24px;
  }

  .auth_title {
    font-size: 1.9rem;
  }
}

/* Wide Container & Card for Two-Column Forms */
.auth_container_wide {
  max-width: 780px;
  width: 100%;
}

.auth_card_wide {
  max-width: 780px;
  width: 100%;
}

.auth_form_grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 24px;
}

.auth_form_full {
  grid-column: 1 / -1;
}

@media (max-width: 660px) {
  .auth_form_grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* Password Visibility Toggle */
/* Password Visibility Toggle */
.password_input_wrapper {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
}

.password_input_wrapper .form_input {
  padding-right: 48px;
  width: 100%;
}

.btn_toggle_password {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%) !important;
  background: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  padding: 6px;
  margin: 0;
  cursor: pointer;
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: color 0.15s ease;
  z-index: 5;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  appearance: none;
  -webkit-appearance: none;
}

.btn_toggle_password:hover {
  color: #10222e;
}

.btn_toggle_password:active,
.btn_toggle_password:focus {
  transform: translateY(-50%) !important;
  outline: none !important;
  box-shadow: none !important;
}

.btn_toggle_password i {
  font-size: 16px;
  line-height: 1;
  pointer-events: none;
  display: inline-block;
  transition: none !important;
  transform: none !important;
  animation: none !important;
}
