
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


body {
    font-family: Arial, sans-serif;
    background: #f5f7fb;
    color: #172033;
}


/* =========================
   NAVBAR
========================= */

.dashboard-nav {
    height: 75px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 7%;
    border-bottom: 1px solid #e8ebf2;
}


.logo span {
    font-size: 26px;
    font-weight: 800;
    color: #2563eb;
}


.nav-right {
    display: flex;
    align-items: center;
    gap: 25px;
}


.nav-right a,
.nav-right button {
    text-decoration: none;
    color: #4b5563;
    font-size: 14px;
    background: none;
    border: none;
    cursor: pointer;
}


.nav-right i {
    margin-right: 6px;
}


.nav-right button {
    color: #ef4444;
}


/* =========================
   DASHBOARD
========================= */

.dashboard {
    width: 86%;
    max-width: 1250px;
    margin: auto;
    padding: 45px 0 70px;
}


/* =========================
   WELCOME
========================= */

.welcome {
    background: linear-gradient(
        135deg,
        #2563eb,
        #4f46e5
    );

    color: white;

    border-radius: 22px;

    padding: 38px 45px;

    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 28px;
}


.small-title {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    opacity: .75;
    margin-bottom: 8px;
}


.welcome h1 {
    font-size: 32px;
    margin-bottom: 8px;
}


.welcome p:last-child {
    opacity: .85;
}


.profile-circle {
    width: 65px;
    height: 65px;

    border-radius: 50%;

    background: white;

    color: #2563eb;

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 25px;
    font-weight: 800;
}


/* =========================
   STATS
========================= */

.stats-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 20px;

    margin-bottom: 40px;
}


.stat-card {
    background: white;

    border-radius: 17px;

    padding: 24px;

    display: flex;

    align-items: center;

    gap: 17px;

    box-shadow:
        0 5px 20px rgba(0,0,0,.04);
}


.stat-icon {
    width: 48px;
    height: 48px;

    border-radius: 13px;

    background: #eff6ff;

    color: #2563eb;

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 20px;
}


.stat-card span {
    display: block;

    color: #737b8c;

    font-size: 13px;

    margin-bottom: 5px;
}


.stat-card strong {
    font-size: 25px;
}


/* =========================
   HEADINGS
========================= */

.section-heading {
    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 20px;
}


.section-heading h2 {
    font-size: 25px;
}


.new-booking {
    background: #2563eb;

    color: white;

    text-decoration: none;

    padding: 11px 18px;

    border-radius: 10px;

    font-size: 13px;

    font-weight: 600;
}


.new-booking i {
    margin-right: 6px;
}


/* =========================
   BOOKING
========================= */

.booking-section {
    margin-bottom: 50px;
}


.booking-card {
    background: white;

    border-radius: 18px;

    padding: 25px;

    box-shadow:
        0 5px 20px rgba(0,0,0,.04);

    border-left: 5px solid #2563eb;
}


.booking-top {
    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 20px;
}


.booking-service {
    display: flex;

    align-items: center;

    gap: 15px;
}


.booking-icon {
    width: 50px;
    height: 50px;

    border-radius: 13px;

    background: #eff6ff;

    color: #2563eb;

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 20px;
}


.booking-service h3 {
    font-size: 18px;
    margin-bottom: 4px;
}


.booking-service p {
    font-size: 13px;
    color: #737b8c;
}


.status {
    background: #dcfce7;

    color: #15803d;

    padding: 7px 13px;

    border-radius: 20px;

    font-size: 12px;

    font-weight: 700;
}


.booking-details {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 15px;

    border-top: 1px solid #edf0f5;

    padding-top: 20px;
}


.detail {
    display: flex;

    gap: 10px;

    align-items: center;
}


.detail i {
    color: #2563eb;
}


.detail span {
    color: #7a8292;

    font-size: 11px;

    display: block;
}


.detail strong {
    font-size: 13px;
}


.empty-booking {
    background: white;

    text-align: center;

    padding: 50px 20px;

    border-radius: 18px;
}


.empty-icon {
    width: 65px;
    height: 65px;

    border-radius: 50%;

    background: #eff6ff;

    color: #2563eb;

    display: flex;

    align-items: center;
    justify-content: center;

    margin: auto auto 15px;

    font-size: 25px;
}


.empty-booking h3 {
    margin-bottom: 8px;
}


.empty-booking p {
    color: #7a8292;

    margin-bottom: 18px;
}


.empty-booking a {
    display: inline-block;

    background: #2563eb;

    color: white;

    text-decoration: none;

    padding: 11px 20px;

    border-radius: 9px;

    font-size: 13px;
}


/* =========================
   SERVICES
========================= */

.services-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 18px;
}


.service-card {
    background: white;

    padding: 23px;

    border-radius: 16px;

    text-decoration: none;

    color: #172033;

    transition: .25s;

    box-shadow:
        0 5px 20px rgba(0,0,0,.04);
}


.service-card:hover {
    transform: translateY(-4px);
}


.service-card > div {
    width: 45px;
    height: 45px;

    border-radius: 12px;

    background: #eff6ff;

    color: #2563eb;

    display: flex;

    align-items: center;
    justify-content: center;

    margin-bottom: 15px;
}


.service-card h3 {
    font-size: 16px;

    margin-bottom: 5px;
}


.service-card p {
    color: #7a8292;

    font-size: 12px;
}


/* =========================
   TOAST
========================= */

#toast {
    position: fixed;

    bottom: 25px;
    right: 25px;

    background: #172033;

    color: white;

    padding: 13px 20px;

    border-radius: 10px;

    font-size: 13px;

    opacity: 0;

    transform: translateY(20px);

    pointer-events: none;

    transition: .3s;
}


#toast.show {
    opacity: 1;

    transform: translateY(0);
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 900px) {

    .stats-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }


    .services-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }


    .booking-details {
        grid-template-columns:
            1fr;
    }

}


@media (max-width: 600px) {

    .dashboard {
        width: 92%;
        padding-top: 25px;
    }


    .dashboard-nav {
        padding: 0 4%;
    }


    .nav-right a {
        display: none;
    }


    .welcome {
        padding: 28px;

        border-radius: 18px;
    }


    .welcome h1 {
        font-size: 24px;
    }


    .stats-grid {
        grid-template-columns: 1fr;
    }


    .services-grid {
        grid-template-columns: 1fr;
    }


    .section-heading {
        align-items: flex-start;

        gap: 15px;
    }


    .new-booking {
        white-space: nowrap;
    }


    .booking-top {
        align-items: flex-start;

        gap: 15px;
    }

}

