body {
    background: #f4f7fb;
    font-family: 'Segoe UI', Arial, sans-serif;
    color: #1f2937;
}

.navbar {
    background: linear-gradient(90deg, #0f172a, #1e293b) !important;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.25);
}

.navbar-brand {
    color: #ffffff !important;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.navbar .nav-link {
    color: #dbeafe !important;
    font-weight: 500;
    margin-right: 8px;
    border-radius: 8px;
    padding: 8px 12px !important;
    transition: 0.2s;
}

    .navbar .nav-link:hover {
        background: rgba(255, 255, 255, 0.12);
        color: #ffffff !important;
    }

.container {
    max-width: 1200px;
}

.hero-section {
    background: linear-gradient(135deg, #0f766e, #2563eb);
    color: white;
    border-radius: 24px;
    padding: 55px;
    margin-top: 30px;
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.22);
}

    .hero-section h1 {
        font-size: 48px;
        font-weight: 800;
        line-height: 1.15;
    }

    .hero-section p {
        font-size: 18px;
        opacity: 0.95;
    }

.hero-card {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 22px;
    padding: 30px;
    backdrop-filter: blur(10px);
    text-align: center;
}

.hero-icon {
    font-size: 86px;
    margin-top: 12px;
}

.section-title {
    font-weight: 800;
    margin-bottom: 25px;
}

.dashboard-card {
    background: white;
    border-radius: 20px;
    border: none;
    padding: 25px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
    transition: 0.25s;
    height: 100%;
}

    .dashboard-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 18px 38px rgba(15, 23, 42, 0.14);
    }

.dashboard-icon {
    font-size: 46px;
    margin-bottom: 12px;
}

.btn {
    border-radius: 10px;
    font-weight: 600;
    padding: 9px 16px;
}

.btn-lg {
    padding: 12px 22px;
    border-radius: 14px;
}

.table {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.07);
}

    .table thead {
        background: #0f172a;
        color: white;
    }

    .table th {
        padding: 14px;
        font-weight: 700;
    }

    .table td {
        padding: 13px;
        vertical-align: middle;
    }

.card {
    border: none;
    border-radius: 20px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.form-control {
    border-radius: 10px;
    padding: 10px 12px;
}

.form-label {
    font-weight: 600;
}

.page-title {
    font-weight: 800;
    margin-top: 25px;
    margin-bottom: 25px;
}

.badge {
    padding: 7px 10px;
    border-radius: 8px;
}

footer {
    background: transparent;
}
.page-hero {
    background: linear-gradient(135deg, #111827, #2563eb);
    color: white;
    border-radius: 22px;
    padding: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 14px 32px rgba(37, 99, 235, 0.2);
}

    .page-hero h1 {
        font-weight: 800;
        margin-bottom: 8px;
    }

    .page-hero p {
        margin: 0;
        opacity: 0.9;
    }

.stat-card {
    background: white;
    border-radius: 18px;
    padding: 22px;
    display: flex;
    gap: 16px;
    align-items: center;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
    height: 100%;
}

.stat-icon {
    font-size: 34px;
}

.stat-card p {
    margin: 0;
    color: #6b7280;
    font-weight: 600;
}

.stat-card h3 {
    margin: 4px 0 0;
    font-weight: 800;
}

.content-card {
    background: white;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
}
html {
    min-height: 100%;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

.footer {
    position: static !important;
    width: 100%;
    margin-top: 40px;
    padding: 18px 0;
    background: transparent;
    border-top: 1px solid #e5e7eb;
}
.active-rental-banner {
    max-width: 1200px;
    margin: 0 auto 25px auto;
    padding: 0 12px;
}

.active-rental-content {
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    color: white;
    border-radius: 18px;
    padding: 18px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 12px 28px rgba(239, 68, 68, 0.25);
}

    .active-rental-content h5 {
        margin: 0 0 6px 0;
        font-weight: 800;
    }

    .active-rental-content p {
        margin: 0;
    }

.active-rental-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

    .active-rental-actions form {
        margin: 0;
    }

@media (max-width: 768px) {
    .active-rental-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .active-rental-actions {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

        .active-rental-actions .btn {
            width: 100%;
        }
}
.admin-notification {
    max-width: 1200px;
    margin: 0 auto 25px auto;
    padding: 0 12px;
}

.admin-notification-content {
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    color: white;
    border-radius: 18px;
    padding: 18px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.25);
}

    .admin-notification-content h5 {
        margin: 0 0 6px 0;
        font-weight: 800;
    }

    .admin-notification-content p {
        margin: 0;
    }

.admin-notification-description {
    margin-top: 6px !important;
    opacity: 0.95;
}

.admin-notification-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

@media (max-width: 768px) {
    .admin-notification-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .admin-notification-actions {
        width: 100%;
    }

        .admin-notification-actions .btn {
            width: 100%;
        }
}
#transportMap {
    height: 620px;
    width: 100%;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.10);
}

.custom-map-marker {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    color: white;
    font-size: 23px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid white;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.25);
}

.map-marker-available {
    background: #16a34a;
}

.map-marker-busy {
    background: #f59e0b;
    animation: pulseMarker 1.2s infinite;
}

.map-marker-repair {
    background: #dc2626;
}

@keyframes pulseMarker {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7);
    }

    70% {
        transform: scale(1.12);
        box-shadow: 0 0 0 12px rgba(245, 158, 11, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(245, 158, 11, 0);
    }
}

.map-popup h5 {
    margin-bottom: 8px;
    font-weight: 800;
}

.map-popup p {
    margin: 3px 0;
}
#transportMap {
    height: 700px;
    width: 100%;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.10);
}

.custom-map-marker {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    color: white;
    font-size: 23px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid white;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.25);
}

.map-marker-available {
    background: #16a34a;
}

