* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #f5f7fb;
    color: #1e293b;
    line-height: 1.5;
}

/*body {
    font-family: 'Inter', sans-serif;
    background-color: #f5f7fb;
    color: #1e293b;
    line-height: 1.5;
}*/

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.header {
    padding: 20px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    background-color: white;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 700;
    font-size: 1.8rem;
    letter-spacing: -0.02em;
    color: #0f172a;
}
.logo span {
    color: #2563eb;
    font-weight: 500;
}

.badge {
    background-color: #eef2ff;
    color: #2563eb;
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid #cbd5e1;
}

.hero {
    padding: 60px 0 40px;
    background: white;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}

h1 {
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
    color: #0f172a;
}
.accent-text {
    color: #2563eb;
    border-bottom: 3px solid #93c5fd;
}

.hero-desc {
    font-size: 1.25rem;
    color: #475569;
    margin-bottom: 10px;
}

.hero-desc-accent{
    font-size: 1.45rem;
    font-weight: 600;
    color: #2563eb;
    margin-bottom: 32px;
}

.stats {
    display: flex;
    gap: 32px;
    margin-bottom: 32px;
}
.stat-item {
    display: flex;
    flex-direction: column;
}
.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #0f172a;
}
.stat-label {
    color: #64748b;
    font-size: 0.95rem;
}

.calc-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 28px;
    box-shadow: 0 20px 35px -8px rgba(0,0,0,0.15), 0 5px 10px -4px rgba(0,0,0,0.05);
    border: 1px solid #e2e8f0;
}

.calc-title {
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.input-group {
    margin-bottom: 20px;
}
.input-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: #334155;
    margin-bottom: 6px;
}
.input-group .comment {
    font-size: 0.7rem;
}
.input-field {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid #cbd5e1;
    border-radius: 16px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: border 0.2s;
    background: #f8fafc;
}
.input-field:focus {
    outline: none;
    border-color: #2563eb;
    background: white;
}

.btn {
    width: 100%;
    padding: 18px;
    background: #2563eb;
    color: white;
    border: none;
    border-radius: 16px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 8px 20px -6px #2563eb80;
    font-family: 'Inter', sans-serif;
}
.btn:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
}
.btn-secondary {
    background: white;
    color: #1e293b;
    border: 1.5px solid #cbd5e1;
    box-shadow: none;
    margin-top: 12px;
}
.btn-secondary:hover {
    background: #f1f5f9;
    transform: translateY(-2px);
}

.consent-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 20px 0 16px;
}
.consent-checkbox input {
    margin-top: 3px;
    width: 18px;
    height: 18px;
    accent-color: #2563eb;
    cursor: pointer;
}
.consent-checkbox label {
    font-size: 0.85rem;
    color: #475569;
    cursor: pointer;
}
.consent-checkbox a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
}
.consent-checkbox a:hover {
    text-decoration: underline;
}

.legal-hint {
    font-size: 0.75rem;
    color: #64748b;
    text-align: center;
    margin-top: 16px;
}

.how {
    padding: 80px 0;
    background: #f8fafc;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 48px;
    letter-spacing: -0.02em;
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.step {
    background: white;
    padding: 32px;
    border-radius: 24px;
    box-shadow: 0 4px 6px -2px rgba(0,0,0,0.05);
}
.step-icon {
    background: #eef2ff;
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
    color: #2563eb;
    margin-bottom: 20px;
}
.step h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

/* Новый блок преимуществ вместо таблицы сравнения */
.benefits {
    padding: 80px 0;
    background: white;
}
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}
.benefit-card {
    text-align: center;
    padding: 32px 20px;
    border-radius: 24px;
    border: 1px solid #e2e8f0;
    transition: all 0.2s;
}
.benefit-card:hover {
    box-shadow: 0 15px 25px -8px rgba(0,0,0,0.08);
    border-color: #cbd5e1;
}
.benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}
.benefit-card h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #0f172a;
}
.benefit-card p {
    color: #475569;
    font-size: 0.95rem;
}

