/* Ödeme Sayfası Modern Tasarım */
.en-payment-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.en-payment-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.en-payment-header h1 {
    margin: 0 0 10px 0;
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.en-payment-header p {
    margin: 0;
    font-size: 1.1rem;
    opacity: 0.9;
}

.en-plan-card {
    background: white;
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.en-plan-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
}

.en-plan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15);
}

.en-plan-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.en-plan-name::before {
    content: '⭐';
    font-size: 1.5rem;
}

.en-plan-price {
    font-size: 3rem;
    font-weight: 800;
    color: #667eea;
    margin-bottom: 20px;
    display: flex;
    align-items: baseline;
    gap: 5px;
}

.en-plan-price .currency {
    font-size: 1.2rem;
    color: #718096;
    font-weight: 500;
}

.en-plan-description {
    color: #718096;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.en-payment-actions {
    text-align: center;
}

.en-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    min-width: 200px;
    position: relative;
    overflow: hidden;
}

.en-btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.en-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.5);
}

.en-btn-primary:active {
    transform: translateY(0);
}

.en-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
}

.btn-loading {
    display: none;
}

.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.en-loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    backdrop-filter: blur(5px);
}

.en-loading-content {
    text-align: center;
    padding: 40px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.en-loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f3f4f6;
    border-top: 4px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

.en-loading-text {
    font-size: 1.2rem;
    color: #4a5568;
    font-weight: 500;
}

#en-checkout-container {
    margin-top: 30px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

#en-checkout-container iframe {
    border-radius: 12px;
}

.en-security-info {
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    margin-top: 30px;
    text-align: center;
}

.en-security-info h3 {
    color: #2d3748;
    margin-bottom: 10px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.en-security-info h3::before {
    content: '🔒';
}

.en-security-info p {
    color: #718096;
    margin: 0;
    font-size: 0.95rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .en-payment-container {
        padding: 0 15px;
        margin: 20px auto;
    }
    
    .en-payment-header {
        padding: 20px;
        margin-bottom: 30px;
    }
    
    .en-payment-header h1 {
        font-size: 2rem;
    }
    
    .en-plan-card {
        padding: 25px;
    }
    
    .en-plan-price {
        font-size: 2.5rem;
    }
    
    .en-btn {
        width: 100%;
        padding: 18px;
    }
}

/* Animasyonlar */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.en-plan-card {
    animation: fadeInUp 0.6s ease-out;
}

.en-payment-header {
    animation: fadeInUp 0.4s ease-out;
}

/* Auto-start loading state */
.en-auto-loading .en-btn {
    pointer-events: none;
}

.en-auto-loading .btn-text {
    display: none;
}

.en-auto-loading .btn-loading {
    display: flex;
    align-items: center;
    gap: 10px;
}