

.header-payment {
    text-align: center;
    margin-bottom: 10px;
}

.subtitle-payment {
    font-size: 1.1rem;
    color: #ffffff;
    font-weight: 500;
}

.selected-container{
    display: flex;
    justify-content: center;
}

.selected-package {
    background: #6956e56c;
    border: 2px solid #6956E5;
    border-radius: 15px;
    text-align: center;
    margin-bottom: 20px;
    padding: 20px;
    color: white;
    width: 270px;
}

.selected-package h2 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.package-details {
    font-size: 1rem;
    font-weight: 700;
}

.mobile-input {   
    margin-bottom: 30px;
}

.mobile-input input {
    font-family: 'Vazirmatn';
    width: 100%;
    height: 70px;
    padding: 15px 20px;
    border: 2px solid #6956E5;
    border-radius: 12px;
    font-size: 1rem;
    background: rgba(0, 0, 0, 0.28);
    color: white;
    text-align: center;
}

.mobile-input input::placeholder {
    color: rgba(255, 255, 255, 0.8);
}

.mobile-input input:focus {
    outline: none;
}

.vpn-warning {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
}


.warning-icon {
    width: 25px;
    height: 25px;
    border: 1px solid #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: bold;
    font-size: 14px;
    flex-shrink: 0;
}

.warning-text {
    font-size: 0.85rem;
    color: #ffffff;
    line-height: 1.4;
}

.payment-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.btn {
    padding: 15px 30px;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Vazirmatn', sans-serif;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: #fff;
    color: #2c3e50;
}

.btn-primary:hover {
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: #f8f9fa00;
    color: #ffffff;
    border: 2px solid #e9ecef21;
}

.btn-secondary:hover {
    background: #e9ecef0c;
    border: 2px solid #e9ecef;
}
.info-box{
    display: flex;
    justify-content: space-between;
    text-align: center;
    margin: 0px 0 50px;
}
.back-link {
    display: flex;
    margin: 0;
    padding: 0;
    /* text-align: center;
    margin: 10px -10px 10px 0; */
}

.back-link a {
    color: #a0b1ff;
    text-decoration: none;
    font-size: .9rem;
    font-weight: 600;
    padding: 10px 0;
    border-radius: 8px;
    display: inline-block;
}

.back-link a:hover {
    color: #778ef3;
}

.suportBtn {
    color: #a0b1ff;
    font-size: .9rem;
    font-weight: 600;
    padding: 10px 0;
    cursor: pointer;
    transition: all 0.3s ease;
    background: none;
    border: none;
    font-family: 'Vazirmatn', sans-serif;
}

.suportBtn:hover {
    color: #778ef3;
}

/* Loading animation for payment button */
.btn-primary.loading {
    position: relative;
    pointer-events: none;
    opacity: 0.9;
}

.spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(0, 0, 0, 0.2);
    border-top: 2px solid #2c3e50;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-left: 8px;
    vertical-align: middle;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Success animation */
.success-animation {
    animation: successPulse 0.6s ease;
}

@keyframes successPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Responsive design */
@media (max-width: 600px) {
    .payment-card {
        padding: 20px;
    }
    
    .title {
        font-size: 2rem;
    }
    
    .package-details {
        font-size: 1.2rem;
    }
    
    .btn {
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    .vpn-warning {
        padding: 12px;
    }
    
    .warning-text {
        font-size: 0.9rem;
    }
}

/* Error state for mobile input */
.mobile-input input.error {
    border-color: #6956E5;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

/* Success state for mobile input */
.mobile-input input.success {
    border-color: #27ae60;
    box-shadow: 0 0 0 3px rgba(39, 174, 96, 0.1);
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    animation: fadeIn 0.3s ease;
}

.loading-content {
    text-align: center;
    color: white;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid white;
    border-radius: 50%;
    margin: 0 auto 30px;
    animation: spin 1s linear infinite;
}

.loading-text {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    animation: pulse 1.5s ease-in-out infinite;
}

.loading-subtext {
    font-size: 1rem;
    opacity: 0.9;
    font-weight: 400;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

@media (max-width: 600px) {
    .loading-spinner {
        width: 50px;
        height: 50px;
    }
    
    .loading-text {
        font-size: 1.2rem;
    }
    
    .loading-subtext {
        font-size: 0.9rem;
    }
} 