.pricing {
    padding: 60px 0 80px;
    background: #f8fafc;
}
.price-card {
    background: white;
    border-radius: 32px;
    padding: 40px;
    text-align: center;
    max-width: 480px;
    margin: 0 auto;
    box-shadow: 0 20px 35px -8px rgba(0,0,0,0.1);
    border: 1px solid #e2e8f0;
}
.price {
    font-size: 3.5rem;
    font-weight: 700;
    color: #0f172a;
    margin: 20px 0 10px;
}
.price small {
    font-size: 1.2rem;
    font-weight: 400;
    color: #64748b;
}

.guarantee {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
    color: #475569;
}

.footer {
    padding: 40px 0;
    border-top: 1px solid #e2e8f0;
    color: #64748b;
    font-size: 0.9rem;
}
.footer a {
    color: #64748b;
    text-decoration: none;
}
.footer a:hover {
    color: #2563eb;
    text-decoration: underline;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}
.modal-container {
    background: white;
    border-radius: 32px;
    max-width: 520px;
    width: 90%;
    box-shadow: 0 30px 50px rgba(0,0,0,0.2);
    transform: scale(0.95);
    transition: transform 0.3s ease;
    overflow: hidden;
}
.modal-overlay.active .modal-container {
    transform: scale(1);
}
.modal-header {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    padding: 24px 28px;
    color: white;
}
.modal-header h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 8px;
}
.modal-header p {
    opacity: 0.9;
    font-size: 0.9rem;
}
.modal-body {
    padding: 28px;
}
.result-card {
    background: #f8fafc;
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid #e2e8f0;
}
.result-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #e2e8f0;
}
.result-item:last-child {
    border-bottom: none;
}
.result-label {
    font-weight: 500;
    color: #475569;
}
.result-value {
    font-weight: 700;
    font-size: 1.2rem;
    color: #0f172a;
}
.result-value.penalty {
    color: #dc2626;
    font-size: 1.4rem;
}
.total-box {
    background: #eef2ff;
    border-radius: 16px;
    padding: 16px;
    margin-top: 12px;
    text-align: center;
}
.total-box .total-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #2563eb;
}
.total-box .total-amount {
    font-size: 2rem;
    font-weight: 800;
    color: #1e40af;
}
.modal-btn {
    width: 100%;
    background: #2563eb;
    color: white;
    border: none;
    padding: 16px;
    border-radius: 16px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.modal-btn:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
}
.modal-btn-outline {
    background: white;
    color: #1e293b;
    border: 1.5px solid #cbd5e1;
    box-shadow: none;
}
.modal-btn-outline:hover {
    background: #f1f5f9;
    transform: none;
}
.close-modal {
    position: absolute;
    top: 16px;
    right: 20px;
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.close-modal:hover {
    background: rgba(255,255,255,0.3);
}
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #fff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 0.6s linear infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

@media (max-width: 768px) {
    h1 { font-size: 2.2rem; }
    .hero-grid { grid-template-columns: 1fr; }
    .steps { grid-template-columns: 1fr; }
    .benefits-grid { grid-template-columns: repeat(2, 1fr); }
    .header-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
    .stats { flex-wrap: wrap; gap: 20px; }
}
@media (max-width: 480px) {
    .benefits-grid { grid-template-columns: 1fr; }
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    z-index: 9999;
    border-top: 1px solid #e2e8f0;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}
.cookie-banner.show { transform: translateY(0); }
.cookie-text { font-size: 0.9rem; color: #475569; max-width: 90%; }
.cookie-text a { color: #2563eb; text-decoration: none; font-weight: 500; }
.cookie-btn { background: #2563eb; color: white; border: none; padding: 12px 28px; border-radius: 40px; font-weight: 600; cursor: pointer; }
@media (max-width: 600px) { .cookie-banner { flex-direction: column; align-items: flex-start; } .cookie-btn { width: 100%; } }


.claim-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
.claim-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}
.claim-modal-container {
    background: white;
    border-radius: 32px;
    max-width: 600px;
    width: 90%;
    box-shadow: 0 30px 50px rgba(0,0,0,0.2);
    transform: scale(0.95);
    transition: transform 0.3s ease;
    overflow: hidden;
}
.claim-modal-overlay.active .claim-modal-container {
    transform: scale(1);
}
.claim-modal-header {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    padding: 24px 28px;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.claim-modal-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 6px;
}
.claim-modal-header p {
    opacity: 0.9;
    font-size: 0.9rem;
}
.claim-close-btn {
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.claim-close-btn:hover {
    background: rgba(255,255,255,0.3);
}
.claim-modal-body {
    padding: 28px;
}
.drop-zone {
    border: 2px dashed #cbd5e1;
    border-radius: 20px;
    padding: 48px 24px;
    text-align: center;
    transition: all 0.2s;
    cursor: pointer;
    background: #f8fafc;
    margin-bottom: 24px;
}
.drop-zone.drag-over {
    border-color: #2563eb;
    background: #eef2ff;
}
.drop-zone.has-file {
    border-color: #15803d;
    background: #f0fdf4;
    border-style: solid;
}
.drop-zone-icon {
    font-size: 3rem;
    margin-bottom: 12px;
}
.drop-zone-text {
    color: #475569;
    font-size: 1rem;
    margin-bottom: 8px;
}
.drop-zone-hint {
    color: #94a3b8;
    font-size: 0.85rem;
}
.file-info {
    display: flex;
    align-items: center;
    gap: 10px;
    background: white;
    border-radius: 12px;
    padding: 10px 16px;
    margin-top: 12px;
    border: 1px solid #bbf7d0;
}
.file-info .file-name {
    font-weight: 500;
    color: #15803d;
    flex: 1;
    text-align: left;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.file-info .file-remove {
    background: none;
    border: none;
    color: #ef4444;
    cursor: pointer;
    font-size: 1.2rem;
    padding: 4px 8px;
}
.input-group {
    margin-bottom: 20px;
}
.input-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: #334155;
    margin-bottom: 6px;
}
.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}
.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: #2563eb;
    cursor: pointer;
}
.checkbox-group label {
    font-weight: 500;
    color: #334155;
    cursor: pointer;
    font-size: 0.95rem;
}
.date-input-wrapper {
    transition: all 0.3s ease;
    overflow: hidden;
}
.date-input-wrapper.hidden {
    max-height: 0;
    opacity: 0;
    margin-bottom: 0;
}
.date-input-wrapper.visible {
    max-height: 80px;
    opacity: 1;
    margin-bottom: 20px;
}
.input-field {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid #cbd5e1;
    border-radius: 16px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: border 0.2s;
    background: #f8fafc;
}
.input-field:focus {
    outline: none;
    border-color: #2563eb;
    background: white;
}
.claim-submit-btn {
    width: 100%;
    padding: 18px;
    background: #2563eb;
    color: white;
    border: none;
    border-radius: 16px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 8px 20px -6px #2563eb80;
    font-family: 'Inter', sans-serif;
}
.claim-submit-btn:hover:not(:disabled) {
    background: #1d4ed8;
    transform: translateY(-2px);
}
.claim-submit-btn:disabled {
    background: #94a3b8;
    cursor: not-allowed;
    box-shadow: none;
}
.loading-spinner-dark {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #fff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 0.6s linear infinite;
}


/* Правая часть хедера */
.header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Кнопка "Мои документы" — всегда видна, визуально выделяется */
.docs-button {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border: none;
    border-radius: 100px;
    padding: 10px 18px 10px 14px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: white;
    transition: all 0.25s ease;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    position: relative;
}
.docs-button:hover {
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
}
.docs-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

/* Состояние, когда документов нет */
.docs-button.empty {
    background: #f1f5f9;
    color: #64748b;
    box-shadow: none;
    border: 1.5px solid #e2e8f0;
}
.docs-button.empty:hover {
    background: #e2e8f0;
    color: #475569;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

/* Иконка в кнопке */
.docs-icon {
    font-size: 1.2rem;
}

/* Текст в кнопке */
.docs-text {
    font-weight: 600;
}

/* Счётчик документов */
.docs-badge {
    background: white;
    color: #2563eb;
    font-size: 0.8rem;
    font-weight: 700;
    min-width: 24px;
    height: 24px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 8px;
    line-height: 1;
    transition: all 0.3s ease;
}
.docs-button.empty .docs-badge {
    background: #cbd5e1;
    color: #64748b;
}

/* Анимация пульсации при появлении нового документа */
@keyframes badgePulse {
    0% { transform: scale(1); }
    30% { transform: scale(1.4); background: #dc2626; color: white; }
    100% { transform: scale(1); }
}
.docs-badge.pulse {
    animation: badgePulse 0.6s ease;
}

/* Адаптив для мобильных */
@media (max-width: 600px) {
    .header-right {
        gap: 8px;
    }
    .docs-text {
        display: none;
    }
    .docs-button {
        padding: 10px 14px;
    }
}

/* Контейнер модального окна с документами */
.documents-modal-container {
    max-width: 680px;
    width: 95%;
}

/* Список документов */
.documents-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Карточка одного документа */
.document-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.2s ease;
    flex-wrap: wrap;
}
.document-item:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.doc-item-icon {
    background: #eef2ff;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    flex-shrink: 0;
}

.doc-item-info {
    flex: 1;
    min-width: 180px;
}
.doc-item-info h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 4px;
}
.doc-item-info p {
    font-size: 0.82rem;
    color: #64748b;
    line-height: 1.3;
}

/* Блок с таймером */
.doc-item-timer {
    background: #fff7ed;
    border-radius: 10px;
    padding: 8px 14px;
    text-align: center;
    flex-shrink: 0;
}
.doc-item-timer .timer-label-small {
    font-size: 0.7rem;
    color: #c2410c;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.doc-item-timer .timer-value-small {
    font-weight: 700;
    font-size: 1.1rem;
    color: #9a3412;
}
.doc-item-timer.timer-expired {
    background: #fee2e2;
}
.doc-item-timer.timer-expired .timer-value-small {
    color: #b91c1c;
}

/* Кнопка скачивания */
.doc-item-download {
    background: #2563eb;
    color: white;
    border: none;
    padding: 12px 22px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    white-space: nowrap;
}
.doc-item-download:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
}
.doc-item-download.expired-btn {
    background: #f1f5f9;
    color: #94a3b8;
    cursor: not-allowed;
    pointer-events: none;
}

/* Адаптив */
@media (max-width: 600px) {
    .document-item {
        flex-direction: column;
        align-items: flex-start;
        text-align: center;
    }
    .doc-item-info {
        text-align: center;
        width: 100%;
    }
    .doc-item-timer {
        width: 100%;
        text-align: center;
    }
    .doc-item-download {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================= */
/* СТИЛИ ДЛЯ ПЛАШКИ СТАТУСА ОПЛАТЫ                */
/* ============================================= */
.payment-banner {
    position: sticky;
    top: 0;
    z-index: 9999;
    padding: 10px 0;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.payment-banner__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}
.payment-banner__icon {
    font-size: 1.3rem;
}
.payment-banner__text {
    text-align: center;
}
.payment-banner__btn {
    background: white;
    border: none;
    padding: 8px 20px;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
}
.payment-banner__btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Состояние: не оплачено */
.payment-banner--unpaid {
    background: #fff3cd;
    color: #856404;
    border-bottom: 1px solid #ffc107;
}
.payment-banner--unpaid .payment-banner__btn {
    background: #856404;
    color: white;
}

/* Состояние: оплачено */
.payment-banner--paid {
    background: #d4edda;
    color: #155724;
    border-bottom: 1px solid #28a745;
}
.payment-banner--paid .payment-banner__btn {
    background: #155724;
    color: white;
}

/* Состояние: загрузка */
.payment-banner--loading {
    background: #e2e8f0;
    color: #475569;
}
.payment-banner--loading .payment-banner__btn {
    opacity: 0.7;
    pointer-events: none;
}

/* Кнопка оплаты в модальном окне */
.modal-btn-pay {
    background: #f59e0b; /* Оранжевый/золотой для привлечения внимания */
    color: white;
    border: none;
    font-weight: 700;
    box-shadow: 0 8px 20px -6px rgba(245, 158, 11, 0.5);
}
.modal-btn-pay:hover {
    background: #d97706;
}

/* Контейнер модалки оплаты */
.payment-modal-container {
    max-width: 450px;
}

/* ============================================= */
/* СТИЛИ ДЛЯ МОДАЛЬНОГО ОКНА ОПЛАТЫ               */
/* ============================================= */

.payment-modal-container {
    max-width: 560px;
    width: 95%;
}

.payment-modal-header {
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    padding: 28px 32px;
    position: relative;
}

.payment-modal-header h3 {
    font-size: 1.6rem;
    margin-bottom: 6px;
}

.payment-modal-header p {
    opacity: 0.9;
    font-size: 0.95rem;
}

.payment-modal-body {
    padding: 32px;
}

/* Сумма к оплате */
.payment-amount {
    background: #f0f7ff;
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    margin-bottom: 28px;
    border: 1px solid #bfdbfe;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.payment-amount-label {
    font-size: 1rem;
    font-weight: 500;
    color: #475569;
}

.payment-amount-value {
    font-size: 2.2rem;
    font-weight: 800;
    color: #1e40af;
}

/* Сетка методов оплаты */
.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 28px;
}

/* Карточка метода оплаты */
.payment-method-card {
    cursor: pointer;
    display: block;
}

.payment-method-card input[type="radio"] {
    display: none;
}

.payment-method-content {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    transition: all 0.25s ease;
    background: white;
    position: relative;
}

.payment-method-card input[type="radio"]:checked + .payment-method-content {
    border-color: #2563eb;
    background: #f8faff;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
    transform: translateX(4px);
}

.payment-method-card:hover .payment-method-content {
    border-color: #93c5fd;
    background: #fafbff;
}

/* Иконка метода */
/* .payment-method-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    border-radius: 12px;
    transition: all 0.2s ease;
} */

.payment-note{
  color: #808080;
  font-size: 80%;
  text-align: center;
  display: inline-block;
  width: 100%;
  margin-bottom: 5px;
}

.payment-note a{
    color: #2563eb;
    text-decoration: none;
}

.payment-method-card input[type="radio"]:checked + .payment-method-content .payment-method-icon {
    background: #eef2ff;
    transform: scale(1.05);
}

/* Информация о методе */
.payment-method-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.payment-method-name {
    font-weight: 600;
    font-size: 1.05rem;
    color: #0f172a;
}

.payment-method-desc {
    font-size: 0.85rem;
    color: #64748b;
}

/* Индикатор выбора (radio button) */
.payment-method-check {
    flex-shrink: 0;
}

.payment-method-check .check-dot {
    transition: all 0.2s ease;
}

.payment-method-card input[type="radio"]:not(:checked) + .payment-method-content .check-dot {
    opacity: 0;
    transform: scale(0.5);
}

.payment-method-card input[type="radio"]:checked + .payment-method-content .check-dot {
    opacity: 1;
    transform: scale(1);
}

/* Кнопка перехода к оплате */
.payment-submit-btn {
    position: relative;
    font-size: 1.15rem;
    padding: 18px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.payment-submit-btn:hover {
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
    box-shadow: 0 10px 25px -6px rgba(37, 99, 235, 0.5);
}

.payment-submit-btn:disabled {
    background: #94a3b8;
    cursor: not-allowed;
    box-shadow: none;
}

.payment-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid white;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

/* Информация о безопасности */
.payment-security-info {
    display: flex;
    justify-content: center;
    gap: 32px;
    padding-top: 16px;
    border-top: 1px solid #e2e8f0;
}

.security-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #64748b;
}

.security-item span:first-child {
    font-size: 1rem;
}

/* Адаптивность */
@media (max-width: 480px) {
    .payment-modal-body {
        padding: 20px;
    }
    
    .payment-method-content {
        padding: 14px 16px;
        gap: 12px;
    }
    
    .payment-method-icon {
        width: 40px;
        height: 40px;
    }
    
    .payment-method-name {
        font-size: 0.95rem;
    }
    
    .payment-security-info {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    
    .payment-amount {
        flex-direction: column;
        gap: 8px;
    }
}


@media (-webkit-device-pixel-ratio: 1.5) {
    html {
        zoom: 0.6667;
    }
}
@media (-webkit-device-pixel-ratio: 1.25) {
    html {
        zoom: 0.8;
    }
}
@media (-webkit-device-pixel-ratio: 1.75) {
    html {
        zoom: 0.5714;
    }
}
@media (-webkit-device-pixel-ratio: 2) {
    html {
        zoom: 0.5;
    }
}