:root {
    --ep-navy: #0f2044;
    --ep-navy-mid: #1a3360;
    --ep-navy-light: #2a4a85;
    --ep-gold: #c9a84c;
    --ep-gold-light: #e8c87a;
    --ep-surface: #f5f6f8;
    --ep-white: #ffffff;
    --ep-text: #1a2332;
    --ep-muted: #6b7897;
    --ep-border: #e2e6f0;
    --ep-radius: 10px;
}

*, *::before, *::after {
    box-sizing: border-box;
}


html, body {
    height: 100%;
    font-family: "Cairo",'Plus Jakarta Sans', sans-serif !important;
    background: var(--ep-surface);
    color: var(--ep-text);
}

/* ── Top bar ── */
.ep-topbar {
    background: var(--ep-navy);
    padding: 7px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ep-topbar-left {
    display: flex;
    align-items: center;
    gap: 18px;
}

.ep-topbar-text {
    font-size: 11.5px;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: .3px;
}

    .ep-topbar-text strong {
        color: var(--ep-gold-light);
        font-weight: 500;
    }

.ep-topbar-divider {
    width: 1px;
    height: 14px;
    background: rgba(255, 255, 255, 0.15);
}

.ep-topbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ep-topbar-user {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ep-avatar {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--ep-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
    color: var(--ep-navy);
    flex-shrink: 0;
}

.ep-topbar-name {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.75);
}

/* ── Main navbar ── */
.ep-navbar {
    background: var(--ep-white);
    border-bottom: 1px solid var(--ep-border);
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 58px;
    box-shadow: 0 1px 4px rgba(15, 32, 68, 0.06);
}

.ep-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none !important;
}

.ep-brand-icon {
    width: 34px;
    height: 34px;
    background: var(--ep-navy);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .ep-brand-icon i {
        color: var(--ep-gold);
        font-size: 15px;
    }

.ep-brand-name {
    font-family: 'Sora', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--ep-navy);
    letter-spacing: -.3px;
}

    .ep-brand-name span {
        color: var(--ep-gold);
    }

/* Nav links */
.ep-nav {
    display: flex;
    align-items: center;
    gap: 2px;
    list-style: none;
    margin: 0;
    padding: 0;
}

    .ep-nav > li {
        position: relative;
    }

        .ep-nav > li > a {
            display: flex;
            align-items: center;
            gap: 5px;
            padding: 7px 13px;
            font-size: 13.5px;
            font-weight: 500;
            color: var(--ep-muted);
            border-radius: 7px;
            text-decoration: none !important;
            transition: all .15s;
            white-space: nowrap;
        }

            .ep-nav > li > a:hover,
            .ep-nav > li > a.active {
                color: var(--ep-navy);
                background: #f0f3fa;
            }

            .ep-nav > li > a .ep-caret {
                font-size: 9px;
                opacity: .55;
                margin-left: 1px;
            }

        /* Dropdown */
        .ep-nav > li:hover .ep-dropdown {
            display: block;
        }

.ep-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + -2px);
    left: 0;
    min-width: 210px;
    background: var(--ep-white);
    border: 1px solid var(--ep-border);
    border-radius: 10px;
    box-shadow: 0 8px 28px rgba(15, 32, 68, 0.12);
    padding: 6px;
    z-index: 1000;
}

    .ep-dropdown a {
        display: block;
        padding: 8px 12px;
        font-size: 13px;
        font-weight: 500;
        color: var(--ep-text);
        border-radius: 6px;
        text-decoration: none !important;
        transition: all .12s;
    }

        .ep-dropdown a:hover {
            background: var(--ep-surface);
            color: var(--ep-navy);
        }

    .ep-dropdown .ep-dd-divider {
        height: 1px;
        background: var(--ep-border);
        margin: 5px 8px;
    }

    .ep-dropdown .ep-dd-label {
        font-size: 10.5px;
        font-weight: 600;
        color: var(--ep-muted);
        text-transform: uppercase;
        letter-spacing: .5px;
        padding: 6px 12px 4px;
    }

/* Nav actions */
.ep-nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ep-icon-btn {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    border: 1px solid var(--ep-border);
    background: var(--ep-white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--ep-muted);
    font-size: 15px;
    transition: all .15s;
    position: relative;
    text-decoration: none !important;
}

    .ep-icon-btn:hover {
        background: var(--ep-surface);
        color: var(--ep-navy);
        border-color: #c0c8e0;
    }

.ep-notif-dot {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 7px;
    height: 7px;
    background: #e03131;
    border-radius: 50%;
    border: 1.5px solid var(--ep-white);
}

/* ── Page body ── */
.ep-body {
    min-height: calc(100vh - 94px - 56px);
}

/* ── Footer ── */
.ep-footer {
    background: var(--ep-navy);
    padding: 16px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ep-footer-copy {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
}

    .ep-footer-copy a {
        color: var(--ep-gold-light);
        text-decoration: none;
    }

.ep-footer-links {
    display: flex;
    gap: 20px;
}

    .ep-footer-links a {
        font-size: 12px;
        color: rgba(255, 255, 255, 0.4);
        text-decoration: none;
        transition: color .15s;
    }

        .ep-footer-links a:hover {
            color: rgba(255, 255, 255, 0.7);
        }

@media print {
    .ep-topbar, .ep-navbar, .ep-footer {
        display: none !important;
    }
}
