/* CSP-compliant utility classes — replaces inline style="" attributes */

/* ── Empty state icons (large, muted) ── */
.empty-state-icon {
    font-size: 48px;
    color: var(--color-border-ddd);
    margin-bottom: 16px;
}
.empty-state-icon.error {
    color: var(--color-trash-delete);
}
.empty-state-icon.spinner {
    color: var(--color-text-medium);
}

/* ── Dialog header icons (accent color) ── */
.dialog-header-icon {
    color: var(--color-accent);
}

/* ── Icon spacing ── */
.icon-mr {
    margin-right: 5px;
}
.icon-ml {
    margin-left: 4px;
    font-size: 12px;
}

/* ── Success check icon ── */
.check-icon {
    color: var(--color-success-border);
}

/* ── Move dialog ── */
.move-dialog-hint {
    margin: 0 0 12px;
    color: var(--color-text-muted);
    font-size: 14px;
}
.folder-select-container {
    max-height: 220px;
    overflow-y: auto;
}

/* ── Share dialog sections ── */
.share-section {
    margin: 15px 0;
}

/* ── Search spinner ── */
.search-spinner {
    margin-right: 8px;
}

/* ── Search empty state text ── */
.search-empty-text {
    color: var(--text-secondary, var(--color-text-subtle));
}

/* ── Notification upload current file ── */
.notif-upload-current {
    font-size: 11px;
    color: var(--color-text-subtle);
    margin: 3px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ── Login auth hint ── */
.auth-hint {
    color: var(--text-secondary, var(--color-text-medium));
    margin-top: 4px;
    display: block;
}

/* ── About modal (userMenu.js profile popup) ── */
.about-modal-body {
    max-width: 380px;
}
.about-modal-header {
    text-align: center;
    padding: 20px 20px 0;
}
.about-modal-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--color-avatar-gradient);
    color: var(--color-danger-text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
}
.about-modal-username {
    margin: 0;
    font-size: 18px;
    color: var(--color-text-navy);
}
.about-modal-email {
    margin: 4px 0 0;
    font-size: 13px;
    color: var(--color-text-subtle);
}
.about-modal-role {
    display: inline-block;
    margin-top: 8px;
    padding: 2px 10px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
}
.about-modal-role-admin {
    background: var(--color-role-admin-bg);
    color: var(--color-role-admin-text);
}
.about-modal-role-user {
    background: var(--color-border-light);
    color: var(--color-text-subtle);
}
.about-modal-storage {
    padding: 16px 20px;
}
.about-modal-storage-label {
    font-size: 12px;
    color: var(--color-text-subtle);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
}
.about-modal-storage-label i {
    margin-right: 4px;
}
.about-modal-bar-bg {
    background: var(--color-border-light);
    border-radius: 6px;
    height: 8px;
    overflow: hidden;
    margin-bottom: 4px;
}
.about-modal-bar-fill {
    height: 100%;
    border-radius: 6px;
    transition: width 0.3s;
}
.about-modal-bar-text {
    font-size: 12px;
    color: var(--color-text-subtle);
    text-align: right;
}
.about-modal-footer {
    padding: 0 20px 16px;
    display: flex;
    justify-content: center;
}
.about-modal-close-btn {
    padding: 8px 24px;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    background: var(--color-bg-surface);
    color: var(--color-text-dark);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s;
}