.map-marker-busy {
    background: #f59e0b;
    animation: pulseMarker 1.2s infinite;
}

.map-marker-repair {
    background: #dc2626;
}

@keyframes pulseMarker {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7);
    }

    70% {
        transform: scale(1.12);
        box-shadow: 0 0 0 12px rgba(245, 158, 11, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(245, 158, 11, 0);
    }
}

.map-popup h5 {
    margin-bottom: 8px;
    font-weight: 800;
}

.map-popup p {
    margin: 3px 0;
}

.map-filter-bar {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.map-filter-btn {
    border: none;
    background: #e5e7eb;
    color: #111827;
    padding: 12px 18px;
    border-radius: 12px;
    font-weight: 700;
    transition: 0.2s;
}

    .map-filter-btn:hover {
        background: #d1d5db;
    }

    .map-filter-btn.active {
        background: linear-gradient(135deg, #1d4ed8, #2563eb);
        color: white;
    }

.map-legend {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    font-weight: 600;
}

.legend-dot {
    width: 13px;
    height: 13px;
    display: inline-block;
    border-radius: 50%;
    margin-right: 6px;
}

    .legend-dot.available {
        background: #16a34a;
    }

    .legend-dot.busy {
        background: #f59e0b;
    }

    .legend-dot.repair {
        background: #dc2626;
    }

.vehicle-side-list {
    max-height: 700px;
    overflow-y: auto;
    padding-right: 6px;
}

.vehicle-list-item {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 14px;
    margin-bottom: 12px;
}

.vehicle-list-top {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 10px;
    margin-bottom: 10px;
}

    .vehicle-list-top h5 {
        margin: 0;
        font-size: 18px;
        font-weight: 800;
    }

    .vehicle-list-top small {
        color: #6b7280;
    }

.vehicle-list-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 10px;
    font-size: 15px;
}

.vehicle-list-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
#transportMap {
    height: 720px;
    width: 100%;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.10);
}

.custom-map-marker {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    color: white;
    font-size: 23px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid white;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.25);
}

.map-marker-available {
    background: #16a34a;
}

.map-marker-busy {
    background: #f59e0b;
    animation: pulseMarker 1.2s infinite;
}

.map-marker-repair {
    background: #dc2626;
}

.user-location-marker {
    width: 44px;
    height: 44px;
    background: #2563eb;
    border-radius: 50%;
    color: white;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid white;
    box-shadow: 0 0 0 10px rgba(37, 99, 235, 0.18), 0 8px 18px rgba(15, 23, 42, 0.25);
}

@keyframes pulseMarker {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7);
    }

    70% {
        transform: scale(1.12);
        box-shadow: 0 0 0 12px rgba(245, 158, 11, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(245, 158, 11, 0);
    }
}

.map-filter-bar {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.map-filter-btn {
    border: none;
    background: #e5e7eb;
    color: #111827;
    padding: 12px 18px;
    border-radius: 12px;
    font-weight: 700;
    transition: 0.2s;
}

    .map-filter-btn:hover {
        background: #d1d5db;
    }

    .map-filter-btn.active {
        background: linear-gradient(135deg, #1d4ed8, #2563eb);
        color: white;
    }

.map-legend {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    font-weight: 600;
}

.legend-dot {
    width: 13px;
    height: 13px;
    display: inline-block;
    border-radius: 50%;
    margin-right: 6px;
}

    .legend-dot.available {
        background: #16a34a;
    }

    .legend-dot.busy {
        background: #f59e0b;
    }

    .legend-dot.repair {
        background: #dc2626;
    }

    .legend-dot.user-location {
        background: #2563eb;
    }

.vehicle-side-list {
    max-height: 430px;
    overflow-y: auto;
    padding-right: 6px;
}

.vehicle-list-item {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 14px;
    margin-bottom: 12px;
}

.vehicle-list-top {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 10px;
    margin-bottom: 10px;
}

    .vehicle-list-top h5 {
        margin: 0;
        font-size: 18px;
        font-weight: 800;
    }

    .vehicle-list-top small {
        color: #6b7280;
    }

.vehicle-list-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 10px;
    font-size: 15px;
}

.vehicle-list-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.pretty-map-popup {
    min-width: 240px;
}

.popup-title-row {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 12px;
    margin-bottom: 12px;
}

    .popup-title-row h5 {
        margin: 0;
        font-weight: 900;
        font-size: 18px;
    }

    .popup-title-row span {
        color: #6b7280;
        font-size: 13px;
    }

.popup-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 9px;
    margin-bottom: 10px;
}

    .popup-info-grid div {
        background: #f8fafc;
        border-radius: 12px;
        padding: 8px;
    }

    .popup-info-grid small {
        display: block;
        color: #6b7280;
        font-size: 12px;
    }

    .popup-info-grid strong {
        font-size: 14px;
    }

.popup-moving-line {
    background: #fff7ed;
    color: #9a3412;
    border-radius: 12px;
    padding: 8px;
    font-weight: 700;
    margin-bottom: 10px;
}

.active-ride-panel {
    max-height: 250px;
    overflow-y: auto;
    padding-right: 6px;
}

.active-ride-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 16px;
    padding: 12px;
    margin-bottom: 10px;
}

