.checkout-section {
    min-height: 100vh;
    padding-top: 120px;
    padding-bottom: 80px;
}

.checkout-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.checkout-card {
    background: linear-gradient(135deg, rgba(30, 30, 45, 0.95) 0%, rgba(20, 20, 35, 0.98) 100%);
    border-radius: 24px;
    padding: 40px;
    border: 1px solid rgba(99, 102, 241, 0.2);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.checkout-header {
    text-align: center;
    margin-bottom: 40px;
}

.checkout-header h1 {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.checkout-header p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 16px;
}

.checkout-steps {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
}

.checkout-step {
    display: flex;
    align-items: center;
    gap: 12px;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.checkout-step.active {
    opacity: 1;
}

.checkout-step.completed {
    opacity: 0.8;
}

.step-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(99, 102, 241, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: #fff;
    border: 2px solid rgba(99, 102, 241, 0.4);
}

.checkout-step.active .step-number {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border-color: transparent;
}

.checkout-step.completed .step-number {
    background: #10b981;
    border-color: transparent;
}

.step-label {
    color: #fff;
    font-weight: 500;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-grid.single {
    grid-template-columns: 1fr;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-label {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    font-size: 14px;
}

.form-input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 14px 16px;
    color: #fff;
    font-size: 15px;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: #6366f1;
    background: rgba(99, 102, 241, 0.1);
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.form-input.error {
    border-color: #ef4444;
}

.form-input.form-input-compact {
    min-height: 36px;
    height: 36px;
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 14px;
}

.promo-code-row {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.btn.btn-compact {
    flex: 0 0 auto;
    min-height: 36px;
    height: 36px;
    padding: 0 16px;
    border-radius: 10px;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.promo-feedback {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    font-weight: 500;
}

.promo-feedback.success {
    color: #86efac;
}

.promo-feedback.error {
    color: #fca5a5;
}

.error-message {
    color: #ef4444;
    font-size: 12px;
    margin-top: 4px;
}

/* .checkout-form-section {
    display: none;
} */

.checkout-form-section.active {
    display: block;
}

.plan-summary {
    background: rgba(99, 102, 241, 0.1);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 30px;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.plan-summary-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.plan-name {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
}

.plan-price {
    font-size: 28px;
    font-weight: 700;
    color: #6366f1;
}

.plan-price span {
    font-size: 14px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.5);
}

.plan-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.plan-feature {
    background: rgba(255, 255, 255, 0.05);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}

.button-group {
    display: flex;
    gap: 16px;
    margin-top: 30px;
}

.btn {
    flex: 1;
    padding: 16px 24px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: #fff;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.4);
}

.btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
}

.order-summary {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 20px;
    margin-top: 20px;
}

.order-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.order-row:last-child {
    border-bottom: none;
}

.order-row.total {
    font-weight: 600;
    font-size: 18px;
    color: #fff;
    padding-top: 16px;
    margin-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.order-label {
    color: rgba(255, 255, 255, 0.6);
}

.order-value {
    color: #fff;
}

.success-message {
    text-align: center;
    padding: 40px;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.success-icon svg {
    width: 40px;
    height: 40px;
    color: #fff;
}

.success-message h2 {
    color: #fff;
    font-size: 28px;
    margin-bottom: 12px;
}

.success-message p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 24px;
}

.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
    margin-right: 8px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .checkout-card {
        padding: 24px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-group.full-width {
        grid-column: span 1;
    }

    .checkout-steps {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }

    .button-group {
        flex-direction: column;
    }
}

.termsAgreementLabel a{
    font-size: 12px !important;
}
