﻿.card-body {
    padding-bottom: 0 !important;
}
.notification {
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: background-color 0.2s;
}

    .notification:hover {
        background-color: #f3f4f6;
    }

.notification-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background: #dc2626;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}

.user-dropdown {
    position: relative;
    display: inline-block;
}

.user-button {
    background: none;
    border: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    cursor: pointer;
    border-radius: 0.375rem;
    transition: background-color 0.2s;
}

    .user-button:hover {
        background-color: #f3f4f6;
    }

.logout-button {
    background: white;
    border: 1px solid #d1d5db;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: background-color 0.2s;
}

    .logout-button:hover {
        background-color: #f9fafb;
    }

/* Main Content */


.welcome-section {
    margin-bottom: 3rem;
}

.greeting {
    color: #6b7280;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size:20px;
}

.main-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.fleet-title {
    font-size: 3rem;
    font-weight: bold;
    color: #dc2626;
    margin-bottom: 2rem;
}

.features-section {
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.feature-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 1.2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    transition: box-shadow 0.2s;
    text-decoration: none;
    color: inherit;
}

    .feature-card:hover {
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    }

.feature-icon {
    font-size: 1.5rem;
}

.feature-label {
    font-weight: 500;
    font-size: 1.125rem;
}

/* Trip Cards */


.trips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.trip-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.trip-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.trip-icon {
    color: #dc2626;
    font-size: 1.25rem;
}

.trip-title {
    font-size: 1.125rem;
    font-weight: 600;
}

.trip-request-date {
    font-size: 0.875rem;
    color: #6b7280;
}

.trip-details {
    margin-bottom: 1.5rem;
}

.trip-location {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

    .trip-location > i.fa-location-crosshairs {
        color: #4CAF50;
    }

    .trip-location > i.fa-map-marker {
        color: #e10600;
    }

.location-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-top: 6px;
}

.pickup-dot {
    background-color: #f59e0b;
}

.dropoff-dot {
    background-color: #10b981;
}

.location-info {
    flex: 1;
}

