/* ==========================================================================
   CUCROW — LOGIN & ONBOARDING STYLESHEET
   Matching user screenshots for Log in & Sign up Step Flow
   ========================================================================== */

.login-page-body {
  background-color: #FAF8F5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.auth-page-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px 80px 20px;
}

.auth-card-container {
  width: 100%;
  max-width: 480px;
}

.auth-card {
  background: #FFFFFF;
  border-radius: 26px;
  border: 1px solid rgba(0, 0, 0, 0.07);
  box-shadow: 0 20px 45px -12px rgba(28, 24, 20, 0.08), 0 0 1px rgba(0, 0, 0, 0.05);
  padding: 32px 32px 36px 32px;
  position: relative;
  transition: all 0.3s ease;
}

/* ==========================================================================
   TOP TABS (Log in / Sign up)
   ========================================================================== */
.card-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
}

.card-tab {
  flex: 1;
  background: #F6F3EC;
  color: #4D473F;
  border: none;
  border-radius: 12px;
  padding: 11px 0;
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-tab:hover {
  background: #EFEAE0;
  color: #171512;
}

.card-tab.active {
  background: #1C1917;
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(28, 25, 23, 0.2);
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */
.card-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: #171512;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.card-subtitle {
  font-size: 14.5px;
  color: #6E675B;
  margin-top: 6px;
  margin-bottom: 24px;
  line-height: 1.5;
}

/* ==========================================================================
   FORM INPUTS (Warm Oatmeal / Cream Backgrounds)
   ========================================================================== */
.clean-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.clean-field {
  display: flex;
  flex-direction: column;
}

.clean-label {
  font-size: 13px;
  font-weight: 600;
  color: #2D2821;
  margin-bottom: 7px;
}

.clean-input {
  width: 100%;
  background: #F6F3EC;
  border: 1px solid #ECE6DB;
  border-radius: 12px;
  height: 52px;
  padding: 0 16px;
  font-size: 15px;
  color: #171512;
  outline: none;
  transition: all 0.2s ease;
}

.clean-input::placeholder {
  color: #A39B8E;
}

.clean-input:focus {
  background: #FFFFFF;
  border-color: #C58A38;
  box-shadow: 0 0 0 3px rgba(197, 138, 56, 0.18);
}

.clean-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23171512' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
}

.password-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.pwd-eye-btn {
  position: absolute;
  right: 14px;
  background: transparent;
  border: none;
  color: #8C8476;
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
}

.pwd-eye-btn:hover {
  color: #171512;
}

.label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.forgot-pwd-link {
  font-size: 12.5px;
  color: #8C8476;
  font-weight: 500;
  text-decoration: underline;
}

.forgot-pwd-link:hover {
  color: #C58A38;
}

/* Checkbox */
.remember-row {
  margin-top: 2px;
  margin-bottom: 4px;
}

.custom-chk {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #5E574B;
  cursor: pointer;
  user-select: none;
}

.custom-chk input {
  display: none;
}

.chk-box {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: #F6F3EC;
  border: 1px solid #D5CDBE;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.custom-chk input:checked ~ .chk-box {
  background: #1C1917;
  border-color: #1C1917;
}

.custom-chk input:checked ~ .chk-box::after {
  content: '✓';
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 900;
}

.chk-label a {
  color: #C58A38;
  text-decoration: underline;
}

/* Submit Pill Button (Solid Charcoal / Black) */
.submit-pill-btn {
  width: 100%;
  background: #171717;
  color: #FFFFFF;
  border: none;
  border-radius: 14px;
  height: 52px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  margin-top: 10px;
}

