.cvstripe-checkout-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.cvstripe-checkout-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

/* Plan Details - Left Side */
.cvstripe-plan-details {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 40px;
    border-radius: 16px;
    color: white;
    position: sticky;
    top: 20px;
}

.cvstripe-plan-header {
    text-align: center;
    margin-bottom: 30px;
}

.cvstripe-plan-header h2 {
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 20px 0;
    color: white;
}

.cvstripe-plan-icon {
    display: inline-block;
    padding: 15px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
}

.cvstripe-plan-icon svg {
    display: block;
    color: white;
}

.cvstripe-pricing-section {
    text-align: center;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.cvstripe-price-original {
    margin-bottom: 10px;
}

.cvstripe-strike {
    font-size: 20px;
    text-decoration: line-through;
    opacity: 0.7;
}

.cvstripe-price-current {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 5px;
}

.cvstripe-currency {
    font-size: 32px;
    font-weight: 600;
}

.cvstripe-amount {
    font-size: 56px;
    font-weight: 700;
    line-height: 1;
}

.cvstripe-interval {
    font-size: 18px;
    opacity: 0.9;
}

.cvstripe-trial-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.2);
    padding: 12px 24px;
    border-radius: 25px;
    margin-bottom: 30px;
    font-weight: 600;
    font-size: 16px;
}

.cvstripe-trial-used-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.15);
    padding: 12px 24px;
    border-radius: 25px;
    margin-bottom: 30px;
    font-weight: 600;
    font-size: 16px;
    opacity: 0.8;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cvstripe-plan-features {
    margin-bottom: 30px;
}

.cvstripe-plan-features h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 15px 0;
    color: white;
}

.cvstripe-plan-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cvstripe-plan-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 15px;
    line-height: 1.5;
}

.cvstripe-plan-features li svg {
    flex-shrink: 0;
    opacity: 0.9;
}

.cvstripe-security-badges {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.cvstripe-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    opacity: 0.9;
}

/* Checkout Form - Right Side */
.cvstripe-checkout-form-wrapper {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.cvstripe-form-header {
    text-align: center;
    margin-bottom: 30px;
}

.cvstripe-form-header h3 {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 10px 0;
    color: #1a1a1a;
}

.cvstripe-form-header p {
    color: #666;
    margin: 0;
    font-size: 15px;
}

.cvstripe-form-group {
    margin-bottom: 20px;
}

.cvstripe-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.cvstripe-required {
    color: #e53e3e;
}

.cvstripe-form-group input {
    width: 100%;
    padding: 14px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.2s;
    box-sizing: border-box;
}

.cvstripe-form-group input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.cvstripe-summary {
    background: #f7fafc;
    padding: 20px;
    border-radius: 8px;
    margin: 25px 0;
}

.cvstripe-summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 15px;
}

.cvstripe-summary-row:last-child {
    margin-bottom: 0;
}

.cvstripe-summary-row.cvstripe-highlight {
    font-weight: 700;
    font-size: 18px;
    padding-top: 10px;
    border-top: 1px solid #e2e8f0;
    margin-top: 10px;
}

.cvstripe-summary-row.cvstripe-text-small {
    font-size: 13px;
    color: #666;
}

.cvstripe-free {
    color: #48bb78;
}

.cvstripe-submit-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.cvstripe-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

.cvstripe-submit-btn:disabled {
    background: #cbd5e0;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.cvstripe-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.cvstripe-terms {
    text-align: center;
    color: #718096;
    font-size: 12px;
    margin-top: 20px;
    line-height: 1.6;
}

.cvstripe-error {
    background: #fed7d7;
    color: #c53030;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    max-width: 600px;
    margin: 40px auto;
}

/* Responsive Design */
@media (max-width: 968px) {
    .cvstripe-checkout-layout {
        grid-template-columns: 1fr;
    }

    .cvstripe-plan-details {
        position: static;
    }
}

@media (max-width: 640px) {
    .cvstripe-checkout-container {
        padding: 0 15px;
        margin: 20px auto;
    }

    .cvstripe-plan-details,
    .cvstripe-checkout-form-wrapper {
        padding: 25px;
    }

    .cvstripe-amount {
        font-size: 42px;
    }

    .cvstripe-plan-header h2 {
        font-size: 24px;
    }
}