

.hvfg__modal-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(44, 35, 43, 0.8);
        /* варіація --hvfg__main_dark */
        backdrop-filter: blur(6px);
        display: none;
        justify-content: center;
        align-items: center;
        z-index: 9999;
    }

    .hvfg__loader-wrapper {
        background: var(--hvfg__main_white);
        padding: 30px 40px;
        border-radius: 14px;
        border: 1px solid var(--hvfg__main_border_color);
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 18px;
        max-width: 340px;
        width: 100%;
        font-family: var(--hvfg__font_family), sans-serif;
        color: var(--hvfg__pastel_dark);
        animation: modalFadeIn 0.3s ease-out;
        text-align: center;
    }

    @keyframes modalFadeIn {
        from {
            transform: scale(0.95);
            opacity: 0;
        }

        to {
            transform: scale(1);
            opacity: 1;
        }
    }

    .hvfg__spinner {
        width: 36px;
        height: 36px;
        border: 4px solid var(--hvfg__pastel_white);
        border-top: 4px solid var(--hvfg__main_color);
        border-radius: 50%;
        animation: spin 1s linear infinite;
    }

    ._lang__modal_message_loading {
        font-size: 16px;
        font-weight: 500;
        color: var(--hvfg__dark_accent);
        margin: 0;
    }

    ._lang__modal_message_success {
        font-size: 18px;
        font-weight: bold;
        color: var(--hvfg__info);
        margin: 0;
    }

    .hvfg__spinner-dots {
        display: flex;
        gap: 8px;
        align-items: flex-end;
        height: 24px;
    }

    .hvfg__spinner-dots span {
        width: 8px;
        height: 8px;
        background-color: var(--hvfg__main_color);
        border-radius: 50%;
        display: inline-block;
        animation: bounce 1s infinite ease-in-out;
    }

    .hvfg__spinner-dots span:nth-child(2) {
        animation-delay: 0.2s;
    }

    .hvfg__spinner-dots span:nth-child(3) {
        animation-delay: 0.4s;
    }

    @keyframes bounce {

        0%,
        80%,
        100% {
            transform: translateY(0);
        }

        40% {
            transform: translateY(-10px);
        }
    }



.hvfg__cstm-prdcts-btn-2 {
        display: inline-block;
        padding: 0.6em 1.2em;
        background-color: var(--hvfg__main_white);
        color: var(--hvfg__main_dark);
        border: 1px solid var(--hvfg__main_border_color);
        border-radius: 4px;
        font-family: var(--hvfg__font_family), sans-serif;
        font-size: var(--hvfg__font_size)px;
        text-decoration: none;
        cursor: pointer;
        transition:
            background-color 0.3s ease,
            color 0.3s ease,
            border-color 0.3s ease;
    }

    .hvfg__cstm-prdcts-btn-2:hover {
        background-color: var(--hvfg__main_color);
        color: var(--hvfg__main_white);
        border-color: var(--hvfg__dark_accent);
    }

    .hvfg__cstm-prdcts-btn-2:focus {
        outline: none;
        box-shadow: 0 0 0 3px var(--hvfg__light_accent);
    }











