/* RECHARGE页面特有样式 */

/* Main Content */
.main-content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    padding: 2rem;
    text-align: center;
    margin-top: 70px; /* 增加上边距，避免被导航栏遮挡 */
}

/* 移动端适配 */
@media (max-width: 768px) {
	.navbar {
        padding: 15px 0px;
        flex-direction: column;
        gap: 15px;
    }
    .main-content {
        margin-top: 90px; /* 在移动端增加更多上边距 */
        padding: 1rem;
    }
}

.recharge-container {
    max-width: 500px;
    width: 100%;
    margin: 0 auto;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.1rem;
    color: rgba(44, 62, 80, 0.9);
    margin-bottom: 0.5rem;
}

.page-description {
    font-size: 0.9rem;
    color: rgba(44, 62, 80, 0.8);
    margin-bottom: 2rem;
    line-height: 1.5;
}

/* Form Styles */
.recharge-form {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.input-icon {
    margin-right: 0.75rem;
    font-size: 1.1rem;
}

.form-input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 1rem;
    color: #333;
    outline: none;
}

.form-input::placeholder {
    color: #666;
}

.form-label {
    display: block;
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.form-note {
    color: rgba(44, 62, 80, 0.7);
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

/* Currency Options */
.currency-options {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.currency-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.currency-option input[type="radio"] {
    margin: 0;
    width: 16px;
    height: 16px;
}

.currency-label {
    cursor: pointer;
    color: #2c3e50;
    font-weight: 500;
    font-size: 0.95rem;
    margin: 0;
}

.currency-text {
    display: inline;
}

/* Payment Methods */
.payment-methods {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    justify-content: center;
}

.payment-option {
    flex: 1;
}

.payment-option input[type="radio"] {
    display: none;
}

.payment-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 10px;
    padding: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #2c3e50;
    font-weight: 600;
    font-size: 1.1rem;
    text-shadow: none;
}

.payment-option input[type="radio"]:checked + .payment-label {
    background: rgba(255, 255, 255, 0.95);
    border-color: #00d4ff;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
    color: #1a252f;
}

.payment-icon {
    width: 32px;
    height: 32px;
    filter: brightness(1.2) contrast(1.1);
}

/* Recharge Button */
.submit-btn {
    width: 100%;
    background: #4CAF50;
    color: white;
    border: none;
    border-radius: 25px;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.recharge-btn:hover {
    background: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(76, 175, 80, 0.3);
}

.recharge-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.submit-btn:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.submit-btn:disabled {
    background: #cccccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.submit-btn .btn-loading {
    display: none;
}

#payment-element {
    margin: 20px 0;
    padding: 20px;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    background: #f8f9fa;
}

#payment-message {
    margin: 15px 0;
    padding: 10px;
    border-radius: 4px;
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

#payment-message.hidden {
    display: none;
}



/* Responsive Design */
@media (max-width: 768px) {
    
    .container {
        padding: 0 1rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .payment-methods {
        flex-direction: column;
    }
    
    .currency-options {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .currency-label {
        font-size: 0.9rem;
        padding: 0.8rem;
    }
    
    .footer-content {
        padding: 0 1rem;
    }
}