:root {
    --ride-ink: #102235;
    --ride-muted: #6c7f8f;
    --ride-teal: #18b99f;
    --ride-cyan: #35a9d6;
    --ride-orange: #ff8b55;
    --ride-navy: #0b2032;
}

html {
    min-height: 100%;
}

body.ride-theme {
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;
    color: var(--ride-ink);
    background:
        radial-gradient(circle at 12% 18%, rgba(40, 190, 164, .16), transparent 31%),
        radial-gradient(circle at 88% 12%, rgba(255, 139, 85, .13), transparent 28%),
        linear-gradient(145deg, #edf7f6 0%, #e6f0f5 46%, #f7f1eb 100%);
    background-attachment: fixed;
    font-family: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
    isolation: isolate;
}

@media (pointer: fine) {
    body.ride-theme,
    body.ride-theme a,
    body.ride-theme button,
    body.ride-theme input,
    body.ride-theme select,
    body.ride-theme textarea {
        cursor: none !important;
    }
}

#ride-particles {
    position: fixed;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.ride-ambient-glow {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 0;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    pointer-events: none;
    opacity: .72;
    background: radial-gradient(circle, rgba(33, 190, 162, .18), rgba(53, 169, 214, .07) 42%, transparent 72%);
    will-change: transform;
}

.ride-cursor-ring,
.ride-cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10020;
    pointer-events: none;
    border-radius: 50%;
    will-change: transform;
}

.ride-cursor-ring {
    width: 31px;
    height: 31px;
    border: 2px solid rgba(17, 164, 142, .76);
    box-shadow: 0 0 18px rgba(24, 185, 159, .2);
    transition: width .16s ease, height .16s ease, border-color .16s ease, background .16s ease;
}

.ride-cursor-ring.is-hovering {
    width: 49px;
    height: 49px;
    border-color: rgba(255, 139, 85, .72);
    background: rgba(255, 139, 85, .08);
}

.ride-cursor-dot {
    width: 6px;
    height: 6px;
    background: var(--ride-orange);
    box-shadow: 0 0 10px rgba(255, 139, 85, .72);
}

.ride-navbar {
    font-family: 'Lato', sans-serif;
    position: sticky;
    top: 0;
    z-index: 2000;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,.14);
    background: rgba(8, 29, 45, .9);
    box-shadow: 0 8px 32px rgba(7, 27, 42, .16);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.ride-navbar .navbar-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    letter-spacing: .4px;
}

.ride-navbar .nav-link {
    font-family: 'Lato', sans-serif;
    font-size: .95rem;
    font-weight: 400;
    letter-spacing: .5px;
    margin: 0 3px;
    padding: 8px 14px !important;
    border-radius: 12px;
    color: rgba(235, 247, 250, .75) !important;
    transition: color .2s ease, background .2s ease, transform .2s ease;
}

.ride-navbar .nav-link:hover {
    color: white !important;
    background: rgba(255,255,255,.08);
    transform: translateY(-1px);
}

.ride-navbar .nav-link.active {
    color: white !important;
    background: linear-gradient(135deg, rgba(24,185,159,.88), rgba(53,169,214,.78));
    box-shadow: 0 7px 18px rgba(24, 185, 159, .18);
}

.ride-main-content {
    position: relative;
    z-index: 1;
    min-height: calc(100vh - 190px);
}

.ride-theme .card,
.ride-theme .container-controls,
.ride-theme .stat-card {
    border: 1px solid rgba(255,255,255,.72) !important;
    background: rgba(255,255,255,.72) !important;
    box-shadow: 0 14px 38px rgba(37, 75, 91, .1) !important;
    backdrop-filter: blur(13px);
    -webkit-backdrop-filter: blur(13px);
}

.ride-theme .ride-card {
    overflow: hidden;
    border-radius: 18px;
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.ride-theme .ride-card:hover {
    transform: translateY(-7px);
    border-color: rgba(24, 185, 159, .32) !important;
    box-shadow: 0 22px 50px rgba(31, 92, 104, .16) !important;
}

.ride-theme .btn-primary {
    border: 0;
    background: linear-gradient(135deg, var(--ride-teal), var(--ride-cyan));
    box-shadow: 0 7px 18px rgba(24, 185, 159, .18);
}

.ride-theme .btn-primary:hover {
    background: linear-gradient(135deg, #13a990, #279bc8);
    transform: translateY(-1px);
}

.ride-theme .card-header.bg-primary {
    border: 0;
    background: linear-gradient(120deg, var(--ride-teal), var(--ride-cyan) 58%, var(--ride-orange)) !important;
}

.ride-theme .table {
    --bs-table-bg: transparent;
    --bs-table-striped-bg: rgba(24, 185, 159, .035);
    --bs-table-hover-bg: rgba(53, 169, 214, .06);
}

.ride-theme .table-light {
    --bs-table-bg: rgba(227, 243, 243, .72);
}

.ride-theme .pagination .page-link {
    color: var(--ride-ink);
    border: 0;
    background: rgba(255,255,255,.72);
    box-shadow: 0 4px 12px rgba(36, 74, 88, .08);
}

.ride-theme .pagination .active .page-link {
    color: white;
    background: linear-gradient(135deg, var(--ride-teal), var(--ride-cyan));
}

.ride-alerts {
    position: relative;
    z-index: 4;
}

.ride-alerts .alert {
    border: 1px solid rgba(255,255,255,.72);
    border-radius: 14px;
    box-shadow: 0 12px 28px rgba(35, 76, 89, .1);
    backdrop-filter: blur(12px);
}

.ride-footer {
    position: relative;
    z-index: 1;
    color: var(--ride-muted);
}

@media (max-width: 768px) {
    .ride-navbar .nav-link {
        margin: 3px 0;
    }

}