.active-ride-icon {
    width: 42px;
    height: 42px;
    background: #f59e0b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.active-ride-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

    .active-ride-info strong {
        font-weight: 900;
    }

    .active-ride-info span {
        color: #92400e;
        font-size: 14px;
    }

.animated-route-line {
    stroke-dasharray: 12;
    animation: routeDashMove 1.2s linear infinite;
}

@keyframes routeDashMove {
    to {
        stroke-dashoffset: -24;
    }
}

.marker-cluster-small,
.marker-cluster-medium,
.marker-cluster-large {
    background-color: rgba(37, 99, 235, 0.25);
}

    .marker-cluster-small div,
    .marker-cluster-medium div,
    .marker-cluster-large div {
        background-color: #2563eb;
        color: white;
        font-weight: 900;
    }
.leaflet-routing-container {
    display: none !important;
}
.system-feature-card {
    display: flex;
    gap: 14px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 16px;
    height: 100%;
}

.system-feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.system-feature-card h5 {
    margin: 0 0 6px 0;
    font-weight: 800;
}

.system-feature-card p {
    margin: 0;
    color: #4b5563;
}

.technology-list {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 14px;
}

    .technology-list span {
        background: #eef2ff;
        color: #3730a3;
        border: 1px solid #c7d2fe;
        border-radius: 999px;
        padding: 9px 14px;
        font-weight: 700;
    }

.role-box {
    border-radius: 18px;
    padding: 18px;
    margin-top: 14px;
}

    .role-box h5 {
        font-weight: 800;
        margin-bottom: 8px;
    }

    .role-box p {
        margin: 0;
    }

.user-role-box {
    background: #ecfdf5;
    border: 1px solid #bbf7d0;
}

.admin-role-box {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
}

.system-flow {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.flow-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

    .flow-item span {
        width: 32px;
        height: 32px;
        border-radius: 50%;
        background: #111827;
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 800;
        flex-shrink: 0;
    }

    .flow-item p {
        margin: 4px 0 0 0;
        color: #4b5563;
    }
.home-hero {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr;
    gap: 40px;
    align-items: center;
    background: linear-gradient(135deg, #111827, #1d4ed8);
    color: white;
    border-radius: 28px;
    padding: 52px;
    margin-bottom: 34px;
    overflow: hidden;
    position: relative;
}

    .home-hero::before {
        content: "";
        position: absolute;
        width: 360px;
        height: 360px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.08);
        right: -100px;
        top: -100px;
    }

.home-hero-content {
    position: relative;
    z-index: 2;
}

.home-badge {
    display: inline-flex;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: white;
    padding: 9px 14px;
    border-radius: 999px;
    font-weight: 800;
    margin-bottom: 20px;
}

.home-hero h1 {
    font-size: 52px;
    line-height: 1.05;
    font-weight: 900;
    max-width: 760px;
    margin-bottom: 20px;
}

.home-hero p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.82);
    max-width: 720px;
    margin-bottom: 26px;
}

.home-hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.home-hero-card {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
}

.phone-preview {
    width: 260px;
    background: #020617;
    border-radius: 34px;
    padding: 14px;
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.35);
    border: 4px solid rgba(255, 255, 255, 0.16);
}

.phone-top {
    width: 80px;
    height: 8px;
    background: #1f2937;
    border-radius: 999px;
    margin: 0 auto 12px auto;
}

.phone-screen {
    background: #f8fafc;
    border-radius: 24px;
    padding: 14px;
    min-height: 390px;
}

.mini-map {
    height: 230px;
    background: linear-gradient(135deg, #dbeafe, #ecfdf5);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.mini-road {
    position: absolute;
    height: 10px;
    background: rgba(15, 23, 42, 0.18);
    border-radius: 999px;
}

.road-one {
    width: 250px;
    transform: rotate(35deg);
    left: -20px;
    top: 90px;
}

.road-two {
    width: 240px;
    transform: rotate(-28deg);
    right: -45px;
    top: 130px;
}

.mini-marker {
    position: absolute;
    width: 42px;
    height: 42px;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.22);
    border: 3px solid white;
}

.marker-green {
    background: #16a34a;
    left: 42px;
    top: 58px;
}

.marker-yellow {
    background: #f59e0b;
    right: 42px;
    bottom: 52px;
    animation: smallPulse 1.4s infinite;
}

.marker-red {
    background: #dc2626;
    left: 95px;
    bottom: 82px;
}

@keyframes smallPulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.08);
    }

    100% {
        transform: scale(1);
    }
}

.phone-info-card {
    background: white;
    border-radius: 16px;
    padding: 14px;
    margin-top: 14px;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

    .phone-info-card span {
        color: #6b7280;
        font-size: 13px;
    }

    .phone-info-card strong {
        display: block;
        color: #111827;
        font-size: 18px;
        margin: 3px 0;
    }

    .phone-info-card small {
        color: #f59e0b;
        font-weight: 800;
    }

.phone-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 14px;
}

    .phone-buttons div {
        height: 40px;
        border-radius: 14px;
        background: #2563eb;
    }

        .phone-buttons div:last-child {
            background: #16a34a;
        }

.home-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-bottom: 38px;
}

.home-stat-item {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 22px;
    padding: 22px;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
}

    .home-stat-item span {
        font-size: 32px;
    }

    .home-stat-item h3 {
        font-weight: 900;
        margin: 12px 0 6px 0;
    }

    .home-stat-item p {
        color: #6b7280;
        margin: 0;
    }

.home-section {
    margin-bottom: 42px;
}

.section-title {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 26px auto;
}

    .section-title span {
        display: inline-block;
        color: #2563eb;
        font-weight: 900;
        margin-bottom: 8px;
    }

    .section-title h2 {
        font-size: 36px;
        font-weight: 900;
        margin-bottom: 10px;
    }

    .section-title p {
        color: #6b7280;
        font-size: 17px;
    }

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.step-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 22px;
    padding: 22px;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
}

