/* =============================================
   Deposit T-Bank — Front-end Styles
   Все классы с префиксом .deposit-tbank-
   ============================================= */

/* Кнопка «Оплатить» */
.deposit-tbank-btn {
    display: inline-block;
    padding: 14px 32px;
    background: #FFDD2D;
    color: #333;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s;
    font-family: inherit;
}

.deposit-tbank-btn:hover {
    background: #f5d020;
    box-shadow: 0 4px 12px rgba(255, 221, 45, 0.4);
}

.deposit-tbank-btn:active {
    transform: scale(0.98);
}

/* Overlay (затемнение) */
.deposit-tbank-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 100000;
    background: rgba(0, 0, 0, 0.55);
    justify-content: center;
    align-items: center;
}

.deposit-tbank-overlay.deposit-tbank-active {
    display: flex;
}

/* Модальное окно */
.deposit-tbank-modal {
    position: relative;
    width: 90%;
    max-width: 420px;
    background: #fff;
    border-radius: 12px;
    padding: 32px 28px 28px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
    animation: deposit-tbank-fadeIn 0.25s ease;
}

@keyframes deposit-tbank-fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Кнопка закрытия */
.deposit-tbank-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    font-size: 28px;
    line-height: 1;
    color: #999;
    cursor: pointer;
    padding: 0;
}

.deposit-tbank-close:hover {
    color: #333;
}

/* Заголовок */
.deposit-tbank-title {
    margin: 0 0 4px;
    font-size: 20px;
    font-weight: 700;
    color: #222;
}

.deposit-tbank-subtitle {
    margin: 0 0 20px;
    font-size: 14px;
    color: #666;
}

/* Поля формы */
.deposit-tbank-field {
    margin-bottom: 14px;
}

.deposit-tbank-field label {
    display: block;
    margin-bottom: 4px;
    font-size: 13px;
    font-weight: 600;
    color: #444;
}

.deposit-tbank-field input {
    width: 100%;
    padding: 10px 12px;
    font-size: 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.2s;
    font-family: inherit;
}

.deposit-tbank-field input:focus {
    border-color: #FFDD2D;
    box-shadow: 0 0 0 2px rgba(255, 221, 45, 0.25);
}

.deposit-tbank-field input.deposit-tbank-invalid {
    border-color: #dc3232;
}

/* Ошибка */
.deposit-tbank-error {
    color: #dc3232;
    font-size: 13px;
    margin-bottom: 12px;
    min-height: 18px;
}

/* Кнопка «Перейти к оплате» */
.deposit-tbank-submit {
    display: block;
    width: 100%;
    padding: 12px;
    background: #FFDD2D;
    color: #333;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s;
    font-family: inherit;
}

.deposit-tbank-submit:hover {
    background: #f5d020;
}

.deposit-tbank-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
