* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #ed687b;
    --primary-dark: #d95368;
    --secondary: #f6a05d;
    --text: #202124;
    --muted: #777b84;
    --border: #ececf0;
    --surface: #ffffff;
    --background: #f7f8fa;
    --shadow: 0 8px 30px rgba(30, 32, 40, 0.07);
}

body {
    min-height: 100vh;
    background: var(--background);
    color: var(--text);
    font-family: "Manrope", sans-serif;
}

/* =========================
   HEADER
========================= */

.topbar {
    width: 100%;
    height: 78px;
    padding: 0 42px;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(12px);
}

.brand {
    display: flex;
    align-items: center;
}

.brand img {
    width: 190px;
    max-height: 55px;
    object-fit: contain;
    display: block;
    background-color: #2f1423;
    padding: 5px;
    border-radius: 10px;
}
.user-menu {
    position: relative;
}

.user-button {
    border: 0;
    background: transparent;
    display: flex;
    align-items: center;
    gap: 11px;
    cursor: pointer;
    padding: 7px 9px;
    border-radius: 12px;
    transition: 0.25s ease;
    font-family: inherit;
}

.user-button:hover,
.user-button.active {
    background: #f7f7f8;
}

.avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    box-shadow: 0 5px 15px rgba(237, 104, 123, 0.2);
}

.user-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.25;
}

.user-info strong {
    font-size: 13px;
    font-weight: 800;
}

.user-info small {
    color: var(--muted);
    font-size: 10px;
    font-weight: 600;
    margin-top: 2px;
}

.user-button > i {
    color: #8b8d94;
    font-size: 10px;
    margin-left: 3px;
    transition: transform 0.25s ease;
}

.user-button.active > i {
    transform: rotate(180deg);
}

/* =========================
   DASHBOARD
========================= */

.dashboard {
    width: min(760px, calc(100% - 32px));
    margin: 0 auto;
    padding: 52px 0 70px;
}

.welcome {
    margin-bottom: 28px;
}

.eyebrow {
    display: inline-block;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.8px;
    color: var(--primary);
    margin-bottom: 8px;
}

.welcome h1 {
    font-size: clamp(25px, 4vw, 34px);
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -0.8px;
}

.welcome p {
    color: var(--muted);
    font-size: 13px;
    margin-top: 9px;
    line-height: 1.6;
}

/* =========================
   MENU CARDS
========================= */

.dashboard-menu {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.dashboard-card {
    min-height: 86px;
    padding: 15px 18px;
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: var(--text);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.dashboard-card:hover {
    transform: translateY(-2px);
    border-color: rgba(237, 104, 123, 0.3);
    box-shadow: 0 14px 35px rgba(30, 32, 40, 0.1);
}

.card-icon {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    color: var(--primary);
    background: linear-gradient(135deg, rgba(237, 104, 123, 0.12), rgba(246, 160, 93, 0.13));
    font-size: 19px;
}

.card-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.card-content strong {
    font-size: 14px;
    font-weight: 800;
}

.card-content small {
    color: var(--muted);
    font-size: 11px;
    font-weight: 500;
}

.card-arrow {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #9a9da5;
    background: #f7f7f8;
    font-size: 12px;
    transition: 0.25s ease;
}

.dashboard-card:hover .card-arrow {
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    transform: translateX(2px);
}

/* =========================
   MOBILE
========================= */

@media (max-width: 600px) {
    .topbar {
        height: 68px;
        padding: 0 16px;
    }

    .brand img {
        width: 145px;
        max-height: 46px;
    }

    .user-info,
    .user-button > i {
        display: none;
    }

    .user-button {
        padding: 0;
    }

    .avatar {
        width: 40px;
        height: 40px;
    }

    .dashboard {
        width: min(100% - 24px, 760px);
        padding: 30px 0 45px;
    }

    .welcome {
        margin-bottom: 22px;
    }

    .welcome h1 {
        font-size: 24px;
    }

    .welcome p {
        font-size: 12px;
    }

    .dashboard-card {
        min-height: 78px;
        padding: 12px;
        border-radius: 13px;
        gap: 12px;
    }

    .card-icon {
        width: 46px;
        height: 46px;
        flex-basis: 46px;
        border-radius: 11px;
        font-size: 17px;
    }

    .card-content strong {
        font-size: 13px;
    }

    .card-content small {
        font-size: 10px;
    }

    .card-arrow {
        width: 31px;
        height: 31px;
        font-size: 10px;
    }
}

@media (max-width: 360px) {
    .brand img {
        width: 125px;
    }

    .dashboard {
        width: calc(100% - 18px);
    }

    .dashboard-card {
        gap: 9px;
    }
}
