:root{--purple:#6251c9;--purple-dark:#4d3cab;--purple-soft:#f1efff;--ink:#172033;--muted:#7f8a9d;--line:#e9edf3;--bg:#f7f8fc;--green:#27a979;--orange:#d8893f;--shadow:0 10px 30px rgba(32,40,72,.06)}
body{-webkit-font-smoothing:antialiased;background:var(--bg)}
aside{width:252px;padding:28px 17px 20px}
.brand{margin:0 12px 34px;letter-spacing:-.6px;color:#20293a}.brand b,.user>b{border-radius:9px;box-shadow:0 5px 12px #6251c933}
.workspace{padding:12px;border-radius:11px;margin-bottom:30px;display:flex;align-items:center}.workspace span{line-height:1.45}.workspace strong{font-weight:600}
nav label{letter-spacing:1.3px;font-weight:700}nav a,footer>a{border-radius:9px;transition:.2s}nav a:hover,footer>a:hover{background:#f8f8fc;color:var(--purple)}
.upgrade{background:linear-gradient(145deg,#f4f1ff,#faf9ff);border:1px solid #e9e4ff;border-radius:11px}.upgrade p{margin:8px 0}
header{background:rgba(255,255,255,.9);padding:0 42px;position:sticky;top:0;z-index:2;backdrop-filter:blur(12px)}header span{color:#c4cbd5}
.page{padding:38px 42px;max-width:1480px}.welcome h1{font-size:29px;letter-spacing:-.5px;margin:8px 0 7px}
.primary{border-radius:8px;padding:12px 17px;box-shadow:0 7px 14px #6251c92b;transition:.2s}.primary:hover{background:var(--purple-dark);transform:translateY(-1px)}
.stats{margin-bottom:21px}.stats article,.card{border-radius:12px;box-shadow:var(--shadow)}.stats article{min-height:150px}.stats article>b{padding:8px;border-radius:8px}.stats h2{font-size:26px;letter-spacing:-.3px}
.card{padding:21px}.card h3{letter-spacing:-.1px}.fleet{gap:48px}.donut{width:138px;height:138px}.donut strong{font-size:28px}
li em{color:#9ba5b4}th{font-weight:700;letter-spacing:.2px}td{padding:14px 9px}
.bars i{border-radius:5px 5px 0 0}.toolbar input{padding:11px 13px;border-radius:8px;outline:0;font:11px 'DM Sans';transition:.2s}.toolbar input:focus,form input:focus{border-color:#bcb3ed;box-shadow:0 0 0 3px #6251c914}.toolbar select{border-radius:8px;background:#fff}
.car{border-radius:10px;transition:.2s}.car:hover{border-color:#d4cdfa;box-shadow:0 8px 20px #34268e0b;transform:translateY(-2px)}.car .photo{height:90px;background:linear-gradient(135deg,#f2f0ff,#f8f8fc);border-radius:8px}
#modal{padding:16px}#modal>div{padding:30px;border-radius:15px;box-shadow:0 20px 60px #17212d33}#modal h2{font-size:24px;margin:8px 0}#close{cursor:pointer}form input{padding:12px;border-radius:8px;outline:0;font:11px 'DM Sans'}#toast{border-radius:9px;box-shadow:0 10px 25px #17212d33}
.quick-row{margin:-8px 0 21px}.quick-row>button{border-radius:8px;transition:.2s}.quick-row>button:hover{background:#fcfbff}.plan-card{border-radius:9px}.module-summary div{border-radius:9px}
.customer-note{display:flex;align-items:center;gap:12px;padding:13px 15px;margin-bottom:18px;background:#f8f7ff;border:1px solid #e8e4ff;border-radius:10px;color:#6b5ac4;font-size:10px}.customer-note span{color:var(--muted)}.customer-toolbar{display:flex;gap:10px;padding-bottom:17px;border-bottom:1px solid var(--line)}.customer-toolbar input{flex:1;padding:11px 13px;border:1px solid var(--line);border-radius:8px;outline:0;font:11px 'DM Sans'}.customer-toolbar select{border:1px solid var(--line);border-radius:8px;padding:0 10px;background:#fff;color:#8895a3}.customer-content table{margin-top:10px}.check-field{display:flex;align-items:center;gap:8px;color:#7f8a9d;font-size:11px;margin:14px 0}.check-field input{width:auto;margin:0}.customer-content mark.orange{font-weight:700}
.page[data-view="dashboard"]{max-width:1380px;padding-top:32px}.page[data-view="dashboard"] .welcome{padding:2px 2px 25px;margin-bottom:0;border-bottom:1px solid #eef0f5}.page[data-view="dashboard"] .welcome p{font-size:12px}.page[data-view="dashboard"] .quick-row{margin:20px 0 24px;padding:0}.page[data-view="dashboard"] .stats{gap:14px;margin-bottom:24px}.page[data-view="dashboard"] .stats article{min-height:144px;padding:17px 19px}.page[data-view="dashboard"] .columns{gap:16px;margin-bottom:16px}.page[data-view="dashboard"] .card{padding:20px 21px}.page[data-view="dashboard"] .card-head{align-items:flex-start}.page[data-view="dashboard"] .card-head p{margin-top:3px}.page[data-view="dashboard"] .lower .card{min-height:315px}.page[data-view="dashboard"] .revenue h2{margin:22px 0 12px}.page[data-view="dashboard"] table{margin-top:20px}.page[data-view="dashboard"] td{padding-top:13px;padding-bottom:13px}
@media(max-width:900px){.page[data-view="dashboard"]{padding-top:26px}.page[data-view="dashboard"] .quick-row{flex-wrap:wrap}.page[data-view="dashboard"] .plan-card{margin-left:0;flex:1;min-width:240px}}
@media(max-width:650px){.page[data-view="dashboard"]{padding-top:22px}.page[data-view="dashboard"] .welcome{padding-bottom:20px}.page[data-view="dashboard"] .quick-row{margin:16px 0 20px}.page[data-view="dashboard"] .stats{margin-bottom:16px}.page[data-view="dashboard"] .columns{gap:14px;margin-bottom:14px}.page[data-view="dashboard"] .card{padding:17px}.page[data-view="dashboard"] .lower .card{min-height:0}.page[data-view="dashboard"] .fleet{height:165px}.page[data-view="dashboard"] .donut{width:120px;height:120px}.page[data-view="dashboard"] .legend{font-size:10px}.page[data-view="dashboard"] .table-wrap{margin:0 -4px}}
@media(max-width:900px){aside{width:220px}}
@media(max-width:650px){aside{left:-252px}#menu{cursor:pointer}}

/* ══════════════════════════════════════════════════
   AUTHENTICATION & LANDING PAGE — Light Mode Apple/Stripe Style
   ══════════════════════════════════════════════════ */

/* ── Base overlay ── */
.auth-overlay {
  position: fixed; inset: 0; z-index: 99999;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(180deg, #ff00d6 0%, #ff5c00 50%, #610094 100%);
  font-family: 'DM Sans', sans-serif;
  overflow: hidden;
}

/* ══ MOBILE-FIRST COLUMN CONTAINER ══ */
.auth-view {
  position: absolute; inset: 0;
  max-width: 410px;
  width: 100%;
  margin: 0 auto;
  display: flex; flex-direction: column;
  padding: 40px 24px 30px;
  overflow-y: auto; overflow-x: hidden;
  box-sizing: border-box;
  background: transparent;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.45s ease;
  scrollbar-width: none;
}
.auth-view::-webkit-scrollbar { display: none; }

/* Horizontal Slide Logic */
.auth-view.slide-left {
  transform: translateX(-100%);
  opacity: 0;
}
.auth-view.slide-right {
  transform: translateX(100%);
  opacity: 0;
}
.auth-view.active {
  transform: translateX(0);
  opacity: 1;
  z-index: 10;
}

/* ── ONBOARDING SCREEN (White on Gradient Theme) ── */
#onboardingView {
  justify-content: space-between;
  align-items: center;
  text-align: center;
  background: transparent;
}
.app-brand {
  display: flex; align-items: center; gap: 8px;
  margin-top: 24px;
  font: 700 24px 'Outfit', sans-serif;
  color: #ffffff;
}
.app-brand-icon {
  width: 38px; height: 38px; border-radius: 10px;
  background: rgba(255, 255, 255, 0.2);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  display: grid; place-items: center; color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.onboarding-carousel {
  flex: 1; display: flex; flex-direction: column; justify-content: center;
  width: 100%; margin: 24px 0;
}
.onboarding-slides {
  position: relative; height: 260px; overflow: hidden; width: 100%;
}
.onboarding-slide {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.4s ease, transform 0.4s ease;
  transform: scale(0.95); pointer-events: none;
}
.onboarding-slide.active {
  opacity: 1; transform: scale(1); pointer-events: auto;
}
.onboarding-slide h3 {
  margin: 18px 0 8px;
  font: 700 18px 'Outfit', sans-serif; color: #ffffff; letter-spacing: -0.3px;
}
.onboarding-slide p {
  font-size: 12.5px; color: rgba(255, 255, 255, 0.85); line-height: 1.5; margin: 0;
  padding: 0 12px;
}

/* Onboarding Illustrations */
.slide-illustration {
  position: relative; width: 120px; height: 120px;
  display: grid; place-items: center;
}
.ill-circle {
  position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
  animation: pulseGlow 3s infinite ease-in-out;
}
.ill-circle.purple-theme { background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%); }
.ill-circle.green-theme { background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%); }

@keyframes pulseGlow {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.15); opacity: 1; }
}

.ill-car, .ill-calendar, .ill-wallet {
  position: relative; z-index: 2;
  filter: drop-shadow(0 8px 16px rgba(255, 255, 255, 0.15));
  animation: floatIllustration 4s ease-in-out infinite;
}
.ill-calendar { filter: drop-shadow(0 8px 16px rgba(255, 255, 255, 0.15)); }
.ill-wallet { filter: drop-shadow(0 8px 16px rgba(255, 255, 255, 0.15)); }

@keyframes floatIllustration {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.carousel-dots {
  display: flex; justify-content: center; gap: 6px; margin-top: 16px;
}
.carousel-dots .dot {
  width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, 0.4);
  cursor: pointer; transition: all 0.25s ease;
}
.carousel-dots .dot.active {
  width: 18px; border-radius: 4px; background: #ffffff;
}

/* Actions */
.onboarding-actions {
  width: 100%; display: flex; flex-direction: column; gap: 10px;
}
.btn-primary {
  width: 100%; padding: 13px; border-radius: 12px; border: 0;
  background: #ffffff;
  color: #610094; font: 700 13.5px 'DM Sans', sans-serif;
  cursor: pointer; transition: all 0.2s;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.btn-primary:hover {
  background: #f3f4f6;
  transform: translateY(-0.5px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}
.btn-primary:active { transform: translateY(0) scale(0.98); }

.btn-secondary {
  width: 100%; padding: 13px; border-radius: 12px; border: 1.5px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.15); color: #ffffff; font: 600 13.5px 'DM Sans', sans-serif;
  cursor: pointer; transition: all 0.2s;
}
.btn-secondary:hover { background: rgba(255, 255, 255, 0.25); border-color: rgba(255, 255, 255, 0.5); }
.btn-secondary:active { transform: scale(0.98); }

.onboarding-footer {
  font-size: 10px; color: rgba(255, 255, 255, 0.6); margin-top: 14px;
}

/* ══ RENTALINDO LAYOUT (LOGIN / REGISTER) ══ */
.avatar-container {
  margin-top: 36px; margin-bottom: 24px;
  display: flex; justify-content: center;
}
.app-avatar-svg {
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
  animation: avatarPulse 4s ease-in-out infinite;
}

@keyframes avatarPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}

/* Floating back button */
.btn-back-floating {
  position: absolute; top: 12px; left: 16px;
  width: 32px; height: 32px; border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, 0.18); color: #ffffff;
  display: grid; place-items: center; font-size: 16px; font-weight: bold;
  cursor: pointer; z-index: 100; transition: all 0.2s;
}
.btn-back-floating:hover {
  background: rgba(255, 255, 255, 0.3);
}
.btn-back-floating:active {
  transform: scale(0.92);
}

/* Rounded White Input box */
.rentalindo-input {
  box-sizing: border-box;
  background: #ffffff;
  border-radius: 14px;
  height: 56px;
  display: flex; align-items: center;
  padding: 0 16px;
  margin-bottom: 15px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  border: 2px solid transparent;
  transition: all 0.2s ease;
}
.rentalindo-input:focus-within {
  border-color: #ffd54f;
  box-shadow: 0 4px 20px rgba(255, 213, 79, 0.2);
}
.rentalindo-input input {
  box-sizing: border-box;
  border: 0; background: transparent;
  flex: 1; outline: none;
  font-size: 14.5px; color: #1f2937;
  padding: 0;
  font-weight: 500;
}
.rentalindo-input input::placeholder {
  color: #9ca3af;
  font-weight: 400;
}

/* Icons */
.rentalindo-icon-circle {
  width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center;
  margin-right: 12px; flex-shrink: 0;
}
.rentalindo-icon-circle.blue-theme {
  background: #03a9f4;
  box-shadow: 0 2px 6px rgba(3, 169, 244, 0.3);
}
.rentalindo-icon-direct {
  width: 30px; height: 30px;
  display: grid; place-items: center;
  margin-right: 12px; flex-shrink: 0;
}

/* Toggles & elements */
.rentalindo-eye-toggle {
  border: 0; background: transparent;
  color: #9ca3af; cursor: pointer;
  display: grid; place-items: center;
  padding: 5px; margin-left: 8px;
}
.rentalindo-eye-toggle:hover {
  color: #4b5563;
}

/* Submit button magenta */
.rentalindo-btn-submit {
  width: 100%; height: 50px;
  background: #ff00ff;
  border: 0; border-radius: 12px;
  color: #ffffff; font-size: 16px; font-weight: 700;
  letter-spacing: 1px; cursor: pointer;
  transition: all 0.25s;
  box-shadow: 0 4px 18px rgba(255, 0, 255, 0.4);
  margin-top: 8px;
  display: flex; align-items: center; justify-content: center;
}
.rentalindo-btn-submit:hover {
  background: #e600e6;
  box-shadow: 0 6px 24px rgba(255, 0, 255, 0.55);
  transform: translateY(-0.5px);
}
.rentalindo-btn-submit:active {
  transform: scale(0.97);
}

.auth-switch-link-white {
  text-align: center; margin-top: 18px;
  font-size: 12.5px; color: rgba(255, 255, 255, 0.9);
}
.auth-switch-link-white strong {
  color: #ffffff; text-decoration: underline; cursor: pointer;
  font-weight: 700; transition: opacity 0.2s;
}
.auth-switch-link-white strong:hover {
  opacity: 0.8;
}

/* Footer brand at bottom left */
.rentalindo-footer-brand {
  margin-top: auto;
  display: flex; align-items: center; gap: 12px;
  text-align: left; width: 100%;
  justify-content: flex-start;
  padding-top: 20px;
  user-select: none;
}
.rentalindo-car-logo {
  flex-shrink: 0;
  filter: drop-shadow(0 3px 8px rgba(0,0,0,0.15));
}
.rentalindo-brand-text {
  display: flex; flex-direction: column;
}
.rentalindo-brand-text h4 {
  margin: 0; font-family: 'Outfit', sans-serif;
  font-size: 16px; font-weight: 700; color: #ffffff;
  letter-spacing: -0.3px; line-height: 1.1;
}
.rentalindo-brand-text p {
  margin: 2px 0 0; font-size: 9px; font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.1px; line-height: 1.2;
}

/* Register form header */
.app-header-white {
  margin-bottom: 20px;
  margin-top: 24px;
}
.app-header-white h2 {
  margin: 0; font: 700 20px 'Outfit', sans-serif; color: #ffffff; letter-spacing: -0.4px;
}
.app-header-white p {
  margin: 4px 0 0; font-size: 12px; color: rgba(255, 255, 255, 0.85);
}

.auth-check-white {
  display: flex !important; align-items: flex-start; gap: 8px; margin: 12px 0 !important;
  font-size: 11px !important; color: rgba(255, 255, 255, 0.9) !important; cursor: pointer; text-transform: none !important;
  font-weight: 500 !important; letter-spacing: 0 !important; line-height: 1.4;
}
.auth-check-white input {
  width: 14px !important; height: 14px !important; margin: 2px 0 0 !important; accent-color: #ff00ff;
}


/* ══ RESPONSIVE VIEW (MOBILE-FIRST SCALE) ══ */
@media (max-width: 520px) {
  .auth-overlay {
    padding: 0;
    background: #fcfdff;
  }
  .phone-mockup {
    width: 100vw; height: 100vh;
    border: none; border-radius: 0;
    box-shadow: none;
  }
  .phone-notch, .phone-status-bar, .phone-home-indicator {
    display: none;
  }
  .phone-screen {
    border-radius: 0;
  }
  .auth-view {
    padding: 36px 20px 24px;
  }
  .app-brand { margin-top: 12px; }
}

@media (max-height: 700px) and (min-width: 521px) {
  .phone-mockup {
    transform: scale(0.85);
    transform-origin: center center;
  }
}


/* Clean operational workflow pages */
.workflow-page{max-width:1120px;padding-top:32px}
.workflow-page .welcome{padding:0 2px 22px;margin-bottom:22px;border-bottom:1px solid #eef0f5}
.workflow-page .welcome h1{font-size:28px}
.workflow-host{max-width:760px;margin:0 auto;padding:28px 30px;border-radius:16px;box-shadow:0 14px 38px rgba(32,40,72,.07)}
.workflow-panel{position:relative!important;inset:auto!important;width:100%!important;max-width:none!important;display:block!important;padding:0!important;background:transparent!important;box-shadow:none!important;border-radius:0!important;text-align:left!important}
.workflow-panel>button:first-child{display:grid;position:absolute;top:0;right:0;width:32px;height:32px;place-items:center;padding:0;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--muted);font-size:20px;line-height:1;cursor:pointer;z-index:2}
.workflow-panel>button:first-child:hover{color:var(--purple);border-color:#cfc7f7;background:var(--purple-soft)}
.workflow-panel h2{margin:5px 0 7px!important;font-size:22px!important}
.workflow-panel>p{margin-bottom:22px!important;line-height:1.6}
.workflow-panel form{max-width:none!important}
.workflow-panel form input,.workflow-panel form select{background:#fbfcfe;transition:.2s}
.workflow-panel form input:focus,.workflow-panel form select:focus{background:#fff}
.workflow-panel .primary{margin-top:14px}
.workflow-page .card{border-color:#edf0f5}
@media(max-width:650px){.workflow-page{padding-top:22px}.workflow-host{padding:21px 17px}.workflow-page .welcome h1{font-size:24px}}
.booking-dates{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:14px}
.booking-dates>div{min-width:0}
.booking-dates label{display:block;margin:0 0 5px;font-size:10px;font-weight:700;color:var(--muted)}
.booking-dates input{margin:0;width:100%}
.duration-summary{margin-top:12px;padding:10px 12px;border:1px solid #e9e5ff;border-radius:8px;background:#f8f7ff;color:var(--muted);font-size:11px}
.duration-summary strong{color:var(--purple)}
@media(max-width:520px){.booking-dates{grid-template-columns:1fr}}