.cv-loading-overlay {
    position: fixed;
    inset: 0;
    z-index: 10080;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(244, 248, 255, 0.82);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.12s ease, visibility 0.12s ease;
}

html.cv-page-loading,
body.cv-page-loading {
    cursor: progress;
}

.cv-loading-overlay.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.cv-loading-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 160px;
    padding: 18px 22px 16px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
    border: 1px solid rgba(24, 119, 242, 0.12);
}

.cv-loading-gif {
    width: 72px;
    height: 72px;
    object-fit: contain;
    display: block;
}

.cv-loading-spinner {
    width: 52px;
    height: 52px;
    border: 4px solid rgba(24, 119, 242, 0.18);
    border-top-color: #1877F2;
    border-radius: 50%;
    animation: cv-loading-spin 0.75s linear infinite;
}

@keyframes cv-loading-spin {
    to {
        transform: rotate(360deg);
    }
}

.cv-loading-text {
    font: 700 0.88rem/1.2 Inter, "Segoe UI", Roboto, Arial, sans-serif;
    color: #1877F2;
    letter-spacing: 0.01em;
}

.quick-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.quick-item {
    transition: transform 0.2s ease, color 0.2s ease;
}

.quick-item .quick-icon {
    transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, color 0.22s ease;
}

.quick-item .quick-label {
    transition: color 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
    .quick-item:hover,
    .quick-item:focus-visible {
        transform: translateY(-2px);
    }

    .quick-item:hover .quick-icon,
    .quick-item:focus-visible .quick-icon {
        background: linear-gradient(180deg, #1877F2 0%, #166fe5 100%) !important;
        color: #fff !important;
        transform: scale(1.06);
        box-shadow: 0 14px 26px rgba(24, 119, 242, 0.28);
    }

    .quick-item:hover .quick-label,
    .quick-item:focus-visible .quick-label {
        color: #1877F2;
        font-weight: 800;
    }
}

.quick-item:active {
    transform: translateY(0);
}

.quick-item:active .quick-icon {
    transform: scale(0.98);
}
