
body {
    background: linear-gradient(145deg, #eaf2f7 0%, #dbe8f0 100%);
}

.checkout-wrapper {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

/* хедер */
.checkout-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.checkout-header h1 {
    font-size: 2.2rem;
    font-weight: 600;
    color: #133d50;
    letter-spacing: -0.02em;
}

.checkout-header h1 i {
    color: #1d6d81;
    margin-right: 0.6rem;
}

.secure-badge {
    background: rgba(30, 90, 110, 0.1);
    border-radius: 60px;
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
    border: 1px solid rgba(255,255,255,0.6);
    color: #0a4b5e;
}

/* основной контент: две колонки */
.checkout-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.left-panel {
    flex: 2;
    min-width: 300px;
}

.right-panel {
    flex: 1.2;
    min-width: 280px;
}

/* блок подтверждения заказа */
.order-confirmation {
    background: rgba(255,255,255,0.7);
    border-radius: 2rem;
    padding: 1.8rem 2rem;
    border: 1px solid white;
    box-shadow: 0 10px 20px -5px rgba(0,45,60,0.1);
    margin-bottom: 2rem;
}

.order-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #0c3a48;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.selected-plan-card {
    background: white;
    border-radius: 1.5rem;
    padding: 1.5rem;
    box-shadow: 0 8px 15px rgba(0, 40, 55, 0.05);
    border: 1px solid rgba(90, 156, 177, 0.2);
}

.plan-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1.2rem;
}

.plan-icon {
    width: 48px;
    height: 48px;
    background: #e0f0f5;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: #1d6d81;
}

.additional-info {
    margin-top: 1.5rem; 
    background: #ecf8fe; 
    border-radius: 1rem; 
    padding: 1rem;
}

.additional-info ul {
    margin-top: 0.5rem; 
    list-style: none; 
    font-size: 0.9rem;
}

.plan-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: #002b39;
}

.plan-badge {
    background: #d9eaf0;
    padding: 0.3rem 1.2rem;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #0d5267;
}

.plan-details {
    margin: 1.2rem 0 1.5rem 0;
    border-top: 1px dashed #b9d9e7;
    border-bottom: 1px dashed #b9d9e7;
    padding: 1rem 0;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    font-size: 0.98rem;
}

.detail-label {
    color: #1d5e74;
    font-weight: 450;
}

.detail-value {
    font-weight: 600;
    color: #073b49;
}

.total-row {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
    font-weight: 700;
    font-size: 1.3rem;
    color: #003349;
}

/* платежная форма */
.payment-form {
    padding: 1.8rem 2rem;
}

.form-row {
    margin-bottom: 1.3rem;
}

.form-row label {
    display: block;
    font-weight: 500;
    font-size: 0.9rem;
    color: #17596e;
    margin-bottom: 0.4rem;
}

.input-group {
    display: flex;
    align-items: center;
    background: white;
    border-radius: 60px;
    padding: 0.4rem 1rem;
    border: 1px solid #cee3ed;
    transition: 0.15s;
}

.input-group i {
    color: #5c95a8;
    width: 1.8rem;
    font-size: 1rem;
}

.input-group input, .input-group select {
    width: 100%;
    border: none;
    padding: 0.8rem 0;
    font-size: 1rem;
    background: transparent;
    outline: none;
}

.input-group select {
    cursor: pointer;
}

.card-row {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.card-row .input-group {
    flex: 1;
}

.pay-button {
    background: #0f4d60;
    color: white;
    border: none;
    width: 100%;
    padding: 1.2rem;
    border-radius: 60px;
    font-size: 1.3rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    cursor: pointer;
    transition: 0.2s;
    border: 1px solid #308094;
    margin-top: 1.8rem;
    text-decoration: none;
}

.pay-button:hover {
    background: #1b677e;
    transform: scale(1.02);
}

/* правая панель — детали расчета */
.invoice-summary {
    background: white;
    border-radius: 2rem;
    padding: 2rem 1.8rem;
    border: 1px solid rgba(140, 198, 216, 0.4);
    box-shadow: 0 15px 25px -15px #0a4353;
}

.summary-title {
    font-weight: 600;
    font-size: 1.3rem;
    color: #043645;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 1rem;
    color: #135467;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    font-size: 1.5rem;
    color: #002734;
    border-top: 2px solid #cee5f0;
    padding-top: 1.2rem;
    margin-top: 1rem;
}

.price-breakdown {
    background: #ebf5fa;
    border-radius: 1.5rem;
    padding: 1rem 1.2rem;
    margin: 1.5rem 0;
}

.breakdown-row {
    font-size: 0.95rem;
    display: flex;
    justify-content: space-between;
    color: #0b4d60;
    padding: 0.4rem 0;
}

.footnote {
    font-size: 0.8rem;
    color: #1e6c82;
    margin-top: 1.5rem;
    background: rgba(31, 113, 136, 0.05);
    padding: 1.2rem;
    border-radius: 1.5rem;
    text-align: justify;
}

/* нюансы */
.text-small {
    font-size: 0.8rem;
    color: #3f7d92;
}

.pill {
    background: #e3f0f5;
    padding: 0.3rem 1rem;
    border-radius: 40px;
    font-size: 0.8rem;
}

hr {
    border: 1px solid #c5dde9;
    margin: 1rem 0;
}

.payment-system {
    text-align: center;
}

.payment-system img {
    width: 1200px;
}

@media (max-width: 1024px) {
    .checkout-header {
        padding: 20px 0;
    }

    .checkout-header h1 {
        font-size: 1.8rem;
    }

    .selected-plan-card {
        padding: 0.9rem;
    }

    .invoice-summary {
        padding: 2rem 0.9rem;
    }

    .payment-system {
        padding: 0 20px;
    }

    .payment-system img {
        padding: 0 20px;
        width: 95%;
    }

    .payment-form {
        padding: 0;
    }

    .order-confirmation {
        padding: 0px;
        border: none;
        box-shadow: none;
    }

    .footer-container {
        padding: 0 20px;
    }

    .feedback-container {
        margin: 100px auto;
    }
}
