/* ==========================================================================
   Actora.ai — Vubio-Inspired Split Screen Authentication System (Auth.css)
   ========================================================================== */

:root {
  --bg-left: #ffffff;
  --bg-right: #f8fafc;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  
  --border-subtle: #e2e8f0;
  --border-focus: #0f172a;
  
  --brand-black: #0f172a;
  --brand-blue: #3b82f6;
  --brand-emerald: #10b981;
  --brand-rose: #f43f5e;
  
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  background: var(--bg-left);
  color: var(--text-main);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

.mono {
  font-family: var(--font-mono);
}

.hidden {
  display: none !important;
}

/* ==========================================================================
   Split-Screen Layout Container
   ========================================================================== */
.auth-layout {
  display: flex;
  min-height: 100vh;
  width: 100%;
}

/* ==========================================================================
   LEFT PANE: Form Area
   ========================================================================== */
.auth-left-pane {
  flex: 1;
  background: var(--bg-left);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 32px;
  position: relative;
}

.auth-box {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}

/* Logo */
.auth-logo {
  display: inline-block;
  text-decoration: none;
  color: var(--text-main);
  margin-bottom: 32px;
}

.logo-serif {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.04em;
  font-family: var(--font-sans);
}

/* Header */
.auth-header {
  margin-bottom: 28px;
}

.auth-header h1 {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-main);
  margin-bottom: 6px;
}

.auth-header p {
  font-size: 14px;
  color: var(--text-muted);
}

/* Google OAuth Button with 'Last used' pill */
.google-btn-wrapper {
  position: relative;
  margin-bottom: 24px;
}

.btn-google {
  width: 100%;
  height: 46px;
  background: #ffffff;
  border: 1.5px solid var(--border-subtle);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #334155;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.btn-google:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #0f172a;
}

.last-used-pill {
  position: absolute;
  top: -8px;
  right: 14px;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  color: #64748b;
  font-size: 10px;
  font-weight: 700;
  padding: 1px 7px;
  border-radius: 999px;
  pointer-events: none;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

/* Divider */
.auth-divider {
  display: flex;
  align-items: center;
  margin-bottom: 24px;
  color: var(--text-light);
  font-size: 12.5px;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #e2e8f0;
}

.auth-divider span {
  padding: 0 14px;
}

/* Form Groups */
.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  margin-bottom: 6px;
}

.password-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.password-label-row label {
  margin-bottom: 0;
}

.forgot-link {
  font-size: 12.5px;
  font-weight: 600;
  color: #334155;
  text-decoration: none;
  transition: color 0.2s;
}

.forgot-link:hover {
  color: #0f172a;
  text-decoration: underline;
}

.form-group input {
  width: 100%;
  height: 44px;
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  padding: 0 14px;
  font-size: 14px;
  font-family: inherit;
  color: #0f172a;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.08);
}

.form-group input::placeholder {
  color: #94a3b8;
}

/* Error Banner */
.auth-error-banner {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #dc2626;
  font-size: 12.5px;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: 8px;
  margin-bottom: 16px;
  line-height: 1.4;
}

/* Primary Submit Button (Solid Black Pill) */
.btn-auth-submit {
  width: 100%;
  height: 46px;
  background: var(--brand-black);
  border: 1px solid var(--brand-black);
  border-radius: 10px;
  color: #ffffff;
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
  margin-top: 4px;
  margin-bottom: 20px;
}

.btn-auth-submit:hover {
  background: #1e293b;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.2);
}

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

/* Legal text */
.auth-legal-text {
  font-size: 11.5px;
  color: var(--text-light);
  text-align: center;
  line-height: 1.5;
  margin-bottom: 24px;
}

.auth-legal-text a {
  color: var(--text-muted);
  text-decoration: underline;
}

/* Mode Switcher */
.auth-switch-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 13.5px;
  color: var(--text-muted);
}

.btn-text-switch {
  background: none;
  border: none;
  color: var(--text-main);
  font-weight: 700;
  font-size: 13.5px;
  cursor: pointer;
  padding: 0;
  text-decoration: none;
  transition: opacity 0.2s;
}

.btn-text-switch:hover {
  text-decoration: underline;
  opacity: 0.8;
}

