/* Checkout Page Styles */

.checkout-page {
    min-height: calc(100vh - 60px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: var(--surface);
}

.checkout-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2.5rem;
    width: 100%;
    max-width: 480px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.checkout-card h1 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-align: center;
}

.checkout-sub {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.plan-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.plan-option {
    position: relative;
    display: block;
    cursor: pointer;
}

.plan-option input {
    position: absolute;
    opacity: 0;
}

.plan-content {
    border: 2px solid var(--border);
    border-radius: 12px;
    padding: 1.25rem;
    transition: all 0.2s;
}

.plan-option input:checked + .plan-content {
    border-color: var(--primary);
    background: rgba(37, 99, 235, 0.02);
}

.plan-option:hover .plan-content {
    border-color: var(--primary);
}

.plan-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.25rem;
}

.plan-name {
    font-weight: 600;
    font-size: 1.1rem;
}

.plan-price {
    font-size: 1.5rem;
    font-weight: 700;
}

.plan-price span {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--text-muted);
}

.plan-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
}

.save-badge {
    position: absolute;
    top: -10px;
    right: 12px;
    background: var(--success);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.checkout-features {
    list-style: none;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--surface);
    border-radius: 12px;
}

.checkout-features li {
    padding: 0.5rem 0;
    font-size: 0.9rem;
}

.checkout-secure {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 1rem;
}

.error-message {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #dc2626;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}
