* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.container {
    max-width: 600px;
    width: 100%;
}

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

.logo {
    font-size: 32px;
    font-weight: bold;
    color: white;
    margin-bottom: 10px;
}

.header h1 {
    color: white;
    font-size: 24px;
    font-weight: 600;
}

.payment-info,
.payment-details {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.loading {
    text-align: center;
    padding: 40px 0;
}

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

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

.info-card,
.action-card {
    margin-bottom: 20px;
}

.info-card h2,
.action-card h2 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #333;
}

.info-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

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

.label {
    color: #666;
    font-size: 14px;
}

.value {
    color: #333;
    font-weight: 600;
    font-size: 14px;
}

.description {
    color: #666;
    font-size: 14px;
    margin-bottom: 20px;
}

.payment-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}

.payment-method-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    background: white;
    cursor: pointer;
    transition: all 0.3s;
}

.payment-method-btn:hover {
    border-color: #667eea;
    transform: translateY(-2px);
}

.payment-method-btn.selected {
    border-color: #667eea;
    background: #f5f7ff;
}

.payment-method-btn img {
    width: 40px;
    height: 40px;
    margin-bottom: 10px;
}

.payment-method-btn span {
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

.btn-primary,
.btn-secondary {
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-bottom: 12px;
}

.btn-primary {
    background: #667eea;
    color: white;
}

.btn-primary:hover:not(:disabled) {
    background: #5568d3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.btn-primary:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.btn-secondary {
    background: white;
    color: #666;
    border: 2px solid #e0e0e0;
}

.btn-secondary:hover {
    border-color: #667eea;
    color: #667eea;
}

.security-notice {
    text-align: center;
    margin-top: 20px;
}

.security-notice p {
    color: white;
    font-size: 14px;
    opacity: 0.9;
}

/* 响应式设计 */
@media (max-width: 600px) {
    .payment-methods {
        grid-template-columns: 1fr;
    }
    
    .header h1 {
        font-size: 20px;
    }
}
