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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 100vw;
    min-height: 100vh;
    background-color: #fff;
    position: relative;
}

/* 头部样式 */
.header {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    background-color: #fff;
    border-bottom: 1px solid #e5e5e5;
    position: sticky;
    top: 0;
    z-index: 100;
}

.back-btn, .menu-btn {
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    color: #333;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.back-btn:hover, .menu-btn:hover {
    background-color: #f0f0f0;
}

.title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    text-align: center;
}

/* 蓝色渐变背景区域 */
.hero-section {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #4a90e2 100%);
    padding: 40px 20px 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title, .hero-subtitle {
    color: #fff;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.hero-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    margin-bottom: 4px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

/* 表单区域 */
.form-section {
    padding: 30px 20px;
    background-color: #fff;
    border-radius: 20px 20px 0 0;
    margin-top: -20px;
    position: relative;
    z-index: 10;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
}

.form-title {
    font-size: 20px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 30px;
    color: #333;
}

.refund-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.input-group {
    position: relative;
}

.input-group input {
    width: 100%;
    padding: 16px 20px;
    border: none;
    background-color: #f8f9fa;
    border-radius: 12px;
    font-size: 16px;
    color: #333;
    transition: all 0.3s ease;
    outline: none;
}

.input-group input:focus {
    background-color: #fff;
    box-shadow: 0 0 0 2px #4a90e2;
    transform: translateY(-2px);
}

.input-group input::placeholder {
    color: #999;
    font-size: 15px;
}

.submit-btn {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #4a90e2 100%);
    color: #fff;
    border: none;
    padding: 18px 20px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 144, 226, 0.4);
}

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

/* 注意事项 */
.notice-section {
    padding: 20px;
    background-color: #f8f9fa;
    margin-top: 20px;
}

.notice-title {
    font-size: 16px;
    font-weight: 600;
    color: #666;
    margin-bottom: 15px;
}

.notice-content {
    margin-bottom: 20px;
}

.notice-item {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

/* 移动端适配 */
@media (max-width: 480px) {
    .hero-title, .hero-subtitle {
        font-size: 24px;
    }
    
    .hero-description {
        font-size: 13px;
    }
    
    .form-section {
        padding: 25px 16px;
    }
    
    .input-group input {
        padding: 14px 16px;
        font-size: 15px;
    }
    
    .submit-btn {
        padding: 16px 20px;
        font-size: 17px;
    }
}

@media (max-width: 360px) {
    .header {
        padding: 10px 12px;
    }
    
    .title {
        font-size: 16px;
    }
    
    .hero-section {
        padding: 30px 16px 50px;
    }
    
    .hero-title, .hero-subtitle {
        font-size: 22px;
    }
    
    .form-section {
        padding: 20px 12px;
    }
}

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

.form-section {
    animation: fadeInUp 0.6s ease-out;
}

.input-group {
    animation: fadeInUp 0.6s ease-out;
}

.input-group:nth-child(1) { animation-delay: 0.1s; }
.input-group:nth-child(2) { animation-delay: 0.2s; }
.submit-btn { animation: fadeInUp 0.6s ease-out 0.3s both; }

/* 加载状态 */
.submit-btn.loading {
    position: relative;
    color: transparent;
}

.submit-btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top: 2px solid #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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