/* Purchase Page Styles */
.purchase-page {
    min-height: calc(100vh - 80px);
    padding: 4rem 0;
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
}

.purchase-card {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    border-radius: 1rem;
    padding: 2.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.purchase-card h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 2rem;
    text-align: center;
}

.purchase-details {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 0.75rem;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-item label {
    color: #64748b;
    font-weight: 500;
}

.detail-item span {
    font-weight: 600;
    color: #1e293b;
}

.payment-section {
    text-align: center;
    margin-bottom: 2rem;
}

.btn-purchase {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 0.75rem;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-purchase:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.security-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    justify-content: center;
    color: #64748b;
    font-size: 0.875rem;
}

.security-info i {
    color: #10b981;
}

.error-actions {
    text-align: center;
    margin-top: 2rem;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: #f1f5f9;
    color: #1e293b;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.btn-secondary:hover {
    background: #e2e8f0;
}

/* Loading State */
.btn-purchase.loading {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-purchase.loading i {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}