.dashboard-header {
    margin-bottom: 30px;
}

.dashboard-grid {
    display: grid;
    gap: 24px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.delivery-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.delivery-item {
    border-left: 5px solid var(--primary);
}

/* HERO */

.hero {
    min-height: calc(100vh - var(--navbar-height));
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(
            135deg,
            rgba(245,183,0,.08),
            transparent 60%
        );
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        url("../assets/illustrations/watermark-pattern.svg");
    opacity: .04;
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(245,183,0,.15);
    color: var(--primary-dark);
    font-weight: 600;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 25px;
}

.hero p {
    font-size: 1.1rem;
    color: var(--gray-600);
    margin-bottom: 35px;
    max-width: 550px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
    z-index: 2;
}

.hero-image img {
    width: 100%;
    animation: floatHero 4s ease-in-out infinite;
}

@keyframes floatHero {

    0%,100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }

}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-header p {
    color: var(--gray-600);
    max-width: 650px;
    margin: auto;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 15px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.step-card {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 30px 25px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.step-card:hover {
    transform: translateY(-10px);
}

.step-number {
    width: 40px;
    height: 40px;

    margin: auto auto 20px;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--primary);

    font-weight: 700;
}

.step-emoji {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.step-card h3 {
    margin-bottom: 15px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.services-grid .card {
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
    transition: var(--transition);
}

.services-grid .card:hover {
    transform: translateY(-8px);
}

.rider-section {
    background: var(--white);
}

.rider-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.rider-text h2 {
    font-size: 2.5rem;
    margin-bottom: 25px;
}

.rider-text p {
    color: var(--gray-600);
    margin-bottom: 30px;
}

.rider-image img {
    width: 100%;
}

.final-cta {
    background: var(--primary);
    text-align: center;
    padding: 90px 0;
}

.final-cta h2 {
    font-size: 2.7rem;
    margin-bottom: 20px;
}

.final-cta p {
    font-size: 1.1rem;
    margin-bottom: 35px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition:
        opacity .8s ease,
        transform .8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.card,
.step-card {
    transition:
        transform .3s ease,
        box-shadow .3s ease;
}

.card:hover,
.step-card:hover {
    box-shadow: var(--shadow-lg);
}


.dashboard-container {
    max-width: 1200px;
    margin: auto;
    padding: 20px;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;

    margin-bottom: 30px;

    background: white;

    padding: 20px;

    border-radius: 20px;

    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.header-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-circle {
    width: 60px;
    height: 60px;

    border-radius: 50%;

    background: var(--primary-color);

    display: flex;
    justify-content: center;
    align-items: center;

    font-size: 28px;
}

.logo-title {
    color: var(--dark-color);
    margin: 0;
}

.logo-slogan {
    color: #777;
    margin: 0;
}

.logout-btn {
    background: var(--dark-color);

    color: white;

    border: none;

    padding: 12px 20px;

    border-radius: 12px;

    cursor: pointer;
}

.logout-btn:hover {
    opacity: 0.9;
}


.welcome-card {
    background: linear-gradient(
        135deg,
        var(--primary-color),
        #ffd84d
    );

    padding: 30px;

    border-radius: 20px;

    margin-bottom: 30px;

    color: var(--dark-color);
}

.welcome-card h2 {
    margin-top: 0;
}


.quick-actions {
    display: grid;

    grid-template-columns:
        repeat(
            auto-fit,
            minmax(220px,1fr)
        );

    gap: 20px;

    margin-bottom: 30px;
}

.action-card {
    background: white;

    border: none;

    border-radius: 20px;

    padding: 25px;

    text-decoration: none;

    color: inherit;

    cursor: pointer;

    box-shadow:
        0 4px 20px rgba(0,0,0,0.08);

    transition: 0.3s;
}

.action-card:hover {
    transform: translateY(-5px);
}

.action-icon {
    font-size: 32px;
}

.section-title {
    margin-bottom: 20px;
}

.stats-grid {
    display: grid;

    grid-template-columns:
        repeat(
            auto-fit,
            minmax(180px,1fr)
        );

    gap: 20px;

    margin-bottom: 40px;
}

.stat-card {
    background: white;

    padding: 25px;

    border-radius: 20px;

    text-align: center;

    box-shadow:
        0 4px 20px rgba(0,0,0,0.08);
}

.stat-number {
    display: block;

    font-size: 36px;

    font-weight: bold;

    color: var(--primary-color);
}

.stat-label {
    color: #777;
}

.history-list,
.profile-summary {
    background: white;

    border-radius: 20px;

    padding: 20px;

    box-shadow:
        0 4px 20px rgba(0,0,0,0.08);
}

.history-section,
.profile-section {
    margin-bottom: 40px;
}

.empty-state {
    color: #777;

    text-align: center;

    padding: 30px;
}


.action-card {

    position: relative;

    overflow: hidden;

}

.action-card::after {

    content: "";

    position: absolute;

    inset: 0;

    background:

        linear-gradient(

            120deg,

            transparent,

            rgba(244,180,0,0.15),

            transparent

        );

    transform: translateX(-100%);

    transition: 0.5s;

}

.action-card:hover::after {

    transform: translateX(100%);

}

.action-card:hover {

    box-shadow:

        0 10px 30px rgba(
            0,
            0,
            0,
            0.12
        );

}

.delivery-history-card {

    background: #fff;

    border-radius: 16px;

    padding: 18px;

    margin-bottom: 15px;

    box-shadow:
        0 4px 15px rgba(0,0,0,0.06);

}

.delivery-history-top {

    margin-bottom: 12px;

    color: var(--dark-color);

}

.delivery-history-body p {

    margin: 8px 0;

    color: #555;

}


.availability-card {

    background: white;

    padding: 25px;

    border-radius: 20px;

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 20px;

    margin-bottom: 30px;

    box-shadow:
        0 4px 20px rgba(0,0,0,0.08);

}

.availability-btn {

    border: none;

    padding: 14px 22px;

    border-radius: 14px;

    cursor: pointer;

    font-weight: 600;

    transition: 0.3s;

}

.availability-btn.available {

    background: #dff7df;

    color: #1d7a1d;

}

.availability-btn.unavailable {

    background: #f1f1f1;

    color: #666;

}

.request-card {

    background: white;

    border-radius: 16px;

    padding: 20px;

    margin-bottom: 15px;

    box-shadow:
        0 4px 15px rgba(0,0,0,0.06);

}

.request-card h4 {

    margin-top: 0;

    color: var(--dark-color);

}

.request-card p {

    margin: 8px 0;

    color: #555;

}

.accept-btn {

    background: var(--primary-color);

    color: var(--dark-color);

    border: none;

    padding: 12px 18px;

    border-radius: 12px;

    cursor: pointer;

    font-weight: bold;

    margin-top: 10px;

}


.complete-btn {

    margin-top: 12px;

    width: 100%;

    border: none;

    border-radius: 12px;

    padding: 12px;

    cursor: pointer;

    font-weight: 700;

    background: #111111;

    color: white;

    transition: 0.3s;

}

.complete-btn:hover {

    transform: translateY(-2px);

    opacity: 0.9;

}

.realtime-notification {

    position: fixed;

    top: 20px;

    right: 20px;

    background: #111;

    color: white;

    padding: 14px 18px;

    border-radius: 14px;

    box-shadow:
        0 10px 25px rgba(0,0,0,.2);

    transform: translateY(-100px);

    opacity: 0;

    transition: all .35s ease;

    z-index: 9999;

    font-weight: 600;

}

.realtime-notification.show {

    transform: translateY(0);

    opacity: 1;

}

.realtime-card {

    animation:
        cardAppear .4s ease;

}

@keyframes cardAppear {

    from {

        opacity: 0;

        transform:
            translateY(12px);

    }

    to {

        opacity: 1;

        transform:
            translateY(0);

    }

}


.enterprise-badge {

    display: inline-block;

    background: var(--yellow);

    color: var(--black);

    padding: 6px 12px;

    border-radius: 999px;

    font-weight: 700;

    margin-bottom: 12px;

}

.simple-badge {

    display: inline-block;

    background: #f2f2f2;

    color: #333;

    padding: 6px 12px;

    border-radius: 999px;

    font-weight: 700;

    margin-bottom: 12px;

}

.pickup-group {

    margin-bottom: 32px;

}

.pickup-group-header {

    background: var(--yellow);

    color: var(--black);

    padding: 14px 18px;

    border-radius: 14px;

    font-weight: 700;

    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 16px;

    box-shadow:
        0 4px 12px rgba(0,0,0,.08);

}

.pickup-group-header span {

    background: rgba(0,0,0,.08);

    padding: 4px 10px;

    border-radius: 999px;

}

.delivery-status {

    display: inline-block;

    padding: 6px 12px;

    border-radius: 999px;

    font-size: .85rem;

    font-weight: 700;

    margin-bottom: 12px;

}

.status-pending {

    background: #FFF3CD;

    color: #856404;

}

.status-accepted {

    background: #D1ECF1;

    color: #0C5460;

}

.status-completed {

    background: #D4EDDA;

    color: #155724;

}

.active-deliveries-section {

    margin-top: 30px;

}

.delivery-card {

    background: white;

    border-radius: 18px;

    padding: 20px;

    margin-bottom: 20px;

    box-shadow:
        0 6px 18px rgba(0,0,0,.08);

}


.stats-grid {

    display: grid;

    grid-template-columns:
        repeat(
            auto-fit,
            minmax(220px, 1fr)
        );

    gap: 20px;

    margin: 20px 0 40px;

}

.stat-card {

    background: white;

    border-radius: 20px;

    padding: 25px;

    box-shadow:
        0 8px 24px rgba(0,0,0,.08);

    border-top:
        5px solid var(--yellow);

}

.stat-card h3 {

    margin: 0 0 10px;

    color: #666;

    font-size: .95rem;

}

.stat-value {

    font-size: 2rem;

    font-weight: 700;

    color: var(--black);

}

.admin-card {

    background: white;

    border-radius: 18px;

    padding: 20px;

    margin-bottom: 20px;

    box-shadow:
        0 6px 18px rgba(0,0,0,.08);

}

.admin-card p {

    margin: 8px 0;

}

.admin-card-actions {

    display: flex;

    gap: 12px;

    margin-top: 16px;

    flex-wrap: wrap;

}