/* checkout.css — Liftline checkout page */
/* Brief 16a v2 FINAL — 2026-05-22 */

.checkout-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    background: var(--cream, #f5f1e8);
}

.checkout-header .logo { height: 36px; }

.checkout-secure-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(8, 198, 180, 0.1);
    color: var(--teal, #08c6b4);
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 500;
}

.mock-mode-banner {
    background: #fff3cd;
    color: #856404;
    padding: 1rem 2rem;
    border-bottom: 1px solid #ffeeba;
    text-align: center;
    font-size: 0.95rem;
}

.checkout-main {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem;
}

.checkout-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 2.5rem;
    align-items: start;
}

@media (max-width: 768px) {
    .checkout-container {
        grid-template-columns: 1fr;
    }
}

.checkout-summary h1 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--ink, #1A4A4A);
}

.tier-card {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.tier-card-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--ink, #1A4A4A);
    margin-bottom: 0.5rem;
}

.tier-card-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--teal, #08c6b4);
    margin-bottom: 0.5rem;
}

.tier-card-billing {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.75rem;
}

.tier-card-includes {
    font-size: 0.9rem;
    color: var(--ink, #1A4A4A);
    line-height: 1.5;
}

.link-back {
    background: none;
    border: none;
    color: var(--teal, #08c6b4);
    cursor: pointer;
    padding: 0.5rem 0;
    font-size: 0.95rem;
}

.checkout-payment h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--ink, #1A4A4A);
}

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

.form-row label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.4rem;
    color: var(--ink, #1A4A4A);
}

.form-row input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 6px;
    font-size: 1rem;
    background: white;
    transition: border-color 0.15s ease;
}

.form-row input:focus {
    outline: none;
    border-color: var(--teal, #08c6b4);
    box-shadow: 0 0 0 3px rgba(8, 198, 180, 0.15);
}

.form-row-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.pay-button {
    width: 100%;
    padding: 1rem;
    background: var(--teal, #08c6b4);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.pay-button:hover {
    background: #069b8c;
}

.pay-button:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.checkout-footnote {
    text-align: center;
    font-size: 0.85rem;
    color: #666;
    margin-top: 1rem;
}

.checkout-status {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 6px;
    text-align: center;
}

.checkout-status.success {
    background: #d4edda;
    color: #155724;
}

.checkout-status.error {
    background: #f8d7da;
    color: #721c24;
}

.checkout-status.info {
    background: #d1ecf1;
    color: #0c5460;
}

.site-footer {
    text-align: center;
    padding: 2rem;
    color: #666;
    font-size: 0.875rem;
    margin-top: 4rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}