.step-number {
    width: 46px;
    height: 46px;
    border-radius: 16px;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    color: white;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.step-card h4 {
    font-weight: 900;
}

.step-card p {
    color: #6b7280;
    margin: 0;
}

.role-showcase {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.role-showcase-card {
    border-radius: 26px;
    padding: 30px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.user-showcase {
    background: linear-gradient(135deg, #ecfdf5, #ffffff);
}

.admin-showcase {
    background: linear-gradient(135deg, #eff6ff, #ffffff);
}

.role-showcase-icon {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: #111827;
    color: white;
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.role-showcase-card h3 {
    font-weight: 900;
}

.role-showcase-card p {
    color: #4b5563;
}

.role-showcase-card ul {
    padding-left: 20px;
    color: #374151;
    margin-bottom: 22px;
}

.role-showcase-card li {
    margin-bottom: 6px;
}

.system-preview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: center;
    background: #f8fafc;
    border-radius: 28px;
    padding: 34px;
    border: 1px solid #e5e7eb;
}

.system-preview-label {
    color: #2563eb;
    font-weight: 900;
}

.system-preview h2 {
    font-size: 34px;
    font-weight: 900;
    margin: 8px 0 12px 0;
}

.system-preview p {
    color: #4b5563;
    font-size: 17px;
}

.preview-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.map-preview-card {
    background: #020617;
    border-radius: 24px;
    padding: 14px;
    box-shadow: 0 22px 44px rgba(15, 23, 42, 0.22);
}

.map-preview-header {
    display: flex;
    gap: 6px;
    margin-bottom: 12px;
}

    .map-preview-header span {
        width: 12px;
        height: 12px;
        background: #475569;
        border-radius: 50%;
    }

.map-preview-body {
    height: 260px;
    background: linear-gradient(135deg, #dbeafe, #dcfce7);
    border-radius: 18px;
    position: relative;
    overflow: hidden;
}

.map-grid-line {
    position: absolute;
    height: 12px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.16);
}

    .map-grid-line.one {
        width: 360px;
        left: -40px;
        top: 80px;
        transform: rotate(28deg);
    }

    .map-grid-line.two {
        width: 360px;
        left: -30px;
        top: 165px;
        transform: rotate(-22deg);
    }

    .map-grid-line.three {
        width: 300px;
        left: 80px;
        top: 120px;
        transform: rotate(72deg);
    }

.map-dot {
    position: absolute;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    color: white;
    border: 3px solid white;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.22);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.green-dot {
    background: #16a34a;
    left: 52px;
    top: 54px;
}

.yellow-dot {
    background: #f59e0b;
    right: 72px;
    top: 130px;
    animation: smallPulse 1.4s infinite;
}

.blue-dot {
    background: #2563eb;
    left: 165px;
    bottom: 50px;
}

@media (max-width: 992px) {
    .home-hero,
    .system-preview,
    .role-showcase {
        grid-template-columns: 1fr;
    }

    .home-stats,
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .home-hero h1 {
        font-size: 40px;
    }
}

@media (max-width: 576px) {
    .home-hero {
        padding: 28px;
    }

    .home-stats,
    .steps-grid {
        grid-template-columns: 1fr;
    }

    .home-hero h1 {
        font-size: 34px;
    }

    .section-title h2 {
        font-size: 28px;
    }
}
.payment-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    padding: 28px;
    box-shadow: 0 14px 35px rgba(15, 23, 42, 0.08);
}

.payment-summary {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    margin-bottom: 24px;
}

    .payment-summary span {
        color: #6b7280;
        font-weight: 700;
    }

    .payment-summary h3 {
        margin: 4px 0 0 0;
        font-weight: 900;
    }

.payment-amount {
    background: #ecfdf5;
    color: #166534;
    border: 1px solid #bbf7d0;
    border-radius: 18px;
    padding: 14px 18px;
    font-size: 24px;
    font-weight: 900;
    white-space: nowrap;
}

.fake-card-preview {
    background: linear-gradient(135deg, #111827, #2563eb);
    color: white;
    border-radius: 24px;
    padding: 24px;
    min-height: 190px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 16px 35px rgba(37, 99, 235, 0.25);
}

.fake-card-top,
.fake-card-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .fake-card-top span,
    .fake-card-bottom span {
        opacity: 0.85;
        font-weight: 700;
    }

    .fake-card-top strong {
        font-size: 24px;
        letter-spacing: 2px;
    }

.fake-card-number {
    font-size: 28px;
    letter-spacing: 3px;
    font-weight: 900;
}

.payment-demo-note {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 12px;
    color: #4b5563;
}
/* ===== FINAL UI POLISH ===== */

body {
    background: radial-gradient(circle at top left, rgba(37, 99, 235, 0.08), transparent 30%), radial-gradient(circle at top right, rgba(124, 58, 237, 0.08), transparent 28%), #f3f6fb;
}

.navbar {
    background: rgba(15, 23, 42, 0.97) !important;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.08) !important;
}

.navbar-brand {
    font-weight: 900;
    letter-spacing: -0.4px;
}

.navbar .nav-link {
    border-radius: 12px;
    padding: 9px 12px !important;
    margin: 0 2px;
    font-weight: 700;
    transition: 0.2s ease;
}

    .navbar .nav-link:hover {
        background: rgba(255, 255, 255, 0.10);
        transform: translateY(-1px);
    }

.active-nav-link {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    box-shadow: 0 8px 18px rgba(37, 99, 235, 0.28);
}

.page-hero,
.content-card,
.stat-card,
.dashboard-card,
.home-stat-item,
.step-card,
.role-showcase-card,
.payment-card,
.success-card,
.success-action-card {
    animation: softAppear 0.35s ease both;
}

@keyframes softAppear {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stat-card,
.dashboard-card,
.home-stat-item,
.step-card,
.role-showcase-card,
.system-feature-card,
.vehicle-list-item,
.active-ride-item,
.success-action-card {
    transition: 0.2s ease;
}

    .stat-card:hover,
    .dashboard-card:hover,
    .home-stat-item:hover,
    .step-card:hover,
    .role-showcase-card:hover,
    .system-feature-card:hover,
    .vehicle-list-item:hover,
    .active-ride-item:hover,
    .success-action-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 16px 34px rgba(15, 23, 42, 0.12);
    }

.btn {
    border-radius: 12px;
    font-weight: 800;
}

.table {
    border-radius: 18px;
    overflow: hidden;
}

    .table thead th {
        background: #f8fafc;
        font-weight: 900;
        color: #111827;
        border-bottom: 1px solid #e5e7eb;
    }

.footer {
    background: rgba(255, 255, 255, 0.78);
    border-top: 1px solid #e5e7eb;
    backdrop-filter: blur(10px);
    padding: 18px 0;
    margin-top: 30px;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

    .footer-inner strong {
        color: #111827;
        margin-right: 10px;
    }

    .footer-inner a {
        margin-left: 14px;
        font-weight: 700;
        text-decoration: none;
    }

        .footer-inner a:hover {
            text-decoration: underline;
        }

/* ===== SUCCESS / FINISH PAGES ===== */

.success-wrapper {
    max-width: 980px;
    margin: 0 auto;
}

.success-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 28px;
    padding: 36px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.10);
    text-align: center;
}

.success-icon {
    width: 82px;
    height: 82px;
    margin: 0 auto 20px auto;
    border-radius: 26px;
    background: linear-gradient(135deg, #16a34a, #22c55e);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
    box-shadow: 0 16px 30px rgba(22, 163, 74, 0.26);
}

    .success-icon.warning {
        background: linear-gradient(135deg, #f59e0b, #f97316);
        box-shadow: 0 16px 30px rgba(245, 158, 11, 0.26);
    }

    .success-icon.blue {
        background: linear-gradient(135deg, #2563eb, #7c3aed);
        box-shadow: 0 16px 30px rgba(37, 99, 235, 0.26);
    }

.success-card h1 {
    font-weight: 900;
    margin-bottom: 10px;
    color: #111827;
}

.success-card p {
    color: #4b5563;
    font-size: 17px;
    max-width: 720px;
    margin: 0 auto 20px auto;
}

.success-details {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 18px;
    margin: 24px 0;
    text-align: left;
}

.success-details-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 1px solid #e5e7eb;
    padding: 10px 0;
}

    .success-details-row:last-child {
        border-bottom: none;
    }

    .success-details-row span {
        color: #6b7280;
        font-weight: 700;
    }

    .success-details-row strong {
        color: #111827;
        text-align: right;
    }

.success-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.success-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 24px;
}

.success-action-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 22px;
    padding: 22px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
}

    .success-action-card div {
        font-size: 34px;
        margin-bottom: 10px;
    }

    .success-action-card h4 {
        font-weight: 900;
        margin-bottom: 8px;
    }

    .success-action-card p {
        color: #6b7280;
        margin-bottom: 14px;
    }

@media (max-width: 768px) {
    .success-grid {
        grid-template-columns: 1fr;
    }

    .success-details-row {
        flex-direction: column;
        gap: 4px;
    }

        .success-details-row strong {
            text-align: left;
        }
}
/* ===== FINAL LAYOUT FIXES ===== */

html,
body {
    min-height: 100%;
}

body {
    min-height: 100vh;
    background: radial-gradient(circle at top left, rgba(37, 99, 235, 0.08), transparent 30%), radial-gradient(circle at top right, rgba(124, 58, 237, 0.08), transparent 28%), #f3f6fb;
}

.site-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.main-wrapper {
    flex: 1;
    padding: 26px 0 34px 0;
}

.main-container {
    max-width: 1240px;
}

.navbar {
    background: rgba(15, 23, 42, 0.97) !important;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.08) !important;
    padding-top: 10px;
    padding-bottom: 10px;
}

.navbar-brand {
    font-weight: 900;
    letter-spacing: -0.4px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.brand-icon {
    width: 34px;
    height: 34px;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.navbar .nav-link {
    border-radius: 12px;
    padding: 9px 12px !important;
    margin: 0 2px;
    font-weight: 700;
    transition: 0.2s ease;
}

    .navbar .nav-link:hover {
        background: rgba(255, 255, 255, 0.10);
        transform: translateY(-1px);
    }

.active-nav-link {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    box-shadow: 0 8px 18px rgba(37, 99, 235, 0.28);
}

.admin-dropdown-menu {
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 8px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16);
}

    .admin-dropdown-menu .dropdown-item {
        border-radius: 12px;
        padding: 10px 12px;
        font-weight: 700;
        color: #111827;
    }

        .admin-dropdown-menu .dropdown-item:hover {
            background: #eff6ff;
            color: #1d4ed8;
        }

.active-dropdown-item {
    background: linear-gradient(135deg, #2563eb, #1d4ed8) !important;
    color: white !important;
}

.page-hero {
    margin-top: 4px;
}

.page-hero,
.content-card,
.stat-card,
.dashboard-card,
.home-stat-item,
.step-card,
.role-showcase-card,
.payment-card,
.success-card,
.success-action-card {
    animation: softAppear 0.35s ease both;
}

@keyframes softAppear {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stat-card,
.dashboard-card,
.home-stat-item,
.step-card,
.role-showcase-card,
.system-feature-card,
.vehicle-list-item,
.active-ride-item,
.success-action-card,
.content-card {
    transition: 0.2s ease;
}

    .stat-card:hover,
    .dashboard-card:hover,
    .home-stat-item:hover,
    .step-card:hover,
    .role-showcase-card:hover,
    .system-feature-card:hover,
    .vehicle-list-item:hover,
    .active-ride-item:hover,
    .success-action-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 16px 34px rgba(15, 23, 42, 0.12);
    }

.btn {
    border-radius: 12px;
    font-weight: 800;
}

.table-responsive {
    border-radius: 18px;
}

.table {
    border-radius: 18px;
    overflow: hidden;
}

    .table thead th {
        background: #f8fafc;
        font-weight: 900;
        color: #111827;
        border-bottom: 1px solid #e5e7eb;
        white-space: nowrap;
    }

    .table td {
        vertical-align: middle;
    }

/* Красиві пусті стани через стандартні alert */
.alert-info,
.alert-success,
.alert-warning,
.alert-light {
    border-radius: 18px;
    border-width: 1px;
    padding: 18px 20px;
    font-weight: 650;
}

.alert-info {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: #1e3a8a;
}

.alert-success {
    background: #ecfdf5;
    border-color: #bbf7d0;
    color: #166534;
}

.alert-warning {
    background: #fffbeb;
    border-color: #fde68a;
    color: #92400e;
}

.alert-light {
    background: #f8fafc;
    border-color: #e5e7eb;
    color: #374151;
}

/* Footer завжди знизу */
.footer {
    background: rgba(255, 255, 255, 0.84);
    border-top: 1px solid #e5e7eb;
    backdrop-filter: blur(10px);
    padding: 18px 0;
    margin-top: auto;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.footer-brand {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

    .footer-brand strong {
        color: #111827;
    }

.footer-links {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

    .footer-links a {
        font-weight: 800;
        text-decoration: none;
    }

        .footer-links a:hover {
            text-decoration: underline;
        }

/* Мобільна адаптація */
@media (max-width: 991px) {
    .navbar-nav {
        padding-top: 12px;
        gap: 4px;
    }

    .navbar .nav-link {
        margin: 2px 0;
    }

    .admin-dropdown-menu {
        background: rgba(255, 255, 255, 0.98);
        margin-bottom: 8px;
    }

    .main-wrapper {
        padding-top: 18px;
    }
}

@media (max-width: 768px) {
    .main-container {
        padding-left: 14px;
        padding-right: 14px;
    }

    .page-hero {
        padding: 24px !important;
        border-radius: 22px !important;
    }

        .page-hero h1 {
            font-size: 30px;
        }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-links {
        gap: 10px;
    }
}

@media (max-width: 576px) {
    .table-responsive {
        font-size: 14px;
    }

    .stat-card {
        min-height: auto;
    }

    .btn-lg {
        padding: 10px 14px;
        font-size: 16px;
    }
}
/* ===== FIX DROPDOWN MENU OVER CONTENT ===== */

header,
.navbar {
    position: relative;
    z-index: 5000;
}

.dropdown-menu {
    z-index: 6000 !important;
}

.admin-dropdown-menu {
    min-width: 240px;
    margin-top: 10px;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 8px;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.22);
}

.page-hero {
    position: relative;
    z-index: 1;
}
header,
.navbar {
    position: relative;
    z-index: 5000;
}

.dropdown-menu {
    z-index: 6000 !important;
}

.admin-dropdown-menu {
    min-width: 240px;
    margin-top: 10px;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 8px;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.22);
}

.page-hero {
    position: relative;
    z-index: 1;
}
/* ===== FINAL DESIGN POLISH PACK ===== */

html,
body {
    min-height: 100%;
}

body {
    min-height: 100vh;
    background: radial-gradient(circle at top left, rgba(37, 99, 235, 0.08), transparent 30%), radial-gradient(circle at top right, rgba(124, 58, 237, 0.08), transparent 28%), #f3f6fb;
}

.site-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: visible !important;
}

.main-wrapper {
    flex: 1;
    padding: 26px 0 34px 0;
}

.main-container {
    max-width: 1240px;
}

header,
.navbar {
    position: relative;
    z-index: 5000;
}

.navbar {
    background: rgba(15, 23, 42, 0.97) !important;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.08) !important;
    padding-top: 10px;
    padding-bottom: 10px;
}

.navbar-brand {
    font-weight: 900;
    letter-spacing: -0.4px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.brand-icon {
    width: 34px;
    height: 34px;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.navbar .nav-link {
    border-radius: 12px;
    padding: 9px 12px !important;
    margin: 0 2px;
    font-weight: 700;
    transition: 0.2s ease;
}

    .navbar .nav-link:hover {
        background: rgba(255, 255, 255, 0.10);
        transform: translateY(-1px);
    }

.active-nav-link {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    box-shadow: 0 8px 18px rgba(37, 99, 235, 0.28);
}

.dropdown-menu {
    z-index: 6000 !important;
}

.admin-dropdown-menu {
    min-width: 240px;
    margin-top: 10px;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 8px;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.22);
}

    .admin-dropdown-menu .dropdown-item {
        border-radius: 12px;
        padding: 10px 12px;
        font-weight: 700;
        color: #111827;
    }

        .admin-dropdown-menu .dropdown-item:hover {
            background: #eff6ff;
            color: #1d4ed8;
        }

.active-dropdown-item {
    background: linear-gradient(135deg, #2563eb, #1d4ed8) !important;
    color: white !important;
}

.page-hero {
    position: relative;
    z-index: 1;
    margin-top: 4px;
    box-shadow: 0 20px 45px rgba(37, 99, 235, 0.18);
}

    .page-hero .btn {
        box-shadow: 0 10px 22px rgba(15, 23, 42, 0.12);
    }

.page-hero,
.content-card,
.stat-card,
.dashboard-card,
.home-stat-item,
.step-card,
.role-showcase-card,
.payment-card,
.success-card,
.success-action-card {
    animation: softAppear 0.35s ease both;
}

@keyframes softAppear {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stat-card,
.dashboard-card,
.home-stat-item,
.step-card,
.role-showcase-card,
.system-feature-card,
.vehicle-list-item,
.active-ride-item,
.success-action-card,
.content-card {
    transition: 0.2s ease;
}

    .stat-card:hover,
    .dashboard-card:hover,
    .home-stat-item:hover,
    .step-card:hover,
    .role-showcase-card:hover,
    .system-feature-card:hover,
    .vehicle-list-item:hover,
    .active-ride-item:hover,
    .success-action-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 16px 34px rgba(15, 23, 42, 0.12);
    }

    .content-card:hover {
        box-shadow: 0 18px 38px rgba(15, 23, 42, 0.09);
    }

.btn {
    border-radius: 12px;
    font-weight: 800;
}

.form-control,
.form-select,
select {
    border-radius: 14px !important;
    border: 1px solid #d1d5db;
    padding: 11px 14px;
    transition: 0.18s ease;
}

    .form-control:focus,
    .form-select:focus,
    select:focus {
        border-color: #2563eb;
        box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
    }

label.form-label {
    font-weight: 800;
    color: #374151;
}

.badge {
    border-radius: 999px;
    padding: 7px 10px;
    font-weight: 800;
}

.table-responsive {
    border-radius: 18px;
}

.table {
    border-radius: 18px;
    overflow: hidden;
}

    .table thead th {
        background: #f8fafc;
        font-weight: 900;
        color: #111827;
        border-bottom: 1px solid #e5e7eb;
        white-space: nowrap;
    }

    .table td {
        vertical-align: middle;
    }

    .table tbody tr {
        transition: 0.16s ease;
    }

        .table tbody tr:hover {
            background: #f8fafc;
        }

    .table td,
    .table th {
        padding-top: 14px;
        padding-bottom: 14px;
    }

.alert-info,
.alert-success,
.alert-warning,
.alert-light {
    border-radius: 18px;
    border-width: 1px;
    padding: 18px 20px;
    font-weight: 650;
}

.alert-info {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: #1e3a8a;
}

.alert-success {
    background: #ecfdf5;
    border-color: #bbf7d0;
    color: #166534;
}

.alert-warning {
    background: #fffbeb;
    border-color: #fde68a;
    color: #92400e;
}

.alert-light {
    background: #f8fafc;
    border-color: #e5e7eb;
    color: #374151;
}

.footer {
    background: rgba(255, 255, 255, 0.84);
    border-top: 1px solid #e5e7eb;
    backdrop-filter: blur(10px);
    padding: 18px 0;
    margin-top: auto;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.footer-brand {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

    .footer-brand strong {
        color: #111827;
    }

.footer-links {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

    .footer-links a {
        font-weight: 800;
        text-decoration: none;
    }

        .footer-links a:hover {
            text-decoration: underline;
        }

/* ===== LOADING OVERLAY ===== */

.page-loader {
    position: fixed;
    inset: 0;
    background: rgba(248, 250, 252, 0.86);
    backdrop-filter: blur(12px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.28s ease;
}

.loader-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 24px 55px rgba(15, 23, 42, 0.18);
}

.loader-icon {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    animation: loaderMove 0.9s ease-in-out infinite alternate;
}

.loader-card strong {
    display: block;
    color: #111827;
    font-size: 18px;
    font-weight: 900;
}

.loader-card span {
    color: #6b7280;
    font-weight: 700;
}

@keyframes loaderMove {
    from {
        transform: translateX(-3px) rotate(-3deg);
    }

    to {
        transform: translateX(3px) rotate(3deg);
    }
}

/* ===== SCROLL TOP BUTTON ===== */

.scroll-top-btn {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 16px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    font-size: 24px;
    font-weight: 900;
    z-index: 4500;
    box-shadow: 0 14px 28px rgba(37, 99, 235, 0.28);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: 0.22s ease;
}

.show-scroll-btn {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 34px rgba(37, 99, 235, 0.38);
}

/* ===== SMALL DETAILS ===== */

.navbar-toggler {
    border-radius: 12px;
    border-color: rgba(255, 255, 255, 0.22);
}

.dropdown-toggle::after {
    vertical-align: middle;
}

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: #e5e7eb;
}

::-webkit-scrollbar-thumb {
    background: #94a3b8;
    border-radius: 999px;
}

    ::-webkit-scrollbar-thumb:hover {
        background: #64748b;
    }

::selection {
    background: #2563eb;
    color: white;
}

/* ===== MOBILE ===== */

@media (max-width: 991px) {
    .navbar-nav {
        padding-top: 12px;
        gap: 4px;
    }

    .navbar .nav-link {
        margin: 2px 0;
    }

    .admin-dropdown-menu {
        background: rgba(255, 255, 255, 0.98);
        margin-bottom: 8px;
    }

    .main-wrapper {
        padding-top: 18px;
    }

    .loader-card {
        width: calc(100% - 32px);
        max-width: 380px;
    }

    .navbar-collapse {
        padding-top: 10px;
    }
}

@media (max-width: 768px) {
    .main-container {
        padding-left: 14px;
        padding-right: 14px;
    }

    .page-hero {
        padding: 24px !important;
        border-radius: 22px !important;
    }

        .page-hero h1 {
            font-size: 30px;
        }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-links {
        gap: 10px;
    }
}

@media (max-width: 576px) {
    .table-responsive {
        font-size: 14px;
    }

    .stat-card {
        min-height: auto;
    }

    .btn-lg {
        padding: 10px 14px;
        font-size: 16px;
    }

    .scroll-top-btn {
        width: 44px;
        height: 44px;
        right: 16px;
        bottom: 16px;
    }

    .loader-card {
        padding: 16px;
    }

    .loader-icon {
        width: 48px;
        height: 48px;
    }
}

/* ===== AUTH PAGES ===== */

.auth-page {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 440px);
    gap: 28px;
    align-items: stretch;
    min-height: calc(100vh - 230px);
}

.auth-visual {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    padding: 42px;
    color: white;
    background: linear-gradient(135deg, #111827, #1d4ed8);
    box-shadow: 0 20px 45px rgba(37, 99, 235, 0.20);
}

    .auth-visual::after {
        content: "";
        position: absolute;
        inset: 0;
        background-image: linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
        background-size: 34px 34px;
        mask-image: linear-gradient(135deg, rgba(0, 0, 0, 0.7), transparent 70%);
        pointer-events: none;
    }

.auth-kicker {
    position: relative;
    z-index: 2;
    display: inline-flex;
    width: fit-content;
    margin-bottom: 20px;
    padding: 9px 14px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: white;
    font-weight: 900;
}

.auth-visual h1 {
    position: relative;
    z-index: 2;
    max-width: 680px;
    margin-bottom: 18px;
    font-size: 46px;
    line-height: 1.08;
    font-weight: 900;
}

.auth-visual p {
    position: relative;
    z-index: 2;
    max-width: 660px;
    margin-bottom: 28px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 18px;
}

.auth-benefits {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: auto;
}

.auth-benefit {
    display: flex;
    gap: 12px;
    align-items: center;
    min-width: 0;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
}

    .auth-benefit span {
        width: 42px;
        height: 42px;
        flex: 0 0 42px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 14px;
        background: rgba(255, 255, 255, 0.16);
        font-size: 23px;
    }

    .auth-benefit strong,
    .auth-benefit small {
        display: block;
    }

    .auth-benefit strong {
        font-weight: 900;
    }

    .auth-benefit small {
        color: rgba(255, 255, 255, 0.76);
        font-weight: 700;
    }

.auth-route-card {
    position: relative;
    z-index: 2;
    max-width: 560px;
    margin-top: 34px;
    padding: 14px;
    border: 4px solid rgba(255, 255, 255, 0.14);
    border-radius: 28px;
    background: #020617;
    box-shadow: 0 24px 55px rgba(0, 0, 0, 0.25);
}

.auth-route-map {
    position: relative;
    min-height: 250px;
    overflow: hidden;
    border-radius: 22px;
    background: linear-gradient(135deg, #dbeafe, #ecfdf5);
}

.auth-road {
    position: absolute;
    height: 12px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.18);
}

.auth-road-one {
    width: 440px;
    left: -58px;
    top: 96px;
    transform: rotate(28deg);
}

.auth-road-two {
    width: 420px;
    right: -82px;
    top: 158px;
    transform: rotate(-22deg);
}

.auth-map-pin {
    position: absolute;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid white;
    border-radius: 50%;
    color: white;
    font-size: 24px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.24);
}

.auth-pin-green {
    left: 74px;
    top: 54px;
    background: #16a34a;
}

.auth-pin-yellow {
    right: 90px;
    bottom: 58px;
    background: #f59e0b;
    animation: smallPulse 1.4s infinite;
}

.auth-pin-blue {
    left: 50%;
    bottom: 84px;
    background: #2563eb;
}

.auth-route-footer {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: center;
    padding: 16px 4px 2px 4px;
}

    .auth-route-footer span {
        display: block;
        color: rgba(255, 255, 255, 0.68);
        font-weight: 700;
    }

    .auth-route-footer strong {
        color: white;
        font-size: 20px;
        font-weight: 900;
    }

.auth-status {
    padding: 8px 12px;
    border-radius: 999px;
    background: #16a34a;
    color: white !important;
    font-weight: 900 !important;
}

.auth-panel {
    display: flex;
    align-items: center;
}

.auth-card {
    width: 100%;
    padding: 32px;
    border: 1px solid #e5e7eb;
    border-radius: 28px;
    background: white;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.10);
    animation: softAppear 0.35s ease both;
}

.auth-card-head {
    display: flex;
    gap: 14px;
    align-items: center;
    margin-bottom: 26px;
}

.auth-icon {
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    color: white;
    font-size: 29px;
    box-shadow: 0 14px 28px rgba(37, 99, 235, 0.25);
}

.auth-card-head span {
    display: block;
    color: #2563eb;
    font-weight: 900;
}

.auth-card-head h2 {
    margin: 2px 0 0 0;
    color: #111827;
    font-weight: 900;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.auth-validation {
    margin: 0;
    padding: 12px 14px;
    border: 1px solid #fecaca;
    border-radius: 14px;
    background: #fef2f2;
    font-weight: 700;
}

    .auth-validation:empty {
        display: none;
    }

.auth-field .form-control {
    min-height: 50px;
    background: #f8fafc;
    font-weight: 650;
}

.auth-field .text-danger {
    display: block;
    margin-top: 6px;
    font-size: 14px;
    font-weight: 700;
}

.auth-check {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    width: fit-content;
    color: #4b5563;
    font-weight: 800;
}

    .auth-check input {
        width: 18px;
        height: 18px;
        accent-color: #2563eb;
    }

.auth-submit {
    width: 100%;
    min-height: 52px;
    margin-top: 2px;
}

.auth-switch {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 22px;
    padding: 16px;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    background: #f8fafc;
    font-weight: 800;
}

    .auth-switch span {
        color: #6b7280;
    }

    .auth-switch a {
        color: #2563eb;
        text-decoration: none;
    }

        .auth-switch a:hover {
            text-decoration: underline;
        }

@media (max-width: 992px) {
    .auth-page {
        grid-template-columns: 1fr;
    }

    .auth-panel {
        align-items: stretch;
    }

    .auth-benefits {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .auth-visual,
    .auth-card {
        border-radius: 22px;
        padding: 24px;
    }

    .auth-visual h1 {
        font-size: 34px;
    }

    .auth-visual p {
        font-size: 16px;
    }

    .auth-card-head {
        align-items: flex-start;
    }

    .auth-route-map {
        min-height: 210px;
    }

    .auth-route-footer {
        align-items: flex-start;
        flex-direction: column;
    }
}