/* ==========================================================================
   RIGHT PANE: Autopilot Showcase
   ========================================================================== */
.auth-right-pane {
  flex: 1.15;
  background: var(--bg-right);
  border-left: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px 48px;
  position: relative;
  overflow: hidden;
}

.showcase-content {
  max-width: 580px;
  margin: 0 auto;
}

.showcase-eyebrow {
  font-size: 12.5px;
  font-weight: 800;
  color: #2563eb;
  letter-spacing: 0.08em;
  margin-bottom: 24px;
}

/* Value Bullets List */
.value-bullets-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
}

.value-bullets-list li {
  display: flex;
  align-items: center;
  gap: 12px;
}

.bullet-icon {
  font-size: 15px;
  color: #3b82f6;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bullet-text {
  font-size: 14.5px;
  font-weight: 600;
  color: #334155;
}

/* Angled 3D Calendar Card Container */
.calendar-preview-wrap {
  perspective: 1200px;
}

.calendar-card-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 22px;
  box-shadow: 
    0 20px 40px -15px rgba(15, 23, 42, 0.08),
    0 1px 3px rgba(0, 0, 0, 0.04);
  transform: rotate(-1.5deg) rotateX(4deg) translateY(6px);
  transition: transform 0.3s ease;
}

.calendar-card-box:hover {
  transform: rotate(0deg) rotateX(0deg) translateY(0);
}

.cal-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.cal-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.cal-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #0f172a;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}

.dot-active {
  width: 6px;
  height: 6px;
  background: #10b981;
  border-radius: 50%;
}

/* 5 Days Grid */
.cal-days-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}

.cal-day-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cal-day-name {
  font-size: 10.5px;
  font-weight: 800;
  color: #94a3b8;
  text-align: center;
  margin-bottom: 2px;
}

/* Individual Slot Chips */
.cal-slot-chip {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 6px 8px;
  display: flex;
  gap: 6px;
  align-items: center;
  transition: all 0.15s ease;
}

.cal-slot-chip:hover {
  border-color: #cbd5e1;
  background: #ffffff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

.slot-avatar {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
}

.slot-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.slot-time {
  font-size: 9.5px;
  font-weight: 700;
  color: #0f172a;
}

.slot-badge-posted {
  font-size: 8px;
  font-weight: 800;
  color: #059669;
}

.slot-badge-scheduled {
  font-size: 8px;
  font-weight: 700;
  color: #64748b;
}

.slot-platforms-row {
  display: flex;
  gap: 2px;
}

.p-dot {
  font-size: 7px;
  font-family: var(--font-mono);
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
}

.cal-card-footer {
  text-align: center;
  font-size: 11px;
  color: #94a3b8;
  font-weight: 600;
  margin-top: 4px;
}

/* Responsive */
@media (max-width: 960px) {
  .auth-layout {
    flex-direction: column;
  }

  .auth-right-pane {
    display: none; /* Mobile view prioritizes the clean form */
  }

  .auth-left-pane {
    padding: 32px 20px;
  }
}

/* Multilingual Language Switcher */
.nav-lang-picker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 999px;
  padding: 4px 10px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
  cursor: pointer;
}
.nav-lang-picker:hover,
.nav-lang-picker:focus-within {
  border-color: #0f172a;
  box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.08);
}
.lang-globe-icon {
  font-size: 14px;
  line-height: 1;
  user-select: none;
}
.lang-switch-select {
  appearance: none;
  -webkit-appearance: none;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%230f172a' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 2px center;
  border: none;
  color: #0f172a;
  padding: 2px 16px 2px 0;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  outline: none;
  font-family: inherit;
}

/* Password Eye Toggle */
.password-input-wrapper {
  position: relative;
  width: 100%;
}
.password-input-wrapper input {
  padding-right: 44px;
}
.btn-toggle-password {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 15px;
  cursor: pointer;
  color: #64748b;
  padding: 4px 6px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s, background-color 0.15s;
}
.btn-toggle-password:hover {
  color: #0f172a;
  background-color: #f1f5f9;
}

/* Micro Social Proof / Trust Strip */
.auth-trust-strip {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px dashed #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
}
.auth-stars {
  color: #f59e0b;
  font-size: 13px;
  letter-spacing: 1.5px;
}
.auth-trust-text {
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
}


