body.drawer-open {
    overflow: hidden;
}

.drawer-overlay {
    position: fixed;
    z-index: 10000;
    inset: 0;
    background: rgba(26, 35, 64, 0.4);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: var(--db-transition-base);
}

.drawer-overlay.open {
    opacity: 1;
    visibility: visible;
}

.nav-drawer {
    position: fixed;
    z-index: 10001;
    top: 0;
    right: 0;
    width: 420px;
    max-width: 90vw;
    height: 100vh;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-drawer.open {
    box-shadow: -10px 0 30px rgba(26, 35, 64, 0.15);
    transform: translateX(0);
}

.drawer-header {
    padding: 0 28px;
    height: 64px;
    border-bottom: 1px solid var(--db-color-card-border);
    display: flex;
    align-items: center;
    justify-content: space-between;

    .logo-name {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: start;
        font-size: 32px;
        line-height: 1;
        font-weight: 700;
        font-family: 'Alegreya Sans', sans-serif;

        .name-blue {
            color: #2e3c80;
        }

        .name-orange {
            font-style: italic;
            color: #d89f33;
        }
    }
}

.drawer-close-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--db-color-card-border);
    background: #F8FAFC;
    color: var(--db-color-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--db-transition-base);
}

.drawer-close-btn:hover {
    background-color: var(--db-color-navy);
    color: #ffffff;
    border-color: var(--db-color-navy);
}

.drawer-close-btn svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    stroke-width: 2.5;
    fill: none;
}

.drawer-body {
    padding: 28px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 28px;
    flex-grow: 1;
}

.drawer-nav-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.drawer-group-title {
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--db-color-purple);
    margin-bottom: 4px;
}

.drawer-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 12px;
    color: var(--db-color-text-main);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--db-transition-base);
    background-color: #F8FAFC;
    border: 1px solid #E8ECEF;
    -webkit-tap-highlight-color: transparent;
}

.drawer-nav-item:hover,
.drawer-nav-item:active {
    background-color: #F1F3F9;
    color: var(--db-color-navy);
    border-color: #CBD5E1;
}

.drawer-nav-item svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    stroke-width: 2.2;
    fill: none;
    color: var(--db-color-text-muted);
    flex-shrink: 0;
    transition: var(--db-transition-base);
}

.drawer-nav-item:hover svg,
.drawer-nav-item:active svg {
    color: var(--db-color-purple);
}
