
/* =============================
 * 상단 헤더
 * ============================= */

 .archive-header {
    height: 76px;
    padding: 0 34px;
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid var(--archive-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(16px);
}

.archive-header-left {
    display: flex;
    align-items: center;
    gap: 16px;
}


.archive-header-path {
    font-size: 12px;
    color: var(--archive-text-light);
}

.archive-header-path strong {
    color: var(--archive-text);
}

.archive-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.archive-header-icon-button {
    width: 41px;
    height: 41px;
    border: 1px solid var(--archive-border);
    border-radius: 11px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--archive-text-sub);
    position: relative;
}

.archive-header-icon-button svg {
    width: 19px;
    height: 19px;
}

.archive-notification-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--archive-danger);
    border: 2px solid #fff;
    position: absolute;
    top: 8px;
    right: 8px;
}

.archive-profile {
    height: 44px;
    padding: 8px 8px 8px 8px;
    border: 1px solid var(--archive-border);
    border-radius: 12px;
    background: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.archive-profile-avatar {
    width: 28px;
    height: 28px;
    border-radius: 5px;
    background:
        linear-gradient(
            135deg,
            var(--archive-blue),
            #7959ff
        );
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 800;
}

.archive-profile-text {
    text-align: left;
}

.archive-profile-text strong {
    display: block;
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 11px;
    color: var(--archive-text);
}

.archive-profile-text span {
    display: block;
    margin-top: 1px;
    font-size: 9px;
    color: var(--archive-text-light);
}






/* =============================
 * 반응형
 * ============================= */

 @media (max-width: 1180px) {
    .archive-stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .archive-file-list-header,
    .archive-file-row {
        grid-template-columns:
            minmax(240px, 1.6fr)
            100px
            110px
            130px;
    }

    .archive-file-list-header > :nth-child(4),
    .archive-file-row > :nth-child(4) {
        display: none;
    }

    .archive-file-list.is-grid .archive-file-list-body {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.archive-mobile-menu {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: none;
    align-items: center;
    justify-content: center;
    color: var(--archive-text);
}
@media (max-width: 900px) {
    .archive-sidebar {
        transform: translateX(-100%);
        transition: transform 0.25s ease;
    }

    .archive-sidebar.is-open {
        transform: translateX(0);
    }

    .archive-sidebar-dimmed {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 90;
        background: rgba(5, 15, 34, 0.54);
        opacity: 0;
        visibility: hidden;
        transition:
            opacity 0.25s,
            visibility 0.25s;
    }

    .archive-sidebar-dimmed.is-visible {
        opacity: 1;
        visibility: visible;
    }

    .archive-main {
        width: 100%;
        margin-left: 0;
    }

    .archive-mobile-menu {
        display: flex;
    }
}

@media (max-width: 720px) {
    .archive-header {
        height: 65px;
        padding: 0 17px;
    }

    .archive-header-path {
        display: none;
    }

    .archive-header-icon-button {
        display: none;
    }

    .archive-profile-text {
        display: none;
    }

    .archive-profile {
        padding-right: 4px;
        padding-left: 4px;
    }

    .archive-content {
        padding: 25px 17px 40px;
    }

    .archive-page-heading {
        align-items: flex-start;
    }

    .archive-page-title {
        font-size: 23px;
    }

    .archive-page-description {
        font-size: 11px;
    }

    .archive-upload-button {
        width: 43px;
        min-width: 43px;
        padding: 0;
    }

    .archive-upload-button span {
        display: none;
    }

    .archive-stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .archive-stat-card {
        min-height: 100px;
        padding: 14px;
        gap: 10px;
    }

    .archive-stat-icon {
        width: 39px;
        height: 39px;
    }

    .archive-stat-text strong {
        font-size: 16px;
    }

    .archive-upload-zone {
        padding: 24px 15px;
    }

    .archive-files-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .archive-search {
        width: 100%;
    }

    .archive-toolbar-actions {
        justify-content: space-between;
    }

    .archive-filter-select {
        flex: 1;
    }

    .archive-file-list-header {
        display: none;
    }

    .archive-file-row {
        min-height: 0;
        padding: 15px;
        display: flex;
        align-items: flex-start;
        flex-wrap: wrap;
        gap: 12px;
    }

    .archive-file-main {
        width: 100%;
    }

    .archive-file-cell {
        display: none;
    }

    .archive-file-actions {
        width: 100%;
        justify-content: flex-start;
    }

    .archive-file-list.is-grid .archive-file-list-body {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 440px) {
    .archive-stat-grid {
        grid-template-columns: 1fr;
    }

    .archive-stat-card {
        min-height: 90px;
    }
}