/* Billing notices and post-checkout page (Account, Pricing, Billing/Success). */

.billing-notice {
    max-width: 900px;
    margin: 16px auto;
    padding: 14px 18px;
    border-radius: 10px;
    border: 1px solid #f0c36d;
    background: #fff8e6;
    color: #4a3b10;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    justify-content: space-between;
}

.billing-notice p {
    margin: 0;
    line-height: 1.5;
}

.billing-notice--success {
    border-color: #9fd8b4;
    background: #eefaf2;
    color: #14432a;
}

.billing-notice--error {
    border-color: #f1a7a7;
    background: #fdeeee;
    color: #5c1515;
}

.billing-notice form {
    margin: 0;
}

.billing-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.billing-actions form {
    margin: 0;
}

.billing-success {
    max-width: 640px;
    margin: 24px auto 48px;
    padding: 24px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 14px rgba(0, 0, 0, .08);
}

.billing-success h2 {
    font-size: 1.3rem;
    margin: 0 0 12px;
}

.billing-success ul {
    margin: 0 0 20px 20px;
    padding: 0;
    line-height: 1.8;
}

.billing-success .billing-actions {
    justify-content: flex-start;
}

@media (max-width: 480px) {
    .billing-notice,
    .billing-success {
        margin-left: 12px;
        margin-right: 12px;
    }
}
