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

body {
    font-family: 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
    background: #ffffff;
    min-height: 100vh;
    padding-bottom: 100px;
    position: relative;
}

/* 添加轻微的背景纹理以保持视觉层次 */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(240, 240, 240, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(250, 250, 250, 0.3) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* 加载动画已移至 common/common.css */

/* Header样式已移至 common/header.css 统一管理 */

/* 容器 */
.container {
    padding: 20px 15px;
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 表单区块 - 增强玻璃拟态效果 */
.form-section {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 24px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        0 2px 8px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.form-section:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.15),
        0 4px 12px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.form-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(236, 0, 0, 0.3), 
        rgba(236, 0, 0, 0.6), 
        rgba(236, 0, 0, 0.3), 
        transparent
    );
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.form-section::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
    pointer-events: none;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.section-title {
    font-size: 14px;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.7;
    font-weight: 500;
}

.section-title div:first-child {
    color: #333;
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-title div:first-child::before {
    content: '📋';
    font-size: 18px;
}

.section-title div:last-child {
    color: #666;
    font-size: 13px;
    font-weight: 400;
}

.form-group {
    display: flex;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transition: background 0.2s ease;
    border-radius: 12px;
    margin: 0 -8px;
    padding-left: 8px;
    padding-right: 8px;
}

.form-group:hover {
    background: rgba(236, 0, 0, 0.02);
}

.form-group:last-child {
    border-bottom: none;
}

.form-label {
    width: 110px;
    font-size: 15px;
    color: #333;
    flex-shrink: 0;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-label i {
    color: var(--primary-red, #ec0000);
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.form-input {
    flex: 1;
    border: 2px solid rgba(0, 0, 0, 0.08);
    outline: none;
    font-size: 15px;
    color: #333;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 14px;
    padding: 12px 16px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.form-input:focus {
    border-color: var(--primary-red, #ec0000);
    background: rgba(255, 255, 255, 1);
    box-shadow: 
        0 0 0 4px rgba(236, 0, 0, 0.1),
        0 2px 8px rgba(236, 0, 0, 0.1);
    transform: translateY(-1px);
}

.form-input::placeholder {
    color: #999;
    font-weight: 400;
}

.form-input:disabled {
    background: #f5f5f5;
    color: #999;
    cursor: not-allowed;
}

/* 上传区域 - 精美设计 */
.upload-box {
    margin-bottom: 20px;
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.upload-box:nth-child(1) { animation-delay: 0.1s; }
.upload-box:nth-child(2) { animation-delay: 0.2s; }
.upload-box:nth-child(3) { animation-delay: 0.3s; }

.upload-area {
    position: relative;
    width: 100%;
    height: 200px;
    border: 3px dashed rgba(236, 0, 0, 0.2);
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(250, 250, 250, 0.9) 100%);
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.upload-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(236, 0, 0, 0.1), transparent);
    transition: left 0.6s ease;
}

.upload-area:hover {
    border-color: var(--primary-red, #ec0000);
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(255, 250, 250, 1) 100%);
    transform: translateY(-4px);
    box-shadow: 
        0 8px 24px rgba(236, 0, 0, 0.15),
        0 4px 12px rgba(236, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.upload-area:hover::before {
    left: 100%;
}

.upload-area:active {
    transform: translateY(-2px);
}

.upload-area.has-image {
    border-color: var(--success-green, #10b981);
    border-style: solid;
    background: rgba(255, 255, 255, 1);
}

.upload-area img.uploaded-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    z-index: 2;
    transition: transform 0.3s ease;
}

.upload-area.has-image:hover img.uploaded-image {
    transform: scale(1.02);
}

.upload-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #999;
    z-index: 1;
    pointer-events: none;
    transition: all 0.3s ease;
}

.upload-area:hover .upload-placeholder {
    color: var(--primary-red, #ec0000);
}

.upload-placeholder i {
    font-size: 48px;
    margin-bottom: 12px;
    color: var(--primary-red, #ec0000);
    opacity: 0.6;
    transition: all 0.3s ease;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.upload-area:hover .upload-placeholder i {
    opacity: 1;
    transform: scale(1.1);
    animation: none;
}

.upload-placeholder p {
    font-size: 14px;
    color: #666;
    font-weight: 600;
    margin-top: 8px;
}

.upload-area.has-image .upload-placeholder {
    display: none;
}

/* 删除图片按钮 - 精美设计 */
.delete-image-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.9) 0%, rgba(220, 38, 38, 0.9) 100%);
    border: 2px solid rgba(255, 255, 255, 0.9);
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
}

.delete-image-btn:hover {
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.6);
    background: linear-gradient(135deg, rgba(239, 68, 68, 1) 0%, rgba(220, 38, 38, 1) 100%);
}

.delete-image-btn:active {
    transform: scale(0.95) rotate(90deg);
}

/* 上传提示 - 精美卡片设计 */
.upload-tips {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 2px solid rgba(0, 0, 0, 0.06);
    background: rgba(255, 255, 255, 0.5);
    border-radius: 16px;
    padding: 20px;
    margin-left: -8px;
    margin-right: -8px;
}

.tips-title {
    font-size: 15px;
    font-weight: 700;
    color: #333;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tips-title::before {
    content: '✨';
    font-size: 18px;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.tip-item {
    text-align: center;
    padding: 12px 8px;
    border-radius: 12px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.6);
}

.tip-item:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.tip-icon {
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff;
    font-weight: 700;
    font-size: 18px;
    margin: 0 auto 10px;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    transition: all 0.3s ease;
}

.tip-item:hover .tip-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.4);
}

.tip-icon.error {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.tip-item:hover .tip-icon.error {
    box-shadow: 0 6px 16px rgba(239, 68, 68, 0.4);
}

.tip-text {
    font-size: 11px;
    color: #666;
    font-weight: 600;
    line-height: 1.4;
}

/* 提交按钮 - 精美渐变和动画 */
.submit-bar {
    padding: 20px 15px;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 
        0 -8px 32px rgba(0, 0, 0, 0.1),
        0 -2px 8px rgba(0, 0, 0, 0.05);
    padding-bottom: calc(20px + env(safe-area-inset-bottom));
    z-index: 100;
}

.submit-btn {
    width: 100%;
    height: 52px;
    background: linear-gradient(135deg, #ec0000 0%, #c10000 50%, #b30000 100%);
    color: #fff;
    border: none;
    border-radius: 26px;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 
        0 6px 20px rgba(236, 0, 0, 0.4),
        0 2px 8px rgba(236, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 8px 24px rgba(236, 0, 0, 0.5),
        0 4px 12px rgba(236, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.submit-btn:active {
    transform: translateY(0);
    box-shadow: 
        0 4px 12px rgba(236, 0, 0, 0.4),
        0 2px 6px rgba(236, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.submit-btn i {
    margin-right: 8px;
    font-size: 16px;
}

/* Toast */
.toast {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: #fff;
    padding: 16px 28px;
    border-radius: 16px;
    font-size: 15px;
    z-index: 10000;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    font-weight: 500;
}

.toast.show {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* 响应式设计 */
@media (max-width: 480px) {
    .container {
        padding: 15px 12px;
    }
    
    .form-section {
        padding: 20px;
        border-radius: 20px;
    }
    
    .form-label {
        width: 100px;
        font-size: 14px;
    }
    
    .form-label i {
        font-size: 15px;
        width: 18px;
    }
    
    .upload-area {
        height: 180px;
    }
    
    .tips-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .tip-item {
        padding: 10px 6px;
    }
}

/* 完成状态提示 */
.completed-notice {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 24px;
    border-radius: 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 
        0 8px 24px rgba(16, 185, 129, 0.3),
        0 4px 12px rgba(16, 185, 129, 0.2);
    animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.notice-icon {
    font-size: 2.5rem;
    opacity: 0.95;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.notice-content h3 {
    margin: 0 0 6px 0;
    font-size: 1.15rem;
    font-weight: 700;
}

.notice-content p {
    margin: 0;
    font-size: 0.95rem;
    opacity: 0.95;
    line-height: 1.5;
}

input:disabled {
    cursor: not-allowed;
    opacity: 0.7;
}

.upload-area[style*="pointer-events: none"] {
    cursor: not-allowed;
    opacity: 0.7;
}

/* 收款方式选择器 */
.payment-method-selector {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 10px;
}

.method-option {
    background: rgba(255, 255, 255, 0.8);
    border: 2px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.method-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(236, 0, 0, 0.1), transparent);
    transition: left 0.5s ease;
}

.method-option:hover::before {
    left: 100%;
}

.method-option:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-color: rgba(236, 0, 0, 0.2);
}

.method-option.active {
    background: linear-gradient(135deg, rgba(236, 0, 0, 0.1) 0%, rgba(236, 0, 0, 0.05) 100%);
    border-color: var(--primary-red, #ec0000);
    box-shadow: 
        0 4px 16px rgba(236, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.method-option.active .method-icon {
    color: var(--primary-red, #ec0000);
    transform: scale(1.1);
}

.method-icon {
    font-size: 36px;
    color: #666;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.method-label {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    transition: color 0.3s ease;
}

.method-option.active .method-label {
    color: var(--primary-red, #ec0000);
}

/* 通知区域样式 */
.notice-section {
    background: linear-gradient(135deg, rgba(255, 251, 230, 0.95) 0%, rgba(255, 248, 220, 0.95) 100%);
    border: 2px solid rgba(245, 158, 11, 0.2);
}

.notice-section .section-title div:first-child::before {
    content: '⚠️';
}

.notice-content {
    font-size: 13px;
    color: #666;
    line-height: 1.8;
}

.notice-content p {
    margin: 8px 0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.notice-content p i {
    color: var(--primary-red, #ec0000);
    font-size: 14px;
    margin-top: 2px;
    flex-shrink: 0;
}

/* 表单选择框样式增强 */
.form-select {
    flex: 1;
    border: 2px solid rgba(0, 0, 0, 0.08);
    outline: none;
    font-size: 15px;
    color: #333;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 14px;
    padding: 12px 40px 12px 16px;
    transition: all 0.3s ease;
    font-weight: 500;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23666' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px;
    cursor: pointer;
}

.form-select:focus {
    border-color: var(--primary-red, #ec0000);
    background: rgba(255, 255, 255, 1);
    box-shadow: 
        0 0 0 4px rgba(236, 0, 0, 0.1),
        0 2px 8px rgba(236, 0, 0, 0.1);
    transform: translateY(-1px);
}

.form-select:disabled {
    background: #f5f5f5;
    color: #999;
    cursor: not-allowed;
    opacity: 0.7;
}

.form-select option {
    padding: 12px;
    background: white;
    color: #333;
}