.location-label {
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.location-name {
    /*color: #2563eb;*/
    font-size: 0.875rem;
}

.location-time {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 0.25rem;
}

.time-item {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.status-badge {
    padding: 0.5rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 0;
}

    .status-badge.Cancelled {
        background-color: #dc262630;
        color: #dc2626;
    }

    .status-badge.Assigned {
        background-color: #10b98130;
        color: #10b981;
    }

    .status-badge.Pending {
        background-color: #f59e0b30;
        color: #f59e0b;
    }

    .status-badge.Completed {
        background-color: #50596530;
        color: #505965;
    }

    .status-badge.Ongoing {
        background-color: #61a0ff30;
        color: #61a0ff;
    }
    .status-badge.DueNow {
        background-color: #50596530;
        color: #505965;
    }
    .status-badge.Upcoming {
        background-color: #f59e0b30;
        color: #f59e0b;
    }
    .status-badge.OnMaintenance {
        background-color: #61a0ff30;
        color: #61a0ff;
    }

.rebook-btn {
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: 0.2s ease;
    background-color: #5a4bcc30;
    color: #5a4bcc;
    display: flex;
    gap: 10px;
    align-items: center;
}

    .rebook-btn:hover {
        background-color: #5a4bcc60;
    }

.trip-status {
    display: flex;
    justify-content: space-between;
}

.status-badge-round {
    width: 10px;
    height: 10px;
    border-radius: 100%;
}

    .status-badge-round.red {
        background-color: #dc2626;
    }

    .status-badge-round.green {
        background-color: #10b981;
    }

    .status-badge-round.yellow {
        background-color: #f59e0b;
    }

/* Responsive Design */
@media (max-width: 768px) {
    .main-title, .fleet-title {
        font-size: 2rem;
    }

    .main-content {
        padding: 1rem;
    }

    .header {
        padding: 1rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .trips-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .location-time {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .trip-card {
        padding: 1rem;
    }

    .trip-header {
        flex-direction: column;
        gap: 0.5rem;
    }

    .user-button span {
        display: none;
    }

    .logout-button {
        padding: 0.5rem;
        font-size: 0.875rem;
    }
}

/* Icons using CSS */
.feature-card .icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100%;
}

    .feature-card .icon.icon-map {
        color: #2563eb;
        background-color: #2563eb3b;
    }

    .feature-card .icon.icon-file {
        color: #7c3aed;
        background-color: #7c3aed3b;
    }

    .feature-card .icon.icon-sof {
        color: #01adcb;
        background-color: #01adcb3b;
    }

    .feature-card .icon.icon-circle-exclamation {
        color: #f59e0b;
        background-color: #f59e0b3b;
    }

.icon-bell::before {
    content: "🔔";
}

.icon-user::before {
    content: "👤";
}

.icon-chevron::before {
    content: "▼";
    font-size: 0.75rem;
}

/*  .icon-map::before {
                content: "🗺️";
            }

            .icon-file::before {
                content: "📄";
            } */

.icon-calendar::before {
    content: "📅";
}

.icon-clock::before {
    content: "🕘";
}

.icon-ban::before {
    content: "🚫";
}

.icon-fa {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
}

    .icon-fa.icon-conduct-training::before {
        content: "\f51c"; /* The Unicode for fa-chalkboard-user */
        margin-right: 8px;
        /* color: blue; */ /* Example color */
    }

    .icon-fa.icon-group-meeting::before {
        content: "\f2b5"; /* The Unicode for fa-group-user */
    }

.icon-shield::before {
    content: "🛡️";
}

.icon-time::before {
    content: "⏰";
}

.icon-heart::before {
    content: "❤️";
    color: white;
}

.glidego-user-dashboard .rf-page-header-leading {
    display: none;
}

.custom-buttomrf {
    background-color: #fff;
    border: 1px solid #ddd;
    height: 10px;
    width: 70px;
}

    .custom-buttomrf .icon {
        color: var(--default-requester-color);
    }

.btn-class {
    background-color: #da291c;
    color: white;
    flex: 0 0 140px;
    text-align: center;
    padding: 0 20px;
}

.my-ride-card-actions {
    top: -3px !important;
}

.my-ride-card:hover > .my-ride-card-actions {
    right: 135px !important;
    background-color: #ff000030;
}

    .my-ride-card:hover > .my-ride-card-actions.Ongoing {
        background-color: #2196F340;
        color: #2196F3;
    }

    .my-ride-card:hover > .my-ride-card-actions.Assigned {
        background-color: #00968840;
        color: #009688;
    }

    .my-ride-card:hover > .my-ride-card-actions.Pending {
        background-color: #ff980040;
        color: #ff9800;
    }

    .my-ride-card:hover > .my-ride-card-actions.Cancelled {
        background-color: #bf2d2340;
        color: #bf2d23;
    }

    .my-ride-card:hover > .my-ride-card-actions.Completed {
        background-color: #607D8B40;
        color: #607D8B;
    }
.body-space {
    background-color: #fff;
}

.grid-rf-body {
    padding: 2px 0 !important;
}

.welcome-section .banner {
    width: 100%;
    /* height: 110px; */
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-image: url("../../image/user-dashboard-bg.png");
}

    .welcome-section .banner .top-left-image, .welcome-section .banner .top-right-image {
        height: 100px;
    }

.welcome-text {
    font-family: Lato;
    font-size: 36px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    white-space: nowrap;
    text-align: center;
    color: #222221;
    text-align: center;
}

    .welcome-text .logo-text {
        color: #009CA6;
    }

.trips-section {
    border-radius: 8px;
    border: 1px solid rgba(34, 34, 33, 0.08);
    background: #FFF;
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.09);
    display: flex;
    padding: 16px;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
    margin-bottom:10px;
}

    .trips-section .title {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .trips-section .glidego-requester-section-title {
        color: #222221;
        font-family: Lato;
        font-size: 20px;
        font-style: normal;
        font-weight: 600;
        line-height: 30px;
    }

    .trips-section .glidego-requester-section-view-all {
        color: #222221;
        /* Body/Body Small 14 */
        font-family: Lato;
        font-size: 14px;
        font-style: normal;
        font-weight: 400;
        line-height: normal;
        text-decoration-line: underline;
        text-decoration-style: solid;
        text-decoration-skip-ink: auto;
        text-decoration-thickness: auto;
        text-underline-offset: auto;
        text-underline-position: from-font;
    }


.trips-section-top {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 30px;
}

    .trips-section-top .link-div {
        border-radius: 10px;
        border: 2px solid #EEEFF0;
        display: flex;
        flex-direction: column;
        gap: 10px;
        padding: 20px;
        position: relative;
        height: 260px;
    }

        .trips-section-top .link-div .link-icon {
            width: 50px;
            height: 46px;
            border-radius: 8px;
            background-color: #E6F7F8;
            color: #009CA6;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .trips-section-top .link-div .link-title {
            color: #222221;
            font-family: Lato;
            font-size: 18px;
            font-style: normal;
            font-weight: 400;
            line-height: normal;
        }

        .trips-section-top .link-div .link-desc {
            color: #999;
            font-family: Lato;
            font-size: 16px;
            font-style: normal;
            font-weight: 400;
            line-height: 128.07%;
        }

        .trips-section-top .link-div .link-button {
            color: #222221;
            font-family: Lato;
            font-size: 16px;
            font-style: normal;
            font-weight: 400;
            line-height: normal;
            display: flex;
            height: 46px;
            padding: 14px 20px;
            flex-direction: column;
            align-items: center;
            border-radius: 8px;
            background: #E8E8E8;
            border: none;
            position: absolute;
            bottom: 0;
            margin: 10px 0;
            width: calc(100% - 40px);
        }

            .trips-section-top .link-div .link-button.active {
                color: #FFF;
                background: #009CA6;
            }

.glidego-all-trip .grid-rf .pager-rf {
    display: none;
}

.gg-all-trip-body-no-scroll {
    overflow: hidden !important;
    height: 0 !important;
}

.gg-all-trip-body-with-scroll {
    overflow: auto !important;
    height: auto !important;
}