.submit-pill-btn:hover {
  background: #000000;
  transform: translateY(-1.5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.submit-pill-btn:active {
  transform: translateY(0);
}

.back-pill-btn {
  background: #F6F3EC;
  color: #171512;
  border: none;
  border-radius: 14px;
  height: 52px;
  padding: 0 24px;
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.back-pill-btn:hover {
  background: #ECE6DB;
}

.step-action-row {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}

.flex-1 {
  flex: 1;
}

/* ==========================================================================
   DEMO FAST FILL BAR & SSO BUTTONS
   ========================================================================== */
.demo-quick-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 12px;
  color: #7D7569;
}

.quick-demo-pill {
  background: #F4EFE6;
  border: 1px solid #E4DCCF;
  color: #8C5B1C;
  font-size: 11.5px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.quick-demo-pill:hover {
  background: #C58A38;
  color: #FFFFFF;
  border-color: #C58A38;
}

.sso-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 22px 0 16px;
  color: #A39B8E;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.sso-divider::before, .sso-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid #ECE7DE;
}

.sso-divider span {
  padding: 0 12px;
}

.sso-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 22px;
}

.sso-btn {
  background: #FFFFFF;
  border: 1px solid #E6E0D4;
  border-radius: 12px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: #2D2821;
  cursor: pointer;
  transition: all 0.2s ease;
}

.sso-btn:hover {
  background: #FAF8F5;
  border-color: #171512;
  transform: translateY(-1px);
}

.card-bottom-prompt {
  text-align: center;
  font-size: 13.5px;
  color: #6E675B;
  margin-top: 16px;
}

.inline-link-btn {
  background: transparent;
  border: none;
  color: #171512;
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
  margin-left: 3px;
}

.inline-link-btn:hover {
  color: #C58A38;
}

/* ==========================================================================
   SIGN UP: PROGRESS BARS & STEP 1 (Exact Match with Image 2)
   ========================================================================== */
.step-progress-bars {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.progress-bar {
  flex: 1;
  height: 3.5px;
  background: #EBE5DB;
  border-radius: 9999px;
  transition: background 0.3s ease;
}

.progress-bar.active {
  background: #C58A38; /* Gold/Amber highlight */
}

.step-indicator-text {
  font-size: 13px;
  font-weight: 600;
  color: #171512;
  margin-bottom: 10px;
}

/* Persona Subtoggle: Space user / Space provider */
.persona-subtoggle {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  margin-top: 18px;
}

.subtoggle-btn {
  flex: 1;
  background: #F6F3EC;
  color: #4D473F;
  border: none;
  border-radius: 12px;
  padding: 10px 0;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s ease;
}

.subtoggle-btn:hover {
  background: #EDE8DE;
}

.subtoggle-btn.active {
  background: #1C1917;
  color: #FFFFFF;
}

/* Persona Selection Cards (Student, Employee, Freelancer, Team) */
.persona-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.persona-card {
  background: #F6F3EC;
  border: 1.5px solid transparent;
  border-radius: 14px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  user-select: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.persona-card:hover {
  background: #F0ECE2;
  transform: translateY(-1px);
}

.persona-card.selected {
  border-color: #C58A38;
  background: #F6F3EC;
  box-shadow: 0 4px 14px rgba(197, 138, 56, 0.12);
}

.persona-icon-box {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.persona-meta {
  flex: 1;
}

.persona-title {
  font-size: 15.5px;
  font-weight: 700;
  color: #171512;
  margin-bottom: 2px;
}

.persona-desc {
  font-size: 13px;
  color: #736C5F;
}

.persona-check-indicator {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}

.persona-card.selected .persona-check-indicator {
  border-color: #C58A38;
}

.persona-card.selected .persona-check-indicator::after {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #C58A38;
}

/* ==========================================================================
   FILE INPUT & STEP 3 VERIFY STYLES
   ========================================================================== */
.file-input-wrapper {
  background: #F6F3EC;
  border: 1px solid #ECE6DB;
  border-radius: 12px;
  height: 52px;
  display: flex;
  align-items: center;
  padding: 0 14px;
}

.file-native-input {
  font-size: 13.5px;
  color: #171512;
  cursor: pointer;
  width: 100%;
}

.verify-subtitle {
  font-size: 15px;
  color: #595246;
  line-height: 1.55;
  margin-top: 8px;
  margin-bottom: 24px;
}

.fw-bold {
  font-weight: 700;
  color: #171512;
}

.highlight-code {
  font-weight: 800;
  color: #171512;
  background: rgba(197, 138, 56, 0.2);
  padding: 2px 8px;
  border-radius: 6px;
  display: inline-block;
}

.otp-large-input {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 5px;
  text-align: center;
  height: 54px;
  color: #171512;
}

.quick-code-hint {
  display: flex;
  justify-content: center;
  margin: 10px 0 20px 0;
}

.subtoggle-question {
  font-size: 14.5px;
  color: #575045;
  margin: 14px 0 14px;
  font-weight: 500;
}

.field-helper-note {
  font-size: 13px;
  color: #7A7264;
  margin-top: 6px;
  margin-bottom: 12px;
  line-height: 1.4;
}

/* ==========================================================================
   WELCOME SUCCESS CARD (Matches Image 4)
   ========================================================================== */
.welcome-success-card {
  text-align: center;
  padding: 16px 10px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.welcome-badge-circle {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: #B6833D;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  box-shadow: 0 8px 24px rgba(182, 131, 61, 0.35);
}

.welcome-heading {
  font-size: 27px;
  font-weight: 800;
  color: #171512;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.welcome-pill-badge {
  background: #F3ECE1;
  color: #8F5E1E;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 18px;
  border-radius: 9999px;
  margin-bottom: 18px;
  display: inline-block;
}

.welcome-ready-text {
  font-size: 16px;
  font-weight: 500;
  color: #575045;
  margin-bottom: 16px;
}

.welcome-disclaimer {
  font-size: 13px;
  color: #8C8476;
  max-width: 360px;
  line-height: 1.5;
  margin-bottom: 28px;
}

.welcome-cta-btn {
  max-width: 260px;
  margin-top: 0;
}

/* ==========================================================================
   AMENITIES CHECKBOX PILLS (Matches Image 2 & 5)
   ========================================================================== */
.amenities-checkbox-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
  margin-bottom: 8px;
}

.amenity-pill-box {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #FFFFFF;
  border: 1px solid #E6E0D4;
  border-radius: 9999px;
  padding: 6px 14px;
  font-size: 13.5px;
  color: #171512;
  cursor: pointer;
  user-select: none;
  transition: all 0.15s ease;
}

.amenity-pill-box input[type="checkbox"] {
  width: 15px;
  height: 15px;
  cursor: pointer;
  accent-color: #171717;
}

.amenity-pill-box:hover {
  background: #F8F5EF;
  border-color: #C58A38;
}

/* ==========================================================================
   PROVIDER DASHBOARD STYLES (Matches Image 3)
   ========================================================================== */
.dashboard-page-body {
  background-color: #FAF8F5;
  min-height: 100vh;
}

.dashboard-page-main {
  padding: 40px 20px 80px 20px;
}

.dashboard-container {
  max-width: 1080px;
  margin: 0 auto;
}

.dash-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 32px;
}

.dash-h1 {
  font-size: 2.1rem;
  font-weight: 800;
  color: #171512;
  letter-spacing: -0.5px;
}

.dash-p-sub {
  font-size: 14.5px;
  color: #6C6558;
  margin-top: 6px;
}

.dash-header-cta {
  padding: 10px 22px;
  font-size: 14px;
}

.dash-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 44px;
}

.dash-stat-box {
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 20px;
  padding: 24px 28px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

.stat-number-display {
  font-size: 2.2rem;
  font-weight: 800;
  color: #171512;
  line-height: 1;
}

.stat-caption {
  font-size: 13.5px;
  color: #7D7569;
  margin-top: 8px;
}

.dash-block {
  margin-bottom: 40px;
}

.dash-block-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #171512;
  margin-bottom: 16px;
}

.dash-table-card {
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

.spaces-dash-table {
  width: 100%;
  border-collapse: collapse;
}

.spaces-dash-table th {
  text-align: left;
  padding: 16px 22px;
  font-size: 13.5px;
  font-weight: 700;
  color: #171512;
  border-bottom: 1px solid #ECE7DE;
  background: #FAF8F5;
}

.spaces-dash-table td {
  padding: 18px 22px;
  font-size: 14px;
  color: #4D473F;
  border-bottom: 1px solid #F3EFEA;
}

.fw-bold-cell {
  font-weight: 700;
  color: #171512;
}

.status-doc-pending {
  color: #6E675B;
  font-size: 13.5px;
}

.dash-empty-bookings-box p {
  color: #7A7264;
  font-size: 14.5px;
  padding-top: 4px;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 600px) {
  .auth-card {
    padding: 24px 20px 28px 20px;
    border-radius: 20px;
  }

  .card-title {
    font-size: 1.5rem;
  }

  .persona-card {
    padding: 12px 14px;
    gap: 12px;
  }
}
