/* tokens.css */
:root {
--dride-brand-50: #f0f7ff;
--dride-brand-100: #e0effe;
--dride-brand-200: #bae0fd;
--dride-brand-300: #7cc5fb;
--dride-brand-400: #38a4f8;
--dride-brand-500: #1768e5;
--dride-brand-600: #1256bf;
--dride-brand-700: #0e4396;
--dride-brand-800: #0a3374;
--dride-brand-900: #07224f;
--dride-brand-soft: rgba(23, 104, 229, 0.09);
--dride-brand-soft-hover: rgba(23, 104, 229, 0.16);
--dride-brand-glow: 0 8px 24px -4px rgba(23, 104, 229, 0.32);
--dride-brand-gradient: linear-gradient(135deg, #1768e5 0%, #0d52bc 100%);
--dride-brand-gradient-hover: linear-gradient(135deg, #1971f8 0%, #1157c7 100%);
--dride-success-50: #ecfdf5;
--dride-success-100: #d1fae5;
--dride-success-500: #10b981;
--dride-success-600: #059669;
--dride-success-soft: rgba(16, 185, 129, 0.12);
--dride-warning-50: #fffbeb;
--dride-warning-100: #fef3c7;
--dride-warning-500: #f59e0b;
--dride-warning-600: #d97706;
--dride-warning-soft: rgba(245, 158, 11, 0.12);
--dride-danger-50: #fef2f2;
--dride-danger-100: #fee2e2;
--dride-danger-500: #ef4444;
--dride-danger-600: #dc2626;
--dride-danger-soft: rgba(239, 68, 68, 0.12);
--dride-info-50: #f0f9ff;
--dride-info-100: #e0f2fe;
--dride-info-500: #0ea5e9;
--dride-info-600: #0284c7;
--dride-info-soft: rgba(14, 165, 233, 0.12);
--dride-slate-50: #f8fafc;
--dride-slate-100: #f1f5f9;
--dride-slate-200: #e2e8f0;
--dride-slate-300: #cbd5e1;
--dride-slate-400: #94a3b8;
--dride-slate-500: #64748b;
--dride-slate-600: #475569;
--dride-slate-700: #334155;
--dride-slate-800: #1e293b;
--dride-slate-900: #0f172a;
--dride-canvas: #f6f9fc;
--dride-surface: #ffffff;
--dride-border: #e2e8f0;
--dride-border-subtle: #edf2f7;
--dride-text: #0f172a;
--dride-text-muted: #64748b;
--dride-text-subtle: #94a3b8;
--dride-font-sans: 'Be Vietnam Pro', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
--dride-font-display: 'Plus Jakarta Sans', 'Be Vietnam Pro', system-ui, -apple-system, sans-serif;
--space-1: 4px;
--space-2: 8px;
--space-3: 12px;
--space-4: 16px;
--space-5: 20px;
--space-6: 24px;
--space-8: 32px;
--space-10: 40px;
--space-12: 48px;
--space-16: 64px;
--shadow-subtle: 0 1px 3px rgba(15, 23, 42, 0.04), 0 1px 2px rgba(15, 23, 42, 0.02);
--shadow-card: 0 4px 16px -2px rgba(15, 23, 42, 0.06), 0 2px 4px -1px rgba(15, 23, 42, 0.03);
--shadow-hover: 0 12px 28px -4px rgba(15, 23, 42, 0.1), 0 4px 10px -2px rgba(15, 23, 42, 0.04);
--shadow-float: 0 18px 40px -6px rgba(15, 23, 42, 0.12), 0 6px 14px -2px rgba(15, 23, 42, 0.05);
--shadow-modal: 0 28px 65px -10px rgba(15, 23, 42, 0.22);
--radius-xs: 6px;
--radius-sm: 8px;
--radius-md: 12px;
--radius-lg: 18px;
--radius-xl: 24px;
--radius-2xl: 30px;
--radius-full: 9999px;
--dride-ease: cubic-bezier(0.16, 1, 0.3, 1);
--transition-fast: 140ms cubic-bezier(0.16, 1, 0.3, 1);
--transition-base: 200ms cubic-bezier(0.16, 1, 0.3, 1);
--transition-smooth: 300ms cubic-bezier(0.16, 1, 0.3, 1);
--color-primary: var(--dride-brand-500);
--color-primary-dark: var(--dride-brand-600);
--color-ink: var(--dride-text);
--color-muted: var(--dride-text-muted);
--color-line: var(--dride-border);
--color-surface: var(--dride-surface);
--color-canvas: var(--dride-canvas);
--dride-primary: var(--dride-brand-500);
--dride-primary-hover: var(--dride-brand-600);
--dride-primary-soft: var(--dride-brand-soft);
--dride-accent: var(--dride-success-500);
}
.btn--primary,
.btn-primary {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 8px;
font-family: var(--dride-font-sans);
font-weight: 600;
font-size: 0.9375rem;
line-height: 1.4;
padding: 10px 20px;
border-radius: var(--radius-md);
border: 1px solid transparent;
text-decoration: none;
cursor: pointer;
touch-action: manipulation;
transition: transform var(--transition-base), opacity var(--transition-base), background-color var(--transition-base), border-color var(--transition-base), color var(--transition-base), box-shadow var(--transition-base);
}
.btn--primary{
background: var(--dride-brand-gradient) !important;
color: #ffffff !important;
border-color: transparent !important;
box-shadow: 0 4px 14px rgba(23, 104, 229, 0.28) !important;
}
.btn--primary:hover{
background: var(--dride-brand-gradient-hover) !important;
color: #ffffff !important;
transform: translateY(-1.5px);
box-shadow: 0 8px 22px rgba(23, 104, 229, 0.38) !important;
}
.btn--primary:active{
transform: translateY(0);
box-shadow: 0 2px 8px rgba(23, 104, 229, 0.25) !important;
}
.btn--outline {
background: transparent;
color: var(--dride-text);
border: 1px solid var(--dride-border);
}
.btn--outline:hover {
background: var(--dride-slate-50);
border-color: var(--dride-slate-300);
}
.badge-status {
display: inline-flex;
align-items: center;
gap: 6px;
padding: 4px 10px;
font-size: 0.775rem;
font-weight: 650;
border-radius: var(--radius-full);
line-height: 1.25;
letter-spacing: 0.015em;
white-space: nowrap;
}
.badge-status i {
font-size: 0.7rem;
}
.badge-status--pending{
background-color: var(--dride-warning-50);
color: var(--dride-warning-700);
border: 1px solid rgba(245, 158, 11, 0.25);
}
@keyframes shimmer {
0% {
background-position: 200% 0;
}
100% {
background-position: -200% 0;
}
}
/* app.css */
:root {
--color-primary: var(--dride-brand-500, #1768e5);
--color-primary-dark: var(--dride-brand-600, #1256bf);
--color-ink: var(--dride-text, #0f172a);
--color-muted: var(--dride-text-muted, #64748b);
--color-line: var(--dride-border, #e2e8f0);
--color-surface: var(--dride-surface, #ffffff);
--color-canvas: var(--dride-canvas, #f6f9fc);
--shadow-soft: var(--shadow-hover, 0 14px 35px rgba(23, 104, 229, 0.08));
--radius-lg: var(--radius-2xl, 28px);
--radius-md: var(--radius-lg, 18px);
--transition: var(--transition-base, 180ms ease);
}
* {
box-sizing: border-box;
}
html {
scroll-behavior: smooth;
}
html {
scrollbar-width: thin;
scrollbar-color: #cbd5e1 #ffffff;
}
*::-webkit-scrollbar {
width: 10px;
height: 10px;
}
*::-webkit-scrollbar-track {
background: #ffffff;
}
*::-webkit-scrollbar-thumb {
min-height: 42px;
border: 2px solid #ffffff;
border-radius: 999px;
background: #cbd5e1;
}
*::-webkit-scrollbar-thumb:hover {
background: #94a3b8;
}
*::-webkit-scrollbar-corner {
background: #ffffff;
}
body {
margin: 0;
background: var(--color-canvas);
color: var(--color-ink);
font-family:
'Be Vietnam Pro',
'Plus Jakarta Sans',
Inter,
ui-sans-serif,
system-ui,
-apple-system,
sans-serif;
-webkit-font-smoothing: antialiased;
}
.app-loader {
position: fixed;
z-index: 2000;
inset: 0;
display: grid;
place-items: center;
background: #e9f5ff;
opacity: 1;
visibility: visible;
transition:
opacity 220ms ease,
visibility 220ms ease;
}
.app-loader--hidden {
opacity: 0;
visibility: hidden;
pointer-events: none;
}
.app-loader__brand {
display: flex;
align-items: center;
flex-direction: column;
color: var(--color-ink);
}
.app-loader__mark {
display: grid;
width: 92px;
height: 92px;
place-items: center;
border-radius: 25px;
background: #fff;
box-shadow: 0 20px 45px rgba(24, 92, 173, 0.15);
}
.app-loader__mark img {
width: 68px;
height: 68px;
object-fit: contain;
}
.app-loader__brand strong {
margin-top: 20px;
font-size: 1.65rem;
letter-spacing: -0.04em;
}
.app-loader__brand > span:not(.app-loader__mark):not(.app-loader__dots) {
margin-top: 3px;
color: var(--color-primary);
font-size: 0.72rem;
font-weight: 850;
letter-spacing: 0.16em;
}
.app-loader__dots {
display: flex;
gap: 8px;
margin-top: 30px;
}
.app-loader__dots i {
display: block;
width: 11px;
height: 11px;
border-radius: 50%;
background: var(--color-primary);
animation: loader-pulse 900ms infinite alternate ease-in-out;
}
.app-loader__dots i:nth-child(2) {
animation-delay: 160ms;
}
.app-loader__dots i:nth-child(3) {
animation-delay: 320ms;
}
@keyframes loader-pulse {
from {
opacity: 0.28;
transform: scale(0.78);
}
to {
opacity: 1;
transform: scale(1);
}
}
a {
color: inherit;
}
:is(a, button),
:is(a, button):is(:hover, :focus, :active) {
text-decoration: none !important;
}
.skip-link {
position: fixed;
z-index: 1100;
top: 12px;
left: 12px;
padding: 10px 16px;
border-radius: 10px;
background: var(--color-ink);
color: #fff;
transform: translateY(-150%);
}
.skip-link:focus {
transform: translateY(0);
}
.site-header {
position: sticky;
z-index: 1000;
top: 0;
padding: 8px 0;
border-bottom: 1px solid rgba(219, 229, 242, 0.75);
background: rgba(245, 248, 252, 0.88);
}
.site-header::before {
content: '';
position: absolute;
inset: 0;
z-index: -1;
backdrop-filter: blur(14px);
-webkit-backdrop-filter: blur(14px);
pointer-events: none;
}
.has-auth-view .site-header::before {
display: none;
}
.site-header .navbar {
min-height: 62px;
padding: 6px 14px 6px 16px;
border: 1px solid rgba(207, 220, 237, 0.9);
border-radius: 22px;
background: rgba(255, 255, 255, 0.94);
box-shadow: 0 8px 26px rgba(35, 70, 116, 0.08);
}
.site-header .container-xl {
max-width: 1580px;
}
.site-header .brand {
flex: 0 0 auto;
margin-right: 12px;
}
.site-header .brand__copy {
min-width: 155px;
}
@media (max-width: 1399.98px) {
.site-header .brand {
margin-right: 8px;
}
.site-header .brand__copy {
min-width: 145px;
}
.navbar .nav-link {
padding-inline: 9px !important;
}
}
@media (min-width: 1400px) {
.site-header .container-xl {
width: min(calc(100% - 64px), 1400px) !important;
max-width: 1400px !important;
margin-inline: auto;
padding-inline: 0;
}
}
.brand {
display: inline-flex;
align-items: center;
gap: 11px;
text-decoration: none;
}
.brand__mark {
display: grid;
width: 42px;
height: 42px;
place-items: center;
border: 1px solid #d8e7fb;
border-radius: 13px;
background: #f8fbff;
}
.brand__mark img {
width: 30px;
height: 30px;
object-fit: contain;
}
.brand__copy {
display: flex;
flex-direction: column;
line-height: 1;
}
.brand__copy strong {
font-size: 1.2rem;
letter-spacing: -0.04em;
}
.brand__copy small {
margin-top: 6px;
color: var(--color-primary);
font-size: 0.6rem;
font-weight: 800;
letter-spacing: 0.15em;
}
.navbar-nav {
gap: 6px;
align-items: center;
}
.navbar .nav-link {
position: relative;
padding: 8px 14px !important;
border-radius: 9px;
color: #475569;
font-size: 0.88rem;
font-weight: 600;
transition:
color 0.15s ease,
background-color 0.15s ease;
}
.navbar .nav-link i {
margin-right: 5px;
font-size: 0.82rem;
color: #64748b;
transition: color 0.15s ease;
}
.navbar .nav-link:hover,
.navbar .nav-link:focus-visible {
color: var(--color-primary);
background: rgba(9, 105, 237, 0.06);
}
.navbar .nav-link:hover i {
color: var(--color-primary);
}
.navbar .nav-link.active {
color: var(--color-primary);
background: transparent;
font-weight: 700;
}
.navbar .nav-link.active i {
color: var(--color-primary);
}
.navbar .nav-link.active::after {
content: '';
position: absolute;
bottom: -2px;
left: 12px;
right: 12px;
height: 2.5px;
border-radius: 999px;
background: var(--color-primary);
}
.navbar .nav-item--action:first-of-type {
margin-left: 8px;
}
.navbar .nav-link--location {
height: 40px;
min-height: 40px;
display: inline-flex;
align-items: center;
justify-content: center;
border: 1px solid #dbeafe;
border-radius: 999px;
background: #f0f7ff;
color: #1e293b;
font-weight: 600;
font-size: 0.86rem;
padding: 0 16px;
white-space: nowrap;
cursor: pointer;
transition: transform 180ms ease, opacity 180ms ease, background-color 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
box-shadow: 0 1px 3px rgba(37, 99, 235, 0.06);
}
.navbar .nav-link--location:hover {
background: #e0f2fe;
border-color: #93c5fd;
color: var(--color-primary);
transform: translateY(-1px);
}
.navbar .nav-link--location i {
color: #2563eb;
margin-right: 6px;
font-size: 0.88rem;
}
.navbar .nav-link--location.nav-link--location-pending {
background: #eff6ff;
border-color: #93c5fd;
color: #0284c7;
animation: dridePulsePill 2.5s infinite;
}
.navbar .nav-link--location.nav-link--location-active {
background: #f0f7ff;
border-color: #dbeafe;
color: #1e293b;
}
.navbar .nav-link--location.nav-link--tracking-active {
position: relative;
padding-right: 28px;
border-color: #86efac;
background: #f0fdf4;
}
.navbar .nav-link--location.nav-link--tracking-active::after {
content: '';
position: absolute;
top: 50%;
right: 10px;
transform: translateY(-50%);
width: 8px;
height: 8px;
border-radius: 50%;
background: #16a34a;
box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.7);
animation: drideGpsPulseGlow 2s infinite;
}
@keyframes drideGpsPulseGlow {
0% {
box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.7);
}
70% {
box-shadow: 0 0 0 6px rgba(22, 163, 74, 0);
}
100% {
box-shadow: 0 0 0 0 rgba(22, 163, 74, 0);
}
}
@keyframes dridePulsePill {
0%,
100% {
box-shadow: 0 1px 3px rgba(37, 99, 235, 0.08);
}
50% {
box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.16);
border-color: #38bdf8;
}
}
.navbar-toggler {
border: 0;
box-shadow: none !important;
}
.nav-item--action {
position: relative;
}
.nav-btn--notification {
width: 40px;
height: 40px;
border-radius: 50%;
border: 1px solid #dce8f6;
background: #f0f7ff;
color: #334155;
display: inline-flex;
align-items: center;
justify-content: center;
position: relative;
cursor: pointer;
transition: transform 180ms ease, opacity 180ms ease, background-color 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
font-size: 1.05rem;
}
.nav-btn--notification:hover,
.nav-btn--notification:focus-visible {
border-color: var(--color-primary);
background: #e4f0fc;
color: var(--color-primary);
}
.notification-badge {
position: absolute;
top: -2px;
right: -2px;
min-width: 18px;
height: 18px;
padding: 0 4px;
border-radius: 999px;
background: #ef4444;
color: #ffffff;
font-size: 10.5px;
font-weight: 800;
line-height: 1;
display: flex;
align-items: center;
justify-content: center;
border: 2px solid #ffffff;
box-shadow: 0 2px 6px rgba(239, 68, 68, 0.45);
}
.user-pill-btn {
height: 40px;
min-height: 40px;
display: inline-flex;
align-items: center;
gap: 9px;
padding: 3px 14px 3px 5px;
border: 1px solid #dce8f6;
border-radius: 999px;
background: #ffffff;
color: #1e293b;
cursor: pointer;
user-select: none;
transition: transform 180ms ease, opacity 180ms ease, background-color 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
font-family: inherit;
}
.user-pill-btn:hover,
.user-pill-btn:focus-visible {
border-color: var(--color-primary);
background: #f8fbff;
}
.user-avatar-initials {
width: 32px;
height: 32px;
border-radius: 50%;
background: #2563eb;
color: #ffffff;
font-size: 13px;
font-weight: 750;
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
box-shadow: 0 2px 6px rgba(37, 99, 235, 0.32);
letter-spacing: 0.02em;
text-transform: uppercase;
}
.user-pill-name {
font-size: 14px;
font-weight: 700;
color: #0f172a;
max-width: 170px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.user-pill-chevron {
font-size: 11px;
color: #64748b;
margin-left: 2px;
transition: transform 200ms ease;
}
.user-pill-btn[aria-expanded='true'] .user-pill-chevron {
transform: rotate(180deg);
}
.user-dropdown-menu {
position: absolute;
top: calc(100% + 8px);
right: 0;
width: 250px;
background: #ffffff;
border-radius: 18px;
border: 1px solid #e2e8f0;
box-shadow:
0 16px 40px rgba(15, 23, 42, 0.12),
0 4px 12px rgba(15, 23, 42, 0.05);
padding: 14px 0 10px;
z-index: 1100;
animation: dropdownFadeIn 180ms cubic-bezier(0.16, 1, 0.3, 1);
}
.user-dropdown-header {
padding: 2px 18px 10px;
}
.user-dropdown-name {
display: block;
font-size: 15px;
font-weight: 800;
color: #0f172a;
margin-bottom: 2px;
}
.user-dropdown-email {
display: block;
font-size: 12px;
color: #64748b;
word-break: break-all;
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}
.user-dropdown-divider {
height: 1px;
background: #f1f5f9;
margin: 6px 0;
}
.user-dropdown-list {
list-style: none;
padding: 0;
margin: 0;
}
.user-dropdown-item {
display: flex;
align-items: center;
gap: 12px;
padding: 10px 18px;
color: #1e293b;
font-size: 14px;
font-weight: 650;
text-decoration: none;
width: 100%;
border: 0;
background: transparent;
text-align: left;
cursor: pointer;
transition:
background 150ms ease,
color 150ms ease;
font-family: inherit;
}
.user-dropdown-item:hover,
.user-dropdown-item:focus-visible {
background: #f1f7ff;
color: var(--color-primary);
}
.user-dropdown-item .user-item-icon {
font-size: 16px;
width: 20px;
text-align: center;
color: #2563eb;
}
.user-dropdown-item--logout {
color: #dc2626 !important;
font-weight: 700;
}
.user-dropdown-item--logout .fa-arrow-right-from-bracket {
color: #dc2626 !important;
font-size: 16px;
width: 20px;
text-align: center;
}
.user-dropdown-item--logout:hover {
background: #fef2f2 !important;
color: #b91c1c !important;
}
.notification-dropdown {
position: absolute;
top: calc(100% + 8px);
right: 0;
width: 320px;
background: #ffffff;
border-radius: 18px;
border: 1px solid #e2e8f0;
box-shadow:
0 16px 40px rgba(15, 23, 42, 0.12),
0 4px 12px rgba(15, 23, 42, 0.05);
z-index: 1100;
overflow: hidden;
animation: dropdownFadeIn 180ms cubic-bezier(0.16, 1, 0.3, 1);
}
.notification-dropdown__header {
padding: 14px 18px;
display: flex;
align-items: center;
justify-content: space-between;
border-bottom: 1px solid #f1f5f9;
background: #fafcff;
}
.notification-dropdown__header strong {
font-size: 14.5px;
font-weight: 800;
color: #0f172a;
}
.notification-pill {
padding: 2px 8px;
border-radius: 999px;
background: #eff6ff;
color: var(--color-primary);
font-size: 11px;
font-weight: 750;
}
.notification-dropdown__body {
max-height: 360px;
overflow-y: auto;
}
.notification-item {
display: flex;
align-items: flex-start;
gap: 12px;
padding: 12px 18px;
text-decoration: none;
border-bottom: 1px solid #f8fafc;
transition: background 150ms ease;
color: inherit;
}
.notification-item:hover {
background: #f8fbff;
}
.notification-item.unread {
background: #fdfefe;
}
.notification-item__icon {
width: 34px;
height: 34px;
border-radius: 10px;
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
font-size: 14px;
}
.notification-item__icon.icon--blue {
background: #eff6ff;
color: #2563eb;
}
.notification-item__icon.icon--green {
background: #f0fdf4;
color: #16a34a;
}
.notification-item__icon.icon--orange {
background: #fff7ed;
color: #ea580c;
}
.notification-item__icon.icon--purple {
background: #faf5ff;
color: #9333ea;
}
.notification-item__icon.icon--red {
background: #fef2f2;
color: #dc2626;
}
.notification-item__icon.icon--teal {
background: #f0fdfa;
color: #0d9488;
}
.notification-item__text {
flex: 1;
min-width: 0;
}
.notification-item__title-row {
display: flex;
align-items: center;
justify-content: space-between;
gap: 8px;
margin-bottom: 2px;
}
.notification-item__title-row strong {
font-size: 13px;
font-weight: 700;
color: #0f172a;
line-height: 1.3;
margin: 0;
}
.notification-item__unread-dot {
width: 7px;
height: 7px;
border-radius: 50%;
background: var(--color-primary);
flex-shrink: 0;
box-shadow: 0 0 0 2px rgba(23, 104, 229, 0.2);
}
.notification-item__text small {
display: block;
font-size: 12px;
color: #64748b;
line-height: 1.4;
word-break: break-word;
}
.notification-item__time {
display: block;
font-size: 11px;
color: #94a3b8;
margin-top: 4px;
font-weight: 500;
}
.btn-notif-action {
background: none;
border: none;
padding: 5px 8px;
border-radius: 8px;
color: #64748b;
font-size: 12px;
cursor: pointer;
transition: transform 0.15s ease, opacity 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
display: inline-flex;
align-items: center;
gap: 4px;
}
.btn-notif-action:hover {
background: #e2e8f0;
color: var(--color-primary);
}
.notification-dropdown__footer {
padding: 9px 18px;
border-top: 1px solid #f1f5f9;
background: #fafcff;
display: flex;
align-items: center;
justify-content: center;
}
.btn-notif-clear {
background: none;
border: none;
color: #94a3b8;
font-size: 11.5px;
font-weight: 600;
cursor: pointer;
transition: color 0.15s ease;
display: inline-flex;
align-items: center;
gap: 5px;
}
.btn-notif-clear:hover {
color: #ef4444;
}
.notification-empty {
padding: 34px 20px;
text-align: center;
color: #94a3b8;
}
.notification-empty i {
font-size: 32px;
margin-bottom: 10px;
display: block;
opacity: 0.55;
color: #94a3b8;
}
.notification-empty strong {
display: block;
font-size: 13.5px;
color: #475569;
margin-bottom: 4px;
font-weight: 700;
}
.notification-empty small {
display: block;
font-size: 12px;
color: #94a3b8;
line-height: 1.4;
}
@keyframes dropdownFadeIn {
from {
opacity: 0;
transform: translateY(-8px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.site-main {
min-height: 60vh;
outline: 0;
}
.eyebrow {
margin: 0 0 13px;
color: var(--color-primary);
font-size: 0.78rem;
font-weight: 850;
letter-spacing: 0.13em;
}
.button {
display: inline-flex;
min-height: 44px;
align-items: center;
justify-content: center;
gap: 10px;
padding: 0 19px;
border: 1px solid transparent;
border-radius: 15px;
font-weight: 750;
text-decoration: none;
transition:
transform var(--transition),
box-shadow var(--transition),
background-color var(--transition);
}
.button:hover {
transform: translateY(-2px);
}
.button:focus-visible {
outline: 3px solid rgba(23, 104, 229, 0.28);
outline-offset: 3px;
}
.button--primary {
background: var(--color-primary);
color: #fff;
box-shadow: 0 12px 25px rgba(23, 104, 229, 0.25);
}
.button--primary:hover {
background: #095ad5;
color: #fff;
}
.button--secondary {
border-color: #c9d8ea;
background: #fff;
color: var(--color-ink);
}
.button--secondary:hover {
border-color: var(--color-primary);
color: var(--color-primary);
}
.button--light {
background: #fff;
color: var(--color-primary-dark);
}
.button--light:hover {
color: var(--color-primary);
box-shadow: 0 12px 24px rgba(1, 26, 67, 0.18);
}
.page-placeholder {
display: flex;
min-height: 560px;
flex-direction: column;
align-items: center;
justify-content: center;
padding-top: 90px;
padding-bottom: 90px;
text-align: center;
}
.page-placeholder__icon {
display: grid;
width: 76px;
height: 76px;
margin-bottom: 26px;
place-items: center;
border-radius: 24px;
background: #e5f1ff;
color: var(--color-primary);
font-size: 1.7rem;
}
.page-placeholder h1 {
margin: 0 0 15px;
font-size: clamp(2.1rem, 5vw, 3.5rem);
font-weight: 850;
letter-spacing: -0.05em;
}
.page-placeholder > p:not(.eyebrow) {
max-width: 610px;
margin: 0 0 28px;
color: var(--color-muted);
font-size: 1.05rem;
line-height: 1.75;
}
.site-footer {
padding: 42px 0 20px;
border-top: 1px solid var(--color-line);
background: #fff;
}
.footer-grid {
display: grid;
grid-template-columns: minmax(0, 1.55fr) minmax(150px, 0.78fr) minmax(190px, 0.98fr) minmax(230px, 1.15fr);
align-items: start;
gap: clamp(28px, 3vw, 52px);
}
.footer-grid > * { min-width: 0; }
.footer-grid h2 {
margin: 4px 0 14px;
font-size: 0.95rem;
font-weight: 800;
color: #0f172a;
}
.footer-grid nav {
display: flex;
flex-direction: column;
align-items: flex-start;
gap: 13px;
}
.footer-grid nav a,
.footer-grid nav > span {
display: inline-flex;
align-items: center;
gap: 8px;
color: var(--color-muted);
text-decoration: none;
font-size: 0.95rem;
line-height: 1.4;
}
.footer-grid nav i {
color: #9aabc0;
font-size: 0.67rem;
}
.footer-grid nav a:hover {
color: var(--color-primary);
}
.footer-grid p {
max-width: 520px;
margin: 18px 0 0;
color: var(--color-muted);
line-height: 1.65;
font-size: 0.92rem;
}
.footer-contact p {
display: grid;
grid-template-columns: 18px 1fr;
gap: 12px;
margin: 0 0 12px;
line-height: 1.45;
font-size: 0.92rem;
}
.footer-contact p i {
margin-top: 3px;
color: var(--color-primary);
}
.footer-bottom {
display: flex;
align-items: center;
justify-content: space-between;
gap: 24px;
margin-top: 42px;
padding-top: 22px;
border-top: 1px solid var(--color-line);
color: var(--color-muted);
font-size: 0.84rem;
font-weight: 600;
}
.footer-badges {
display: flex;
flex-wrap: wrap;
justify-content: flex-end;
gap: 10px;
}
.footer-badges span {
display: inline-flex;
align-items: center;
gap: 7px;
padding: 7px 14px;
border: 1px solid #dbeafe;
border-radius: 999px;
background: #eff6ff;
color: #1d4ed8;
font-size: 0.82rem;
font-weight: 600;
white-space: nowrap;
}
.footer-badges i {
color: #2563eb;
font-size: 0.85rem;
}
@media (max-width: 1199.98px) {
.site-header {
padding: 8px 0;
}
.site-header .navbar {
min-height: 60px;
padding: 6px 12px;
border-radius: 18px;
}
.nav-btn--location-quick {
width: 36px;
height: 36px;
border: 1px solid #d8e7fb;
border-radius: 10px;
background: #ffffff;
display: grid;
place-items: center;
font-size: 15px;
cursor: pointer;
transition: transform 0.15s ease, opacity 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.nav-btn--location-quick:hover {
background: #eff6ff;
border-color: #93c5fd;
}
.nav-btn--notification-mobile {
position: relative;
width: 36px;
height: 36px;
border: 1px solid #d8e7fb;
border-radius: 10px;
background: #ffffff;
color: #2563eb;
display: grid;
place-items: center;
font-size: 15px;
cursor: pointer;
text-decoration: none;
transition: transform 0.15s ease, opacity 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.nav-btn--notification-mobile:hover {
background: #eff6ff;
}
.mobile-avatar-pill .user-avatar-initials {
width: 36px;
height: 36px;
font-size: 13px;
cursor: pointer;
}
.site-header .navbar-toggler {
width: 40px;
height: 40px;
padding: 4px;
border: 1px solid #d8e7fb;
border-radius: 10px;
display: inline-grid;
place-items: center;
}
.site-header .navbar-toggler:focus {
box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}
.offcanvas-header {
padding: 18px 20px 14px;
border-bottom: 1px solid #f1f5f9;
}
.offcanvas-header .btn-close {
width: 32px;
height: 32px;
padding: 4px;
border-radius: 8px;
}
.offcanvas-body {
padding: 18px 20px 24px;
display: flex;
flex-direction: column;
gap: 12px;
overflow-y: auto;
}
.offcanvas-user-card__inner {
display: flex;
align-items: center;
gap: 12px;
padding: 12px 14px;
background: linear-gradient(135deg, #f0f7ff 0%, #e0effe 100%);
border: 1px solid #bfdbfe;
border-radius: 16px;
}
.user-avatar-initials--lg {
width: 44px;
height: 44px;
font-size: 16px;
flex-shrink: 0;
}
.offcanvas-user-card__meta {
display: flex;
flex-direction: column;
min-width: 0;
}
.offcanvas-user-card__name {
font-size: 14.5px;
font-weight: 800;
color: #0f172a;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.offcanvas-user-card__email {
font-size: 11.5px;
color: #64748b;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.offcanvas-user-card__badge {
font-size: 11px;
font-weight: 700;
color: #16a34a;
margin-top: 3px;
display: inline-flex;
align-items: center;
}
.offcanvas-guest-banner {
padding: 14px;
background: #f8fafc;
border: 1px solid #e2e8f0;
border-radius: 16px;
}
.navbar-nav {
display: flex;
flex-direction: column;
gap: 4px;
align-items: stretch !important;
}
.navbar-nav .nav-link {
display: flex;
align-items: center;
gap: 12px;
padding: 10px 14px !important;
border-radius: 12px;
font-size: 14.5px;
font-weight: 650;
color: #334155 !important;
text-decoration: none;
transition: transform 0.15s ease, opacity 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.navbar-nav .nav-link i {
width: 20px;
text-align: center;
font-size: 15px;
color: #64748b;
}
.navbar-nav .nav-link:hover {
background: #f1f5f9;
color: #2563eb !important;
}
.navbar-nav .nav-link:hover i {
color: #2563eb;
}
.navbar-nav .nav-link.active {
background: #eff6ff;
color: #2563eb !important;
font-weight: 750;
}
.navbar-nav .nav-link.active i {
color: #2563eb;
}
.offcanvas-account-box {
border-top: 1px solid #e2e8f0;
padding-top: 12px;
margin-top: 4px;
}
.offcanvas-account-label {
font-size: 11px;
font-weight: 800;
letter-spacing: 0.08em;
text-transform: uppercase;
color: #94a3b8;
margin-bottom: 8px;
padding-left: 6px;
}
.offcanvas-account-nav {
list-style: none;
padding: 0;
margin: 0;
display: flex;
flex-direction: column;
gap: 2px;
}
.offcanvas-link {
display: flex;
align-items: center;
gap: 12px;
padding: 9px 12px;
border-radius: 10px;
font-size: 13.5px;
font-weight: 600;
color: #334155;
text-decoration: none;
border: 0;
background: transparent;
width: 100%;
text-align: left;
cursor: pointer;
transition: transform 0.15s ease, opacity 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.offcanvas-link i {
width: 20px;
text-align: center;
color: #64748b;
font-size: 14px;
}
.offcanvas-link:hover {
background: #f1f7ff;
color: #2563eb;
}
.offcanvas-link:hover i {
color: #2563eb;
}
.offcanvas-link--logout {
color: #dc2626 !important;
font-weight: 700;
}
.offcanvas-link--logout i {
color: #dc2626 !important;
}
.offcanvas-link--logout:hover {
background: #fef2f2 !important;
color: #b91c1c !important;
}
.offcanvas-footer {
margin-top: auto;
padding-top: 14px;
border-top: 1px solid #f1f5f9;
}
.footer-grid {
grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
gap: 36px 28px;
}
.footer-grid > :last-child {
grid-column: auto;
}
}
@media (min-width: 1200px) {
#primary-navigation.offcanvas-xl {
position: static !important;
visibility: visible !important;
transform: none !important;
width: auto !important;
height: auto !important;
max-height: none !important;
border: none !important;
border-radius: 0 !important;
box-shadow: none !important;
background: transparent !important;
display: flex !important;
flex-direction: row !important;
flex-grow: 1 !important;
transition: none !important;
}
#primary-navigation.offcanvas-xl .navbar-nav {
flex-direction: row;
align-items: center;
gap: 4px;
}
#primary-navigation.offcanvas-xl .offcanvas-body {
display: flex;
align-items: center;
justify-content: space-between;
width: 100%;
padding: 0;
overflow-y: visible;
}
}
@media (max-width: 767.98px) {
.brand__mark {
width: 42px;
height: 42px;
}
.brand__mark img {
width: 30px;
height: 30px;
}
.brand__copy strong {
font-size: 1.15rem;
}
.brand__copy small {
font-size: 0.57rem;
}
.footer-grid {
grid-template-columns: 1fr 1fr;
gap: 38px 24px;
}
.footer-brand,
.footer-grid > :last-child {
grid-column: 1 / -1;
}
.footer-bottom {
align-items: flex-start;
flex-direction: column;
gap: 16px;
}
.footer-badges {
justify-content: flex-start;
}
}
@media (max-width: 430px) {
.site-header .container-xl {
padding-inline: 8px;
}
.site-header .navbar {
padding: 5px 8px;
display: flex;
align-items: center;
justify-content: space-between;
flex-wrap: nowrap;
}
.site-header .brand {
min-width: 0;
margin-right: 0;
gap: 6px;
flex: 0 1 auto;
}
.brand__mark {
width: 36px;
height: 36px;
}
.brand__mark img {
width: 26px;
height: 26px;
}
.site-header .brand__copy {
min-width: 0;
}
.site-header .brand__copy strong {
font-size: 1.05rem;
}
.brand__copy small {
display: none;
}
#mobile-header-quick-actions {
gap: 4px;
margin-right: 4px;
}
.site-header .navbar-toggler {
width: 36px;
height: 36px;
flex: 0 0 auto;
margin-left: 0;
}
.nav-btn--location-quick,
.nav-btn--notification-mobile,
.mobile-avatar-pill .user-avatar-initials {
width: 34px;
height: 34px;
}
}
@media (prefers-reduced-motion: reduce) {
html {
scroll-behavior: auto;
}
*,
*::before,
*::after {
scroll-behavior: auto !important;
transition-duration: 0.01ms !important;
}
}
.dride-dialog-backdrop {
position: fixed;
inset: 0;
z-index: 12000;
display: flex;
align-items: center;
justify-content: center;
padding: 18px;
background: rgba(15, 23, 42, 0.68);
opacity: 0;
backdrop-filter: blur(5px);
transition: opacity 0.18s ease;
}
.dride-dialog-backdrop.is-open {
opacity: 1;
}
.dride-dialog {
width: min(500px, 100%);
max-height: 90vh;
overflow: auto;
padding: 24px;
border: 1px solid rgba(255, 255, 255, 0.5);
border-radius: 22px;
background: #fff;
box-shadow: 0 28px 70px rgba(15, 23, 42, 0.32);
transform: translateY(8px) scale(0.98);
transition: transform 0.18s ease;
}
.dride-dialog-backdrop.is-open .dride-dialog {
transform: none;
}
.dride-dialog-head {
display: flex;
align-items: center;
gap: 12px;
}
.dride-dialog-head > div {
min-width: 0;
flex: 1;
}
.dride-dialog-head small {
color: #0969ed;
font-size: 0.65rem;
font-weight: 900;
letter-spacing: 0.12em;
}
.dride-dialog-head h2 {
margin: 2px 0 0;
color: #0f172a;
font-size: 1.2rem;
font-weight: 850;
}
.dride-dialog-head > button {
display: grid;
width: 40px;
height: 40px;
place-items: center;
border: 0;
border-radius: 50%;
background: #f1f5f9;
color: #64748b;
}
.dride-dialog-icon {
display: grid;
width: 44px;
height: 44px;
flex: none;
place-items: center;
border-radius: 13px;
background: #eaf3ff;
color: #0969ed;
font-size: 1.1rem;
}
.dride-dialog-icon--danger {
background: #fff1f2;
color: #dc2626;
}
.dride-dialog-icon--success {
background: #ecfdf5;
color: #16a34a;
}
.dride-dialog-message {
margin: 18px 0 0;
color: #52647c;
line-height: 1.55;
}
.dride-dialog-fields {
display: grid;
gap: 13px;
margin-top: 17px;
}
.dride-dialog-field {
display: flex;
flex-direction: column;
gap: 6px;
color: #334155;
font-size: 0.78rem;
font-weight: 800;
}
.dride-dialog-field b {
color: #dc2626;
}
.dride-dialog-field input,
.dride-dialog-field textarea,
.dride-dialog-field select {
width: 100%;
padding: 11px 12px;
border: 1px solid #cbd5e1;
border-radius: 10px;
background: #fff;
color: #172033;
font: inherit;
font-weight: 500;
outline: 0;
}
.dride-dialog-field input:focus,
.dride-dialog-field textarea:focus,
.dride-dialog-field select:focus {
border-color: #0969ed;
box-shadow: 0 0 0 3px rgba(9, 105, 237, 0.12);
}
.dride-dialog-actions {
display: flex;
justify-content: flex-end;
gap: 9px;
margin-top: 20px;
}
.dride-dialog-actions button {
min-width: 100px;
min-height: 44px;
padding: 0 16px;
border-radius: 10px;
font-weight: 800;
}
.dride-dialog-cancel {
border: 1px solid #d6e0eb;
background: #fff;
color: #475569;
}
.dride-dialog-confirm {
border: 0;
background: #0969ed;
color: #fff;
}
.dride-dialog-confirm--danger {
background: #dc2626;
}
.dride-dialog-confirm--success {
background: #16a34a;
}
@media (max-width: 575.98px) {
.dride-dialog {
padding: 18px;
border-radius: 18px;
}
.dride-dialog-actions {
flex-direction: column-reverse;
}
.dride-dialog-actions button {
width: 100%;
}
}
.dride-cookie-modal-backdrop {
position: fixed;
inset: 0;
background: rgba(15, 23, 42, 0.48);
backdrop-filter: blur(8px);
-webkit-backdrop-filter: blur(8px);
z-index: 10050;
display: flex;
align-items: center;
justify-content: center;
padding: 16px;
opacity: 0;
visibility: hidden;
transition:
opacity 240ms ease,
visibility 240ms ease;
}
.dride-cookie-modal-backdrop.show {
opacity: 1;
visibility: visible;
}
.dride-cookie-modal {
box-sizing: border-box;
background: #ffffff;
border-radius: 20px;
box-shadow:
0 25px 60px -15px rgba(0, 0, 0, 0.25),
0 0 0 1px rgba(0, 0, 0, 0.04);
max-width: 660px;
width: 100%;
padding: 24px 28px;
position: relative;
transform: scale(0.95) translateY(10px);
transition: transform 240ms cubic-bezier(0.16, 1, 0.3, 1);
}
.dride-cookie-modal-backdrop.show .dride-cookie-modal {
transform: scale(1) translateY(0);
}
.dride-cookie-modal__header {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 18px;
padding-bottom: 4px;
}
.dride-cookie-modal__brand {
display: flex;
align-items: center;
gap: 8px;
}
.dride-cookie-modal__logo {
width: 24px;
height: 24px;
object-fit: contain;
}
.dride-cookie-modal__brand-name {
font-size: 1rem;
font-weight: 850;
color: var(--color-primary);
letter-spacing: -0.02em;
}
.dride-cookie-modal__copyright {
color: #94a3b8;
font-size: 0.76rem;
font-weight: 600;
margin-left: 6px;
}
.dride-cookie-modal__tabs {
display: flex;
align-items: center;
gap: 18px;
}
.dride-cookie-tab {
background: transparent;
border: 0;
color: #475569;
font-size: 0.88rem;
font-weight: 600;
padding: 4px 2px;
position: relative;
cursor: pointer;
transition: color 150ms ease;
}
.dride-cookie-tab:hover {
color: var(--color-primary);
}
.dride-cookie-tab.active {
color: var(--color-primary);
font-weight: 750;
}
.dride-cookie-tab.active::after {
content: '';
position: absolute;
bottom: -6px;
left: 0;
right: 0;
height: 2.5px;
background: var(--color-primary);
border-radius: 99px;
}
.dride-cookie-modal__title {
margin: 0 0 10px;
font-size: 1.25rem;
font-weight: 850;
color: #0f172a;
letter-spacing: -0.02em;
}
.dride-cookie-modal__desc {
margin: 0 0 20px;
font-size: 0.85rem;
line-height: 1.55;
color: #475569;
}
.dride-cookie-modal__desc strong {
color: #0f172a;
}
.dride-cookie-toggles-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
border: 1px solid #e2e8f0;
border-radius: 14px;
background: #f8fafc;
overflow: hidden;
margin-bottom: 22px;
}
.dride-cookie-toggle-item {
padding: 16px 8px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 12px;
border-right: 1px solid #e2e8f0;
}
.dride-cookie-toggle-item:last-child {
border-right: none;
}
.dride-cookie-toggle-label {
font-size: 0.78rem;
font-weight: 750;
color: #1e293b;
text-align: center;
white-space: nowrap;
}
.dride-ios-switch {
position: relative;
display: inline-block;
width: 44px;
height: 26px;
cursor: pointer;
margin: 0;
}
.dride-ios-switch input {
opacity: 0;
width: 0;
height: 0;
}
.dride-ios-slider {
position: absolute;
inset: 0;
background-color: #cbd5e1;
border-radius: 34px;
transition: background-color 200ms ease;
}
.dride-ios-slider::before {
position: absolute;
content: '';
height: 20px;
width: 20px;
left: 3px;
bottom: 3px;
background-color: white;
border-radius: 50%;
transition: transform 200ms ease;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}
.dride-ios-switch input:checked + .dride-ios-slider {
background-color: #1768e5;
}
.dride-ios-switch input:checked + .dride-ios-slider::before {
transform: translateX(18px);
}
.dride-ios-switch input:disabled + .dride-ios-slider {
opacity: 0.65;
cursor: not-allowed;
}
.dride-cookie-modal__actions {
display: flex;
align-items: center;
justify-content: flex-end;
gap: 10px;
}
.dride-cookie-btn {
border-radius: 10px;
font-size: 0.84rem;
font-weight: 750;
padding: 10px 18px;
cursor: pointer;
transition: transform 160ms ease, opacity 160ms ease, background-color 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
border: 1px solid transparent;
}
.dride-cookie-btn--subtle {
background: #ffffff;
border-color: #cbd5e1;
color: #475569;
}
.dride-cookie-btn--subtle:hover {
background: #f1f5f9;
color: #0f172a;
}
.dride-cookie-btn--outline {
background: #ffffff;
border: 1.5px solid #1768e5;
color: #1768e5;
}
.dride-cookie-btn--outline:hover {
background: #eff6ff;
}
.dride-cookie-btn--primary {
background: #1768e5;
border: 1.5px solid #1768e5;
color: #ffffff;
box-shadow: 0 4px 14px rgba(23, 104, 229, 0.3);
}
.dride-cookie-btn--primary:hover {
background: #1255bf;
border-color: #1255bf;
}
.dride-cookie-details-list {
display: flex;
flex-direction: column;
gap: 10px;
max-height: 280px;
overflow-y: auto;
padding-right: 4px;
margin-bottom: 16px;
}
.dride-cookie-detail-card {
padding: 12px 14px;
border-radius: 12px;
background: #f8fafc;
border: 1px solid #e2e8f0;
}
.dride-cookie-detail-header {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 4px;
}
.dride-cookie-detail-header strong {
font-size: 0.88rem;
color: #0f172a;
}
.dride-cookie-detail-card p {
margin: 0;
font-size: 0.8rem;
color: #64748b;
line-height: 1.45;
}
.dride-cookie-about-content {
font-size: 0.86rem;
color: #475569;
line-height: 1.6;
margin-bottom: 16px;
}
.dride-cookie-about-content h4 {
font-size: 1.05rem;
font-weight: 800;
color: #0f172a;
margin-bottom: 8px;
}
@media (max-width: 576px) {
.dride-cookie-modal {
width: calc(100vw - 32px);
max-width: calc(100vw - 32px);
padding: 18px 16px;
border-radius: 16px;
}
.dride-cookie-modal__header {
flex-direction: column;
align-items: flex-start;
gap: 12px;
}
.dride-cookie-toggles-grid {
grid-template-columns: repeat(2, 1fr);
}
.dride-cookie-toggle-item:nth-child(2) {
border-right: none;
}
.dride-cookie-toggle-item:nth-child(1),
.dride-cookie-toggle-item:nth-child(2) {
border-bottom: 1px solid #e2e8f0;
}
.dride-cookie-modal__actions {
flex-direction: column;
width: 100%;
}
.dride-cookie-btn {
width: 100%;
text-align: center;
}
}
.navbar .nav-link--location {
max-width: 100%;
min-width: 0;
}
.navbar .nav-link--location .location-text {
display: inline-block;
max-width: 17rem;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
vertical-align: middle;
}
@media (max-width: 991.98px) {
.navbar .nav-link--location .location-text { max-width: 9.5rem; }
}
@media (max-width: 479.98px) {
.navbar .nav-link--location { padding: 0 12px; }
.navbar .nav-link--location .location-text { max-width: 6.5rem; }
}
.footer-app-download {
max-width: 460px;
margin-top: 24px;
padding-top: 18px;
border-top: 1px solid #e2e8f0;
}
.footer-app-download__heading {
display: flex;
align-items: center;
gap: 10px;
}
.footer-app-download__heading > span:last-child { display: grid; gap: 3px; }
.footer-app-download__heading strong { color: #0f172a; font-size: 0.92rem; }
.footer-app-download__heading strong em { color: #1769e0; font-style: normal; }
.footer-app-download__heading small { color: var(--color-muted); font-size: 0.75rem; }
.footer-app-download__icon {
width: 26px;
height: 26px;
display: grid;
flex: 0 0 26px;
place-items: center;
color: #1769e0;
font-size: 1.05rem;
}
.store-badges {
display: grid;
grid-template-columns: minmax(0, 0.94fr) minmax(0, 0.94fr) minmax(0, 1.12fr);
gap: 6px;
margin-top: 14px;
}
.store-badge {
display: inline-flex;
align-items: center;
gap: 10px;
padding: 7px 14px;
border-radius: 10px;
background: #0f172a;
color: #fff;
text-decoration: none;
line-height: 1.15;
transition: transform 0.15s ease, background 0.15s ease;
}
.store-badge--platform {
min-width: 0;
min-height: 50px;
padding: 7px 8px;
border: 1px solid #b9dcff;
border-radius: 11px;
background: #fff;
color: #334155;
box-shadow: 0 5px 13px rgba(23, 105, 224, 0.08);
}
.store-badge--platform:hover { border-color: #79baff; background: #f8fbff; color: #1769e0; box-shadow: 0 7px 15px rgba(23, 105, 224, 0.12); }
.store-badge--platform > :is(i, .store-platform-icon) {
width: 29px;
height: 29px;
box-sizing: content-box;
display: grid;
flex: 0 0 36px;
place-items: center;
padding-right: 7px;
border-right: 1px solid #a8b6ca;
color: #1769e0;
font-size: 1.35rem;
}
.store-platform-icon--play { overflow: visible; }
.store-badge--platform span {
min-width: 0;
height: 31px;
justify-content: center;
}
.store-badge--platform small { color: #64748b; font-size: 0.48rem; font-weight: 750; line-height: 1.1; }
.store-badge--platform strong { color: #0b2450; font-size: 0.69rem; line-height: 1.15; white-space: nowrap; }
.store-badge.is-coming { border: 1px solid #b9dcff; background: #fff; color: #334155; }
.store-badge.is-coming i { color: #1769e0; }
.store-badge--platform.is-coming:hover { background: #f8fbff; color: #1769e0; }
.store-badge:hover { background: #1e293b; color: #fff; transform: translateY(-1px); }
.store-badge:focus-visible { outline: 3px solid rgba(37, 99, 235, 0.3); outline-offset: 3px; }
.store-badge i { font-size: 1.5rem; }
.store-badge span { display: flex; flex-direction: column; text-align: left; }
.store-badge small { font-size: 0.62rem; letter-spacing: 0.06em; opacity: 0.8; }
.store-badge strong { font-size: 0.95rem; font-weight: 700; }
.store-badge.store-badge--platform {
gap: 7px;
padding: 7px 8px;
border: 1px solid #b9dcff;
border-radius: 11px;
background: #fff;
color: #334155;
}
.store-badge.store-badge--platform:hover {
border-color: #79baff;
background: #f8fbff;
color: #1769e0;
}
.store-badge.store-badge--platform > :is(i, .store-platform-icon) { font-size: 1.35rem; }
.store-badge.store-badge--platform small {
color: #64748b;
font-size: 0.48rem;
font-weight: 750;
line-height: 1.1;
}
.store-badge.store-badge--platform strong {
color: #0b2450;
font-size: 0.66rem;
line-height: 1.15;
letter-spacing: -0.015em;
white-space: nowrap;
}
.store-badge--apk {
width: auto;
margin-top: 0;
background: #fff;
}
.store-badge--apk:hover { background: #f8fbff; }
@media (min-width: 1200px) {
.footer-bottom { padding-right: 72px; }
}
@media (max-width: 600px) {
.store-badges { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.store-badge--apk { grid-column: 1 / -1; }
}
@media (max-width: 430px) {
.store-badges { grid-template-columns: 1fr; }
.store-badge--apk { grid-column: auto; }
}
.dride-ai-mark,
.fa-wand-magic-sparkles {
display: inline-block;
width: 1.35em;
height: 1.35em;
flex: 0 0 1.35em;
vertical-align: -0.28em;
background: url('../assets/images/dride-ai-pet-sprite.webp') 0 0 / 400% 200% no-repeat;
image-rendering: pixelated;
filter: drop-shadow(0 2px 2px rgba(8, 72, 183, .2));
animation: dride-pet-sprite 2.4s steps(1, end) infinite;
}
.dride-ai-mark::before,
.fa-wand-magic-sparkles::before { content: none !important; }
@media (prefers-reduced-motion: reduce) {
.dride-ai-mark, .fa-wand-magic-sparkles { animation: none; background-position: 0 0; }
}
/* sos-widget.css */
.dride-help-launcher {
position: fixed; right: 24px; bottom: 28px; z-index: 1081;
width: 76px; height: 76px; display: grid; place-items: center;
padding:0; border: 0; border-radius: 20px;
background: transparent; color: #fff;
box-shadow: none; cursor: pointer;
font-size: 24px; transition: transform .2s ease, box-shadow .2s ease;
}
.dride-help-launcher:hover { transform: translateY(-3px); box-shadow:none; }
.dride-help-launcher:hover .dride-ai-sprite { filter:drop-shadow(0 6px 7px rgba(8,47,126,.34)); }
.dride-help-launcher:focus-visible { outline: 3px solid #facc15; outline-offset: 3px; }
.dride-help-launcher__ring,
.dride-help-launcher::after { display:none; }
.dride-help-launcher::after { animation-delay: 1.1s; }
.dride-help-launcher.is-open .dride-ai-sprite { transform:scale(.9); }
.dride-help-actions { position: fixed; right: 24px; bottom: 104px; z-index: 1081; display: grid; gap: 10px; opacity: 0; visibility: hidden; transform: translateY(10px); transition: .2s ease; }
.dride-help-actions.is-open { opacity: 1; visibility: visible; transform: none; }
.dride-help-action { min-height: 48px; display: flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border: 1px solid #dbe4f0; border-radius: 999px; background: #fff; color: #1e3a5f; box-shadow: 0 8px 24px rgba(15,23,42,.15); font: 700 .86rem inherit; cursor: pointer; white-space: nowrap; }
.dride-help-action span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: #eaf1ff; color: #315daf; }
.dride-help-action--sos span { background: #fee2e2; color: #dc2626; }
.dride-help-action:hover { border-color: #7da0e4; background: #f8fbff; }
.dride-help-action:focus-visible { outline: 3px solid rgba(49,93,175,.28); outline-offset: 2px; }
.dride-chatbox { --chat-blue:#146cf4; --chat-blue-deep:#0848b7; --chat-blue-soft:#eaf3ff; position: fixed; right: 24px; bottom: 108px; z-index: 1082; width: min(430px, calc(100vw - 32px)); height: min(620px, calc(100dvh - 136px)); display: none; grid-template-rows: auto minmax(180px,1fr) auto; overflow: hidden; border: 1px solid #cfe0f8; border-radius: 24px; background: #fff; box-shadow: 0 28px 72px rgba(15,58,130,.25),0 4px 16px rgba(20,108,244,.12); }
.dride-chatbox.is-open { display: grid; }
.dride-chatbox header { display: flex; align-items: center; gap: 12px; min-height: 76px; padding: 10px 14px 10px 12px; color: #fff; background: linear-gradient(135deg,var(--chat-blue) 0%,#0758d5 58%,var(--chat-blue-deep) 100%); box-shadow: 0 8px 24px rgba(8,72,183,.18); }
.dride-chatbox header > .dride-chatbox__pet { width: 60px; height: 60px; flex:0 0 60px; display: grid; place-items: center; background:transparent; border:0; }
.dride-ai-sprite { display:inline-block; width:34px; height:34px; flex:0 0 34px; background-image:url('../assets/images/dride-ai-pet-sprite.webp'); background-repeat:no-repeat; background-size:400% 200%; background-position:0 0; image-rendering:pixelated; filter:drop-shadow(0 3px 4px rgba(8,72,183,.22)); animation:dride-pet-sprite 2.4s steps(1,end) infinite; }
.is-halloween .dride-ai-sprite { background-image:url('../assets/images/dride-ai-pet-halloween-sprite-v2.png'); background-size:400% 300%; filter:drop-shadow(0 4px 5px rgba(89,39,168,.28)); animation-name:dride-pet-halloween-sprite; animation-duration:4.8s; }
.is-halloween .dride-chatbox header { background:linear-gradient(135deg,#146cf4 0%,#3430a8 58%,#55258d 100%); }
.is-halloween .dride-help-launcher__ring,.is-halloween .dride-help-launcher::after { border-color:rgba(249,115,22,.3); }
.dride-ai-sprite.is-launcher { position:relative; z-index:1; width:72px; height:72px; flex-basis:72px; }
.dride-ai-sprite.is-header { width:60px; height:60px; flex-basis:60px; }
.dride-ai-sprite.is-typing { animation-duration:1.8s; }
.dride-chatbox header div { flex: 1; display: grid; }
.dride-chatbox header strong { font-size: 1rem; letter-spacing: -.01em; }
.dride-chatbox header small { color: rgba(255,255,255,.88); font-size: .74rem; line-height:1.35; }
.dride-chatbox header button { width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: #fff; cursor: pointer; }
.dride-chatbox header button:hover { background: rgba(255,255,255,.14); }
.dride-chatbox__log { display: flex; flex-direction: column; gap: 13px; overflow-y: auto; padding: 18px 14px 20px; background: radial-gradient(circle at 100% 0,rgba(20,108,244,.08),transparent 34%),linear-gradient(180deg,#f7faff 0%,#eef5ff 100%); scrollbar-color:#aac8f4 transparent; }
.dride-chatbox__message { max-width: 88%; color: #1f3554; font-size: .9rem; line-height: 1.55; overflow-wrap:anywhere; white-space:pre-wrap; }
.dride-chatbox__message--ai { align-self:flex-start; display:flex; align-items:flex-start; gap:8px; background:transparent; box-shadow:none; }
.dride-chatbox__message--ai > span:last-child { display:block; padding:11px 14px; border:1px solid #d8e6f8; border-radius:18px 18px 18px 6px; background:#fff; box-shadow:0 5px 16px rgba(31,76,138,.09); }
.dride-chatbox__message--user { align-self: flex-end; padding:11px 15px; border-radius:18px 18px 6px 18px; background:linear-gradient(135deg,#1a73ff 0%,#0759d6 100%); color: #fff; box-shadow:0 7px 18px rgba(20,108,244,.25); }
.dride-chatbox__message--user.is-pending { opacity:.72; }
.dride-chatbox__message--user.is-error { opacity:1; outline:2px solid #ef4444; outline-offset:2px; }
.dride-chatbox__avatar { flex:0 0 34px; width:34px; height:34px; display:grid; place-items:center; border-radius:12px; color:var(--chat-blue); background-color:#fff; border:1px solid #d7e6fb; box-shadow:0 4px 12px rgba(20,108,244,.14); }
.dride-chatbox__avatar.dride-ai-sprite { flex-basis:44px; width:44px; height:44px; margin-top:1px; border:0; border-radius:0; background-color:transparent; box-shadow:none; }
.dride-chatbox__message--staff .dride-chatbox__avatar { border-radius:50%; }
.dride-chatbox__typing > span:last-child { min-width:58px; display:flex; align-items:center; justify-content:center; gap:5px; padding:13px 16px; }
.dride-chatbox__typing i { width:7px; height:7px; border-radius:50%; background:#3b82f6; animation:dride-chat-typing 1.15s ease-in-out infinite; }
.dride-chatbox__typing i:nth-child(2){animation-delay:.16s}.dride-chatbox__typing i:nth-child(3){animation-delay:.32s}
.dride-chatbox__form { display: flex; align-items:flex-end; gap: 8px; padding: 11px 12px 12px; border-top: 1px solid #dce8f7; background:#fff; }
.dride-chatbox__form textarea { min-width: 0; min-height:46px; max-height:112px; flex: 1; padding:11px 14px; border: 1.5px solid #c9daf2; border-radius: 17px; color:#172b4a; background:#f7faff; font:inherit; font-size:16px; line-height:1.45; resize:none; overflow-y:auto; }
.dride-chatbox__form textarea:focus { outline: 0; border-color: var(--chat-blue); background:#fff; box-shadow: 0 0 0 3px rgba(20,108,244,.13); }
.dride-chatbox__form button { width: 46px; height: 46px; flex: 0 0 auto; border: 0; border-radius: 15px; background:linear-gradient(135deg,var(--chat-blue),var(--chat-blue-deep)); color: #fff; box-shadow:0 7px 16px rgba(20,108,244,.28); cursor: pointer; transition:transform .15s ease,box-shadow .2s ease; }
.dride-chatbox__form button:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 9px 20px rgba(20,108,244,.34)}
.dride-chatbox__form button:disabled{opacity:.5;cursor:not-allowed;box-shadow:none}
@keyframes dride-chat-typing { 0%,60%,100%{transform:translateY(0);opacity:.45}30%{transform:translateY(-4px);opacity:1} }
@keyframes dride-pet-sprite {
0%,12.49%{background-position:0 0}12.5%,24.99%{background-position:33.333% 0}
25%,37.49%{background-position:66.666% 0}37.5%,49.99%{background-position:100% 0}
50%,62.49%{background-position:0 100%}62.5%,74.99%{background-position:33.333% 100%}
75%,87.49%{background-position:66.666% 100%}87.5%,99.99%{background-position:100% 100%}
100%{background-position:0 0}
}
@keyframes dride-pet-halloween-sprite {
0%,8.32%{background-position:0 0}8.33%,16.65%{background-position:33.333% 0}
16.66%,24.98%{background-position:66.666% 0}24.99%,33.31%{background-position:100% 0}
33.32%,41.64%{background-position:0 50%}41.65%,49.97%{background-position:33.333% 50%}
49.98%,58.3%{background-position:66.666% 50%}58.31%,66.63%{background-position:100% 50%}
66.64%,74.96%{background-position:0 100%}74.97%,83.29%{background-position:33.333% 100%}
83.3%,91.62%{background-position:66.666% 100%}91.63%,99.99%{background-position:100% 100%}
100%{background-position:0 0}
}
@keyframes dride-help-pulse {
0% { opacity: .75; transform: scale(.92); }
70%, 100% { opacity: 0; transform: scale(1.55); }
}
.dride-sos-widget {
position: fixed;
right: 24px;
bottom: 28px;
z-index: 1080;
display: flex;
align-items: center;
gap: 10px;
padding: 10px 18px 10px 14px;
background: linear-gradient(135deg, #ef4444 0%, #dc2626 50%, #b91c1c 100%);
color: #ffffff !important;
border: 2px solid rgba(255, 255, 255, 0.45);
border-radius: 9999px;
box-shadow:
0 10px 25px -4px rgba(220, 38, 38, 0.5),
0 4px 10px -2px rgba(220, 38, 38, 0.3);
cursor: pointer;
font-family: inherit;
font-weight: 700;
font-size: 0.92rem;
letter-spacing: 0.02em;
text-decoration: none !important;
transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
user-select: none;
outline: none;
}
.dride-sos-widget:hover {
transform: translateY(-4px) scale(1.04);
box-shadow:
0 16px 32px -4px rgba(220, 38, 38, 0.65),
0 6px 14px -2px rgba(220, 38, 38, 0.4);
color: #ffffff !important;
}
.dride-sos-widget:active {
transform: translateY(-1px) scale(0.98);
}
@keyframes dride-sos-pulse-ring {
0% {
transform: scale(0.95);
opacity: 0.8;
}
50% {
transform: scale(1.15);
opacity: 0;
}
100% {
transform: scale(1.15);
opacity: 0;
}
}
@keyframes dride-sos-bell {
0%,
75%,
100% {
transform: rotate(0);
}
80% {
transform: rotate(-14deg);
}
85% {
transform: rotate(14deg);
}
90% {
transform: rotate(-8deg);
}
95% {
transform: rotate(8deg);
}
}
@media (max-width: 576px) {
.dride-help-launcher { right: 12px; bottom: 14px; width: 70px; height: 70px; }
.dride-ai-sprite.is-launcher { width:68px; height:68px; flex-basis:68px; }
.dride-help-actions { right: 16px; bottom: 88px; }
.dride-chatbox { right: 16px; bottom: 88px; height: min(540px, calc(100dvh - 112px)); }
.dride-sos-widget {
right: 16px;
bottom: 20px;
padding: 8px 14px 8px 10px;
font-size: 0.82rem;
}
}
@media (prefers-reduced-motion: reduce) {
.dride-help-launcher, .dride-help-actions { transition: none; }
.dride-help-launcher__ring, .dride-help-launcher::after { animation: none; opacity: .45; }
.dride-chatbox__typing i { animation:none; opacity:.72; }
.dride-ai-sprite { animation:none; background-position:0 0; }
}
.dride-sos-backdrop {
position: fixed;
inset: 0;
background: rgba(15, 23, 42, 0.75);
backdrop-filter: blur(6px);
-webkit-backdrop-filter: blur(6px);
z-index: 10900;
display: flex;
align-items: center;
justify-content: center;
padding: 16px;
opacity: 0;
visibility: hidden;
transition:
opacity 0.25s ease,
visibility 0.25s ease;
}
.dride-sos-backdrop.is-open {
opacity: 1;
visibility: visible;
}
.dride-sos-modal {
position: relative;
width: 100%;
max-width: 560px;
max-height: 90vh;
background: #ffffff;
border-radius: 24px;
box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.35);
display: flex;
flex-direction: column;
overflow: hidden;
transform: scale(0.94) translateY(12px);
transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.dride-sos-backdrop.is-open .dride-sos-modal {
transform: scale(1) translateY(0);
}
.dride-sos-modal__header {
display: flex;
align-items: center;
justify-content: space-between;
padding: 18px 24px;
background: linear-gradient(to bottom, #fff5f5, #ffffff);
border-bottom: 1px solid #fee2e2;
}
.dride-sos-modal__header-left {
display: flex;
align-items: center;
gap: 14px;
}
.dride-sos-modal__badge-icon {
display: flex;
align-items: center;
justify-content: center;
width: 44px;
height: 44px;
background: #fee2e2;
color: #dc2626;
border-radius: 14px;
font-size: 1.25rem;
}
.dride-sos-modal__title {
margin: 0;
font-size: 1.2rem;
font-weight: 800;
color: #991b1b;
}
.dride-sos-modal__subtitle {
margin: 2px 0 0;
font-size: 0.8rem;
color: #64748b;
}
.dride-sos-modal__close {
background: transparent;
border: none;
width: 36px;
height: 36px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
color: #94a3b8;
font-size: 1.15rem;
cursor: pointer;
transition: transform 0.2s ease, opacity 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.dride-sos-modal__close:hover {
background: #f1f5f9;
color: #334155;
}
.dride-sos-modal__body {
padding: 20px 24px;
overflow-y: auto;
display: flex;
flex-direction: column;
gap: 18px;
}
.dride-sos-hotline-card {
display: flex;
align-items: center;
justify-content: space-between;
gap: 14px;
padding: 14px 18px;
background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
border: 1px solid #fecaca;
border-radius: 16px;
}
.dride-sos-hotline-info {
display: flex;
align-items: center;
gap: 12px;
}
.dride-sos-hotline-info i {
font-size: 1.4rem;
color: #dc2626;
}
.dride-sos-hotline-info strong {
display: block;
font-size: 0.92rem;
color: #7f1d1d;
}
.dride-sos-hotline-info span {
font-size: 1.12rem;
font-weight: 800;
color: #dc2626;
letter-spacing: 0.03em;
}
.dride-sos-hotline-btn {
display: inline-flex;
align-items: center;
gap: 6px;
padding: 8px 16px;
background: #dc2626;
color: #ffffff !important;
border-radius: 10px;
font-weight: 700;
font-size: 0.85rem;
text-decoration: none;
box-shadow: 0 4px 10px rgba(220, 38, 38, 0.3);
white-space: nowrap;
transition: transform 0.2s ease, opacity 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.dride-sos-hotline-btn:hover {
background: #b91c1c;
transform: translateY(-1px);
}
.dride-sos-section-title {
font-size: 0.86rem;
font-weight: 700;
color: #334155;
text-transform: uppercase;
letter-spacing: 0.04em;
margin-bottom: 8px;
display: flex;
align-items: center;
gap: 6px;
}
.dride-sos-rental-box {
background: #f8fafc;
border: 1.5px solid #e2e8f0;
border-radius: 14px;
padding: 12px 16px;
display: flex;
align-items: center;
justify-content: space-between;
}
.dride-sos-rental-box.is-highlight {
border-color: #3b82f6;
background: #eff6ff;
}
.dride-sos-rental-info h4 {
margin: 0;
font-size: 0.95rem;
font-weight: 700;
color: #1e293b;
}
.dride-sos-rental-info p {
margin: 2px 0 0;
font-size: 0.8rem;
color: #64748b;
}
.dride-sos-rental-status {
padding: 4px 10px;
background: #dbeafe;
color: #1d4ed8;
border-radius: 20px;
font-size: 0.75rem;
font-weight: 700;
}
.dride-sos-request-row { width: 100%; gap: 16px; font: inherit; text-align: left; cursor: pointer; }
.dride-sos-request-row:hover { border-color: #93c5fd; background: #eff6ff; }
.dride-sos-feedback-sent { display: block; margin-top: 6px; color: #b45309; font-weight: 700; }
.dride-sos-modal__header.feedback { background: linear-gradient(135deg,#fffbeb,#fff); border-color: #fde68a; }
.dride-sos-modal__header.feedback .dride-sos-modal__badge-icon { background: #fef3c7; color: #d97706; }
.dride-sos-modal__header.feedback .dride-sos-modal__title { color: #92400e; }
.dride-sos-feedback-hero { padding: 18px; border-radius: 16px; text-align: center; background: linear-gradient(135deg,#fff7ed,#fffbeb); border: 1px solid #fde68a; }
.dride-sos-feedback-hero > i { font-size: 28px; color: #f59e0b; }
.dride-sos-feedback-hero h3 { margin: 8px 0 4px; color: #1e293b; font-size: 1.05rem; }
.dride-sos-feedback-hero p { margin: 0; color: #64748b; font-size: .84rem; }
.dride-sos-stars { display: flex; justify-content: center; gap: 8px; }
.dride-sos-stars button { width: 48px; height: 48px; border: 1px solid #fde68a; border-radius: 14px; background: #fff; color: #f59e0b; font-size: 24px; cursor: pointer; transition: transform .15s ease,background .15s ease; }
.dride-sos-stars button:hover,.dride-sos-stars button[aria-checked="true"] { background: #fffbeb; transform: translateY(-2px); }
.dride-sos-feedback-label { color: #334155; font-size: .86rem; font-weight: 700; }
.dride-sos-feedback-label span { color: #94a3b8; font-weight: 500; }
.dride-sos-submit-btn.feedback { background: linear-gradient(135deg,#f59e0b,#d97706); box-shadow: 0 8px 18px -2px rgba(217,119,6,.35); }
@media (max-width: 520px) { .dride-sos-request-row { align-items: flex-start; flex-direction: column; }  .dride-sos-stars { gap: 4px; } .dride-sos-stars button { width: 44px; height: 44px; } }
.dride-sos-issues-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
gap: 10px;
}
.dride-sos-issue-btn {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 6px;
padding: 12px 8px;
background: #ffffff;
border: 1.5px solid #e2e8f0;
border-radius: 14px;
cursor: pointer;
text-align: center;
transition: transform 0.2s ease, opacity 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
outline: none;
}
.dride-sos-issue-btn i {
font-size: 1.3rem;
color: #64748b;
transition: color 0.2s ease;
}
.dride-sos-issue-btn span {
font-size: 0.8rem;
font-weight: 600;
color: #334155;
line-height: 1.2;
}
.dride-sos-issue-btn:hover {
border-color: #cbd5e1;
background: #f8fafc;
transform: translateY(-2px);
}
.dride-sos-issue-btn.is-selected {
border-color: #dc2626;
background: #fef2f2;
box-shadow: 0 4px 12px rgba(220, 38, 38, 0.15);
}
.dride-sos-issue-btn.is-selected i {
color: #dc2626;
}
.dride-sos-issue-btn.is-selected span {
color: #991b1b;
font-weight: 700;
}
.dride-sos-textarea {
width: 100%;
min-height: 70px;
padding: 10px 14px;
border: 1.5px solid #e2e8f0;
border-radius: 12px;
font-family: inherit;
font-size: 0.88rem;
color: #1e293b;
background: #ffffff;
resize: vertical;
transition:
border-color 0.2s ease,
box-shadow 0.2s ease;
}
.dride-sos-textarea:focus {
outline: none;
border-color: #ef4444;
box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}
.dride-sos-address-box {
background: #f8fafc;
border: 1.5px solid #e2e8f0;
border-radius: 14px;
padding: 12px 14px;
display: flex;
flex-direction: column;
gap: 8px;
}
.dride-sos-address-row {
display: flex;
align-items: center;
gap: 10px;
}
.dride-sos-address-input-wrap {
position: relative;
flex: 1;
display: flex;
align-items: center;
}
.dride-sos-input-icon {
position: absolute;
left: 12px;
color: #ef4444;
font-size: 0.95rem;
pointer-events: none;
}
.dride-sos-input {
width: 100%;
padding: 10px 14px 10px 34px;
background: #ffffff;
border: 1.5px solid #cbd5e1;
border-radius: 10px;
font-family: inherit;
font-size: 0.88rem;
font-weight: 600;
color: #0f172a;
transition: transform 0.2s ease, opacity 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.dride-sos-input:focus {
outline: none;
border-color: #ef4444;
box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}
.dride-sos-gps-btn {
display: inline-flex;
align-items: center;
gap: 6px;
padding: 10px 14px;
background: #ffffff;
border: 1.5px solid #cbd5e1;
border-radius: 10px;
font-size: 0.82rem;
font-weight: 700;
color: #334155;
cursor: pointer;
white-space: nowrap;
transition: transform 0.2s ease, opacity 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.dride-sos-gps-btn:hover {
background: #f1f5f9;
border-color: #94a3b8;
}
.dride-sos-gps-btn.is-active {
background: #dcfce7;
border-color: #86efac;
color: #15803d;
}
.dride-sos-address-hint {
font-size: 0.78rem;
color: #64748b;
display: flex;
align-items: center;
gap: 6px;
line-height: 1.3;
}
.dride-sos-modal__footer {
padding: 16px 24px 20px;
background: #ffffff;
border-top: 1px solid #f1f5f9;
display: flex;
flex-direction: column;
gap: 10px;
}
.dride-sos-submit-btn {
width: 100%;
padding: 13px 20px;
background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
color: #ffffff;
border: none;
border-radius: 14px;
font-size: 1rem;
font-weight: 700;
letter-spacing: 0.02em;
cursor: pointer;
box-shadow: 0 8px 18px -2px rgba(220, 38, 38, 0.4);
display: flex;
align-items: center;
justify-content: center;
gap: 8px;
transition: transform 0.25s ease, opacity 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}
.dride-sos-submit-btn:hover:not(:disabled) {
background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
transform: translateY(-1px);
box-shadow: 0 12px 22px -2px rgba(220, 38, 38, 0.5);
}
.dride-sos-submit-btn:disabled {
opacity: 0.65;
cursor: not-allowed;
transform: none;
box-shadow: none;
}
.dride-sos-success {
text-align: center;
padding: 24px 10px;
display: flex;
flex-direction: column;
align-items: center;
}
.dride-sos-success__icon {
width: 72px;
height: 72px;
border-radius: 50%;
background: #dcfce7;
color: #16a34a;
display: flex;
align-items: center;
justify-content: center;
font-size: 2.2rem;
margin-bottom: 16px;
animation: dride-success-pop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.dride-sos-success h3 {
margin: 0 0 6px;
font-size: 1.35rem;
font-weight: 800;
color: #0f172a;
}
.dride-sos-success p {
margin: 0 0 18px;
color: #64748b;
font-size: 0.92rem;
max-width: 420px;
}
.dride-sos-code-badge {
padding: 8px 20px;
background: #f1f5f9;
border: 1px dashed #94a3b8;
border-radius: 12px;
font-size: 1.15rem;
font-weight: 800;
color: #0f172a;
letter-spacing: 0.05em;
margin-bottom: 20px;
}
.dride-sos-modal__header.tracking { background: linear-gradient(135deg, #eff6ff, #fff); }
.dride-sos-modal__header.tracking .dride-sos-modal__badge-icon { color: #fff; background: #2563eb; }
.dride-sos-modal__body.tracking-body { gap: 18px; background: #f8fafc; }
.dride-sos-tracker__hero {
display: grid;
grid-template-columns: 52px 1fr;
gap: 15px;
padding: 20px;
color: #1e3a8a;
background: linear-gradient(135deg, #dbeafe, #eff6ff);
border: 1px solid #bfdbfe;
border-radius: 18px;
}
.dride-sos-tracker__hero-icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; color: #fff; background: #2563eb; font-size: 1.35rem; box-shadow: 0 8px 18px rgba(37, 99, 235, .22); }
.dride-sos-tracker__hero small, .dride-sos-result-note small, .dride-sos-assignee small { display: block; margin-bottom: 3px; color: #64748b; font-size: .7rem; font-weight: 800; letter-spacing: .06em; }
.dride-sos-tracker__hero h3 { margin: 0 0 5px; font-size: 1.2rem; font-weight: 850; }
.dride-sos-tracker__hero p { margin: 0; color: #475569; font-size: .88rem; line-height: 1.55; }
.dride-sos-assignee { display: grid; grid-template-columns: 42px 1fr auto; gap: 12px; align-items: center; padding: 14px 16px; background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; }
.dride-sos-assignee > span { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; color: #2563eb; background: #eff6ff; }
.dride-sos-assignee strong { color: #0f172a; }
.dride-sos-assignee a { padding: 9px 12px; color: #166534; background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 10px; font-size: .78rem; font-weight: 750; text-decoration: none; }
.dride-sos-timeline { padding: 5px 4px; }
.dride-sos-timeline__item { position: relative; display: grid; grid-template-columns: 38px 1fr; gap: 12px; min-height: 66px; color: #94a3b8; }
.dride-sos-timeline__item:not(:last-child)::after { content: ''; position: absolute; left: 18px; top: 38px; bottom: 0; width: 2px; background: #e2e8f0; }
.dride-sos-timeline__item.is-done:not(:last-child)::after { background: #22c55e; }
.dride-sos-timeline__icon { position: relative; z-index: 1; width: 38px; height: 38px; border: 2px solid #e2e8f0; border-radius: 50%; display: grid; place-items: center; background: #fff; }
.dride-sos-timeline__item.is-done .dride-sos-timeline__icon { color: #fff; border-color: #22c55e; background: #22c55e; }
.dride-sos-timeline__item.is-current .dride-sos-timeline__icon { color: #fff; border-color: #2563eb; background: #2563eb; box-shadow: 0 0 0 5px #dbeafe; }
.dride-sos-timeline__item strong { display: block; margin: 3px 0 2px; color: #64748b; font-size: .88rem; }
.dride-sos-timeline__item.is-done strong, .dride-sos-timeline__item.is-current strong { color: #0f172a; }
.dride-sos-timeline__item small { font-size: .76rem; }
.dride-sos-result-note { padding: 15px 17px; background: #fff; border: 1px solid #bbf7d0; border-left: 4px solid #22c55e; border-radius: 14px; }
.dride-sos-result-note p { margin: 0; color: #334155; line-height: 1.55; }
.dride-sos-tracker__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.dride-sos-tracker__actions button, .dride-sos-tracker__actions a, .dride-sos-new-request { padding: 11px 14px; color: #334155; background: #fff; border: 1px solid #cbd5e1; border-radius: 12px; font: inherit; font-size: .82rem; font-weight: 750; text-align: center; text-decoration: none; cursor: pointer; }
.dride-sos-tracker__actions a { color: #b91c1c; border-color: #fecaca; background: #fff7f7; }
.dride-sos-submit-btn.tracking { background: linear-gradient(135deg, #2563eb, #1d4ed8); box-shadow: 0 8px 18px rgba(37, 99, 235, .25); }
.tracking-footer .dride-sos-feedback-sent { justify-content: center; padding: 10px; }
.dride-sos-new-request { width: 100%; }
@media (max-width: 575.98px) {
.dride-sos-tracker__hero { grid-template-columns: 44px 1fr; padding: 16px; }
.dride-sos-tracker__hero-icon { width: 44px; height: 44px; border-radius: 13px; }
.dride-sos-assignee { grid-template-columns: 38px 1fr; }
.dride-sos-assignee a { grid-column: 1 / -1; }
.dride-sos-tracker__actions { grid-template-columns: 1fr; }
}
@keyframes dride-success-pop {
0% {
transform: scale(0.4);
opacity: 0;
}
100% {
transform: scale(1);
opacity: 1;
}
}
@media (max-width: 767.98px) {
.dride-sos-widget {
right: 12px;
bottom: 14px;
padding: 6px 12px 6px 10px;
gap: 7px;
border-radius: 9999px;
box-shadow: 0 4px 14px rgba(220, 38, 38, 0.4);
}
}
/* design-system.css */
:root {
--dride-primary: var(--dride-brand-500, #1768e5);
--dride-primary-hover: var(--dride-brand-600, #1256bf);
--dride-primary-soft: var(--dride-brand-soft, rgba(23, 104, 229, 0.09));
--dride-accent: var(--dride-success-500, #10b981);
--dride-text: var(--dride-text, #0f172a);
--dride-text-muted: var(--dride-text-muted, #64748b);
--dride-surface: var(--dride-surface, #ffffff);
--dride-canvas: var(--dride-canvas, #f6f9fc);
--dride-border: var(--dride-border, #e2e8f0);
--dride-danger: var(--dride-danger-600, #dc2626);
--dride-focus: var(--dride-brand-500, #1768e5);
--dride-radius-sm: var(--radius-sm, 8px);
--dride-radius-md: var(--radius-md, 12px);
--dride-radius-lg: var(--radius-lg, 18px);
--dride-shadow-sm: var(--shadow-subtle, 0 2px 8px rgba(15, 39, 71, 0.06));
--dride-shadow-md: var(--shadow-card, 0 14px 36px rgba(15, 39, 71, 0.1));
--dride-ease: cubic-bezier(0.16, 1, 0.3, 1);
--dride-font-sans: 'Be Vietnam Pro', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
--dride-font-display: 'Plus Jakarta Sans', 'Be Vietnam Pro', system-ui, -apple-system, sans-serif;
}
html {
color-scheme: light;
text-rendering: optimizeLegibility;
}
body {
background: var(--dride-canvas);
color: var(--dride-text);
font-family: var(--dride-font-sans);
font-size: 14.5px;
line-height: 1.55;
-webkit-font-smoothing: antialiased;
}
h1,
h2,
h3,
h4,
h5,
h6 {
color: var(--dride-text);
font-family: var(--dride-font-display);
line-height: 1.2;
letter-spacing: -0.025em;
text-wrap: balance;
}
p,
li,
label,
input,
select,
textarea,
button {
overflow-wrap: break-word;
}
::selection {
background: #cfe4ff;
color: #082f68;
}
:where(a, button, input, select, textarea, [tabindex]):focus-visible {
outline: 3px solid color-mix(in srgb, var(--dride-focus) 38%, transparent) !important;
outline-offset: 2px !important;
box-shadow: none;
}
:where(button, .btn, [role='button'], a) {
transition:
color 180ms var(--dride-ease),
background-color 180ms var(--dride-ease),
border-color 180ms var(--dride-ease),
box-shadow 180ms var(--dride-ease),
transform 180ms var(--dride-ease);
}
:where(button, .btn, [role='button'], a, input, select) {
touch-action: manipulation;
}
:where(button, .btn, [role='button']):not(:disabled) {
cursor: pointer;
}
:where(button, .btn, input, select, textarea):disabled {
cursor: not-allowed;
opacity: 0.62;
}
:where(input:not([type='checkbox']):not([type='radio']), select, textarea) {
border-color: var(--dride-border);
color: var(--dride-text);
background-color: var(--dride-surface);
}
:where(input, select, textarea)::placeholder {
color: #718096;
opacity: 1;
}
:where(input:not([type='checkbox']):not([type='radio']), select):focus {
border-color: var(--dride-primary);
}
:where(.card) {
border-color: var(--dride-border);
}
:where(.modal-content) {
border: 1px solid var(--dride-border);
box-shadow: 0 28px 80px rgba(15, 39, 71, 0.22);
}
:where(.table, table) {
font-variant-numeric: tabular-nums;
}
:where(.table, table) th {
color: #41516a;
font-size: 0.76rem;
letter-spacing: 0.035em;
}
img {
max-width: 100%;
}
img[loading='lazy'] {
content-visibility: auto;
}
.text-muted {
color: var(--dride-text-muted) !important;
}
.dride-cookie-modal {
box-sizing: border-box;
min-width: 0;
max-width: min(660px, calc(100vw - 32px));
max-height: calc(100dvh - 32px);
overflow-x: hidden;
overflow-y: auto;
}
.dride-cookie-modal__header,
.dride-cookie-modal__brand,
.dride-cookie-modal__tabs {
min-width: 0;
}
.dride-cookie-modal__tabs {
flex-wrap: wrap;
row-gap: 8px;
}
.dride-cookie-toggles-grid {
grid-template-columns: repeat(4, minmax(0, 1fr));
}
.dride-cookie-toggle-item {
min-width: 0;
}
.dride-cookie-toggle-label {
white-space: normal;
overflow-wrap: anywhere;
}
@media (hover: hover) {
:where(.btn-primary, [class*='primary']):not(:disabled):hover {
transform: translateY(-1px);
}
}
@media (pointer: coarse) {
:where(button, .btn, [role='button'], input, select) {
min-height: 44px;
}
:where(.nav-link, .dropdown-item) {
min-height: 44px;
display: inline-flex;
align-items: center;
}
}
@media (max-width: 767.98px) {
h1 {
font-size: clamp(2rem, 10vw, 3rem);
}
h2 {
font-size: clamp(1.55rem, 7vw, 2.2rem);
}
:where(.container, .container-xl) {
padding-inline: 18px;
}
:where(.modal-dialog) {
margin: 12px;
}
.dride-cookie-modal {
width: calc(100vw - 32px);
}
.dride-cookie-toggles-grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
}
@media (prefers-reduced-motion: reduce) {
html {
scroll-behavior: auto !important;
}
*,
*::before,
*::after {
animation-duration: 0.01ms !important;
animation-iteration-count: 1 !important;
scroll-behavior: auto !important;
transition-duration: 0.01ms !important;
}
}
@media (prefers-contrast: more) {
:root {
--dride-border: #8090a5;
--dride-text-muted: #364152;
}
}
.global-form-error{position:fixed;z-index:12000;top:16px;left:50%;transform:translateX(-50%);width:min(92vw,720px);padding:12px 16px;border:1px solid #fecaca;border-radius:10px;background:#fff1f2;color:#9f1239;font-weight:700;box-shadow:0 12px 32px rgba(127,29,29,.2)}.global-form-error[hidden]{display:none}
/* responsive.css */
:root { --mobile-gutter: 16px; --tablet-gutter: 24px; }
html { width: 100%; max-width: 100%; overflow-x: clip; -webkit-text-size-adjust: 100%; }
body { width: 100%; min-width: 320px; max-width: 100%; overflow-x: clip; }
img, svg, video, canvas { max-width: 100%; height: auto; }
#app, #spa-view, .site-main, .home-page { width: 100%; min-width: 0; max-width: 100%; }
:where(.container, .container-xl, .container-xxl, .container-fluid) { min-width: 0; }
:where(.row, [class*="grid"], [class*="layout"], [class*="content"]) > * { min-width: 0; }
:where(input, select, textarea, button) { max-width: 100%; }
:where(input:not([type="checkbox"]):not([type="radio"]), select, textarea) { font-size: max(16px, 1em); }
:where(button, .btn, [role="button"], a.nav-link) { touch-action: manipulation; }
:where(button, .btn, [role="button"]):focus-visible { outline: 3px solid rgba(11, 99, 206, .32); outline-offset: 2px; }
:where(.table-responsive, [class*="table-responsive"], [class*="table-wrap"], [class*="table-container"]) { width: 100%; max-width: 100%; overflow-x: auto; overscroll-behavior-inline: contain; -webkit-overflow-scrolling: touch; }
@media (max-width: 1199.98px) {
html:has(body.modal-open, .offcanvas.showing, .offcanvas.show) { overflow: hidden; }
body { padding-right: 0 !important; margin-right: 0 !important; overflow-x: clip !important; overflow-y: visible !important; }
.site-header { width: 100%; max-width: 100vw; }
.site-header .navbar { flex-wrap: nowrap; gap: 8px; }
.site-header .brand { min-width: 0; flex: 0 1 auto; }
.site-header .brand__copy { min-width: 0; }
.site-header .brand__copy strong { white-space: nowrap; }
.site-header .navbar-toggler { flex: 0 0 auto; }
#primary-navigation.offcanvas-xl { position: fixed; top: 0; right: 0; bottom: 0; height: 100dvh; z-index: 1055; }
.site-main { padding-inline: 0; }
:where(.container, .container-xl, .container-xxl) { width: 100%; max-width: 100%; padding-inline: var(--tablet-gutter); }
:where(.home-hero, .ai-recommend, .home-section, .journey-section, .trust-strip, .home-cta) { max-width: 100%; overflow: clip; }
}
@media (max-width: 767.98px) {
:root { --bs-gutter-x: 1rem; }
body { min-height: 100dvh; }
.dride-cookie-modal-backdrop { box-sizing: border-box; }
:where(.container, .container-sm, .container-xl, .container-xxl) { padding-inline: var(--mobile-gutter); }
:where(h1, .h1) { font-size: clamp(1.75rem, 8vw, 2.4rem); line-height: 1.12; text-wrap: balance; }
:where(h2, .h2) { font-size: clamp(1.4rem, 6vw, 1.9rem); line-height: 1.2; text-wrap: balance; }
:where(p, li, dd) { overflow-wrap: anywhere; }
:where(th, td) { overflow-wrap: normal; word-break: normal; }
:where(button, .btn, [role="button"], .nav-link, summary) { min-height: 44px; }
:where(.modal-backdrop-custom, [class*="modal-backdrop"], .cc-sign-modal, .rental-detail-backdrop, .return-modal-backdrop, .loc-modal-backdrop, .dride-sos-backdrop) { padding: max(12px, env(safe-area-inset-top)) 12px max(12px, env(safe-area-inset-bottom)); }
:where(.modal-dialog, .dash-modal, .cc-sign-dialog, .dride-camera-modal, .dride-sos-modal, .loc-modal, .pay-modal-box, .rental-detail-modal, .return-modal, [class$="-drawer"]) { width: 100%; max-width: 100%; max-height: calc(100dvh - 24px); margin: 0; overflow-y: auto; border-radius: 16px; }
.dride-cookie-modal { width: calc(100vw - 32px); min-width: 0; max-width: calc(100vw - 32px); margin: 0; overflow-x: hidden; }
.dride-cookie-modal__header, .dride-cookie-modal__brand, .dride-cookie-modal__tabs, .dride-cookie-tab-panel { min-width: 0; max-width: 100%; }
.dride-cookie-modal__tabs { flex-wrap: wrap; gap: 10px 16px; }
.dride-cookie-modal__desc { overflow-wrap: anywhere; }
.dride-cookie-toggles-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }
.dride-cookie-toggle-item { min-width: 0; }
.dride-cookie-toggle-label { max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
:where(.modal-footer, [class*="modal-foot"], [class*="drawer-foot"]) { position: sticky; bottom: 0; z-index: 2; display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: max(12px, env(safe-area-inset-bottom)); background: #fff; }
:where(.modal-footer, [class*="modal-foot"], [class*="drawer-foot"]) > :where(button, .btn) { flex: 1 1 140px; }
.toast-region { right: var(--mobile-gutter); bottom: max(var(--mobile-gutter), env(safe-area-inset-bottom)); left: var(--mobile-gutter); width: auto; }
.site-header { padding: 6px 0; background: rgba(248, 251, 255, .94); }
.site-header .container-xl { padding-inline: 10px; }
.site-header .navbar { min-height: 56px; padding: 7px 8px 7px 10px; border-radius: 16px; box-shadow: 0 6px 22px rgba(20, 67, 120, .09); }
.site-header .brand__mark { width: 36px; height: 36px; border-radius: 11px; }
.site-header .brand__mark img { width: 26px; height: 26px; }
.site-header .brand__copy strong { font-size: 1rem; }
.site-header .brand__copy small { display: none; }
#mobile-header-quick-actions { margin-left: auto !important; margin-right: 2px; gap: 6px; flex: 0 0 auto; }
#mobile-user-slot .btn { min-height: 38px; padding: 6px 12px !important; font-size: 12.5px !important; white-space: nowrap; display: inline-flex; align-items: center; }
.nav-btn--location-quick, .nav-btn--notification-mobile, .mobile-avatar-pill .user-avatar-initials, .site-header .navbar-toggler { width: 38px; height: 38px; min-height: 38px; border-radius: 11px; flex: 0 0 auto; }
#primary-navigation.offcanvas-xl {
--bs-offcanvas-width: min(350px, 88vw);
height: 100dvh;
border-left: 1px solid #dce7f5;
border-radius: 24px 0 0 24px;
background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
box-shadow: -16px 0 48px rgba(15, 36, 68, .22);
}
#primary-navigation .offcanvas-header { flex: 0 0 auto; min-height: 68px; padding: 12px 16px; background: #fff; border-bottom: 1px solid #edf2f7; }
#primary-navigation .offcanvas-header .brand__copy small { display: block; font-size: .56rem; }
#primary-navigation .offcanvas-header .btn-close { width: 38px; height: 38px; border-radius: 12px; background-color: #f1f5f9; opacity: .85; }
#primary-navigation .offcanvas-body {
flex: 1 1 auto;
min-height: 0;
max-height: none;
display: flex;
flex-direction: column;
gap: 14px;
overflow-x: hidden;
overflow-y: auto;
overscroll-behavior: contain;
scroll-behavior: auto;
padding: 16px 16px max(18px, env(safe-area-inset-bottom));
}
#primary-navigation .offcanvas-user-card:empty,
#primary-navigation .offcanvas-account-section:empty { display: none; }
#primary-navigation .offcanvas-guest-banner {
padding: 16px;
border-radius: 18px;
border: 1px solid #dbeafe;
background: linear-gradient(135deg, #eff6ff 0%, #f8fbff 100%);
}
#primary-navigation .navbar-nav:not(#header-nav-actions) {
display: flex !important;
flex-direction: column;
gap: 8px;
margin: 0 !important;
}
#primary-navigation .navbar-nav:not(#header-nav-actions) .nav-link {
display: flex;
align-items: center;
gap: 12px;
min-height: 54px;
padding: 10px 14px !important;
border: 1px solid #e6eef8;
border-radius: 16px;
background: #ffffff;
font-size: 14.5px;
font-weight: 650;
color: #1e293b !important;
line-height: 1.3;
box-shadow: 0 2px 8px rgba(15, 23, 42, .03);
transition: transform .15s ease, background-color .15s ease, border-color .15s ease, box-shadow .15s ease;
}
#primary-navigation .navbar-nav:not(#header-nav-actions) .nav-link i {
flex: 0 0 36px;
width: 36px;
height: 36px;
display: inline-grid;
place-items: center;
margin: 0;
border-radius: 11px;
background: #eff6ff;
color: #1768e5;
font-size: 15px;
}
#primary-navigation .navbar-nav:not(#header-nav-actions) .nav-link.active {
border-color: #93c5fd;
background: linear-gradient(135deg, #eff6ff 0%, #e0efff 100%);
color: #0f52ba !important;
font-weight: 750;
box-shadow: 0 4px 14px rgba(23, 104, 229, .12);
}
#primary-navigation .navbar-nav:not(#header-nav-actions) .nav-link.active i {
background: #1768e5;
color: #ffffff;
}
#primary-navigation .navbar-nav:not(#header-nav-actions) .nav-link.active::after { display: none; }
#primary-navigation .offcanvas-footer {
margin-top: auto;
padding-top: 14px;
border-top: 1px solid #e6eef8;
}
#primary-navigation .offcanvas-footer .btn {
min-height: 48px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 14px;
border-color: #bfdbfe;
background: #f0f7ff;
color: #1256bf;
}
#primary-navigation .offcanvas-footer p { font-size: 12px; }
.site-footer { padding-top: 32px; }
.footer-grid { grid-template-columns: 1fr; gap: 24px; }
.footer-brand, .footer-grid > :last-child { grid-column: auto; }
.footer-grid nav { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; }
.footer-grid nav h2 { grid-column: 1 / -1; margin-bottom: 2px; }
.footer-grid nav a { min-height: 40px; display: flex; align-items: center; padding: 6px 0; }
.footer-contact p { align-items: flex-start; }
.footer-bottom { padding-bottom: max(68px, env(safe-area-inset-bottom)); }
:where(.table-responsive, [class*="table-wrap"], [class*="table-container"]) > table:has(th:nth-child(5)) {
width: max-content;
min-width: max(720px, 100%);
}
:where(.table-responsive, [class*="table-wrap"], [class*="table-container"]) > table:has(th:nth-child(5)) :where(th, td) {
min-width: 108px;
white-space: nowrap;
}
}
body:has(.offcanvas.show, .offcanvas.showing, .rental-detail-backdrop, .cc-sign-modal, .loc-modal-backdrop.is-open, .dash-modal-backdrop.show, .dride-dialog-backdrop.is-open) .dride-sos-widget {
opacity: 0;
visibility: hidden;
pointer-events: none;
}
@media (max-width: 399.98px) { :root { --mobile-gutter: 12px; } :where(.btn, button) { white-space: normal; } #mobile-header-quick-actions [data-location-trigger] { display: none; }  }
@media (max-width: 374.98px) {
:where(.stats-grid, .kpi-grid, .dashboard-kpis, .summary-grid) { grid-template-columns: minmax(0, 1fr) !important; }
:where(.filter-toolbar, .search-toolbar, .list-toolbar) :where(input, select, .form-control, .form-select, .btn) { width: 100%; }
}
@media (min-width: 1200px) { .site-header .navbar-toggler { display: none !important; } }
@media (min-width: 1600px) {
:where(.container-xl) { max-width: 1520px; }
:where(.container-xxl) { max-width: 1640px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }
@media (max-width: 991.98px) {
[class*="backdrop"], header, .navbar { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
}
