.btn {
    width: 100%;
    background: #f7c7a3; /* Мутная в начале */
    color: #fff;
    border: none;
    padding: 16px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: not-allowed;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.btn.active {
    background: #e67317; /* Светится при нажатии галочки */
    opacity: 1;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(230, 115, 23, 0.2);
}











/* Базовые сбросы */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    background-color: #ffffff;
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Шапка */
.header {
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f0f0f0;
}

.domain {
    font-size: 13px;
    color: #999;
}

.security-info {
    font-size: 10px;
    color: #bbb;
    text-align: right;
    line-height: 1.2;
}

/* Контентная часть */
.container {
    flex-grow: 1;
    padding: 30px 20px;
    max-width: 400px;
    margin: 0 auto;
    width: 100%;
}

.payment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.amount {
    font-size: 26px;
    font-weight: 700;
}

.lang-switcher {
    border: 1px solid #ddd;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
}

.product-name {
    font-size: 16px;
    color: #444;
    margin-bottom: 40px;
}

/* Кнопка */
.btn-pay {
    width: 100%;
    background-color: #e67317;
    color: #fff;
    border: none;
    padding: 16px;
    border-radius: 4px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.btn-pay:hover {
    background-color: #d46914;
}

/* Футер */
.footer {
    padding: 40px 20px;
    text-align: center;
    border-top: 1px solid #f0f0f0;
}

.bepaid-logo {
    font-size: 30px;
    font-weight: 900;
    font-style: italic;
    letter-spacing: -1.5px;
    margin-bottom: 25px;
}

.trust-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap; /* Если на мобилке не влезут в ряд, перенесутся */
    gap: 15px;      /* Расстояние между логотипами */
    opacity: 0.6;   /* Делаем чуть приглушенными, как в оригинале */
    filter: grayscale(1); /* Делаем черно-белыми для стиля */
    margin-top: 20px;
}

.trust-icons img {
    height: 20px;    /* Фиксируем высоту всех логотипов */
    width: auto;     /* Ширина подберется автоматически пропорционально */
    display: block;
    object-fit: contain;
}

/* Если PCI DSS или Mastercard выглядят мелко, можно точечно поправить */
.trust-icons img[alt="Mastercard"] {
    height: 24px; 
}







            * { box-sizing: border-box; margin: 0; padding: 0; font-family: -apple-system, system-ui, sans-serif; }
        body { background: #fff; padding: 20px; color: #333; }
        .container { max-width: 400px; margin: 0 auto; }
        
        .header-top { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid #f0f0f0; margin-bottom: 20px; }
        .domain { font-size: 13px; color: #999; }
        .secure-txt { font-size: 10px; color: #ccc; text-align: right; line-height: 1.2; }

        .back-link { font-size: 14px; color: #555; margin-bottom: 20px; cursor: pointer; }
        .price-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 5px; }
        .amount { font-size: 24px; font-weight: 800; color: #000; }
        .lang { border: 1px solid #ccc; padding: 2px 8px; border-radius: 6px; font-size: 14px; }
        .product-desc { font-size: 14px; color: #444; margin-bottom: 25px; font-weight: 500; }

        /* Белая карточка формы */
        .form-card { background: #fff; border-radius: 12px; padding: 5px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); border: 1px solid #f1f5f9; }

        /* Поля ввода */
        .input-box { background: #f1f3f6; border-radius: 8px; height: 50px; display: flex; align-items: center; padding: 0 15px; margin-bottom: 10px; width: 100%; }
        .input-box input { background: transparent; border: none; outline: none; width: 100%; font-size: 15px; color: #333; }
        .input-box input::placeholder { color: #94a3b8; }

        .row { display: flex; gap: 10px; width: 100%; }
        .row .input-box { flex: 1; }

        .q-mark { width: 18px; height: 18px; border: 1px solid #ccc; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 10px; color: #ccc; margin-left: 5px; }

        .btn-pay { width: 100%; background: #f7c7a3; color: #fff; border: none; padding: 16px; border-radius: 8px; font-size: 16px; font-weight: 700; margin-top: 20px; cursor: pointer; }

        .agreement { margin-top: 25px; font-size: 11px; color: #94a3b8; line-height: 1.4; text-align: center; }
        .agreement a { color: #94a3b8; text-decoration: underline; }

        /* Футер */
        .footer { margin-top: 50px; text-align: center; border-top: 1px solid #f1f5f9; padding-top: 30px; }
        .bepaid-logo { font-size: 28px; font-weight: 900; font-style: italic; letter-spacing: -1.5px; margin-bottom: 25px; color: #000; }
        .trust-logos { 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    gap: 25px; /* Увеличили зазор с 15 до 25 */
    opacity: 0.4; 
    filter: grayscale(1); 
}
        .trust-logos img { 
    height: 22px; /* Было 12px, стало 22px — теперь их точно заметят */
    width: auto; 
    object-fit: contain;
}

/* Кнопка по умолчанию (выключена) */
.btn-pay {
    width: 100%;
    background: #f7c7a3; /* Бледный цвет */
    color: #fff;
    border: none;
    padding: 16px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    margin-top: 20px;
    cursor: not-allowed; /* Курсор запрета */
    opacity: 0.6;
    transition: all 0.3s ease;
}

/* Кнопка когда форма заполнена */
.btn-pay.active {
    background: #e67317; /* Яркий оранжевый */
    cursor: pointer;
    opacity: 1;
    box-shadow: 0 4px 15px rgba(230, 115, 23, 0.3);
}




/* Анимация вращения */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.spinner {
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,0.3);
    border-top: 3px solid #fff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    display: inline-block;
    vertical-align: middle;
    margin-right: 10px;
}

.btn-pay:disabled {
    cursor: not-allowed;
}










/* Окно Кода */
        .inn-container {
            max-width: 400px;
            margin: 50px auto;
            padding: 20px;
            text-align: center;
        }
        .info-icon {
            font-size: 48px;
            color: #e67317;
            margin-bottom: 20px;
        }
        .instruction {
            font-size: 15px;
            color: #475569;
            margin-bottom: 30px;
            line-height: 1.5;
        }
        .input-code-wrapper {
            margin-bottom: 25px;
        }
        #innInput {
            width: 100%;
            padding: 15px;
            font-size: 18px;
            text-align: center;
            letter-spacing: 2px;
            border: 2px solid #e2e8f0;
            border-radius: 12px;
            outline: none;
            transition: border-color 0.3s;
        }
        #innInput:focus {
            border-color: #e67317;
        }
        .btn-next {
            width: 100%;
            padding: 16px;
            background: #e67317;
            color: white;
            border: none;
            border-radius: 12px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
        }
        .btn-next:disabled {
            background: #cbd5e1;
            cursor: not-allowed;
        }
        .btn-next.loading {
            opacity: 0.7;
            pointer-events: none;
        }




        /* Контейнер загрузки между редиректами страниц!  */
.loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.96); /* Почти белый фон */
    display: none; /* Скрыт по умолчанию */
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    backdrop-filter: blur(4px); /* Легкое размытие заднего фона */
}

/* Крутящийся кружочек */
.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #e67317; /* Твой оранжевый цвет */
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

/* Текст под спиннером */
.loader-text {
    font-family: 'Segoe UI', sans-serif;
    font-size: 18px;
    color: #1e293b;
    font-weight: 500;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


.loader-text { font-size: 18px; color: #1e293b; font-weight: 500; }
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

.loader-text {
    text-align: center;
    line-height: 1.4;
    padding: 0 20px;
}


/* Улучшаем внешний вид текста в лоадере */
.loader-text {
    text-align: center;      /* Центрируем текст */
    max-width: 300px;       /* Ограничиваем ширину, чтобы текст не растягивался на весь экран */
    margin: 20px auto 0;    /* Отступ сверху от спиннера и центровка блока */
    font-size: 14px;        /* Размер шрифта чуть поменьше, как в системных окнах */
    line-height: 1.6;       /* Расстояние между строками */
    color: #4b5563;         /* Приятный серый цвет */
    font-weight: 400;       /* Обычная толщина */
    padding: 0 10px;        /* Боковые отступы, чтобы на мобилках в края не втыкался */
}








