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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: #0f172a;
    min-height: 100vh;
    color: #e2e8f0;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.hidden {
    display: none !important;
}

.header {
    text-align: center;
    margin-bottom: 32px;
    padding: 40px 20px;
}

.header h1 {
    font-size: 28px;
    margin-bottom: 10px;
    background: linear-gradient(45deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.header p {
    color: #64748b;
    font-size: 14px;
}

.query-section {
    margin-bottom: 32px;
}

.query-box {
    background: rgba(30, 41, 59, 0.8);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid rgba(255,255,255,0.1);
}

.query-box h3 {
    font-size: 18px;
    margin-bottom: 16px;
    color: #e2e8f0;
}

.query-input-group {
    display: flex;
    gap: 12px;
}

.query-input-group input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.8);
    color: #e2e8f0;
    font-size: 14px;
    transition: all 0.3s;
}

.query-input-group input:focus {
    outline: none;
    border-color: #3b82f6;
}

.query-input-group button {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(45deg, #3b82f6, #8b5cf6);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.query-input-group button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

#query-result {
    margin-top: 16px;
}

.complaint-section {
    background: rgba(30, 41, 59, 0.8);
    border-radius: 16px;
    padding: 32px;
    border: 1px solid rgba(255,255,255,0.1);
}

.complaint-section h2 {
    font-size: 24px;
    margin-bottom: 24px;
    color: #e2e8f0;
}

.step-indicator {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    position: relative;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 1;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
}.step.active .step-number {
    background: linear-gradient(45deg, #3b82f6, #8b5cf6);
    color: #fff;
}

.step.active .step-label {
    color: #3b82f6;
}

.step.completed .step-number {
    background: rgba(34, 197, 94, 0.8);
    color: #fff;
}

.step.completed .step-label {
    color: #22c55e;
}

.step-label {
    font-size: 12px;
    color: #64748b;
}

.step-line {
    flex: 1;
    height: 2px;
    background: rgba(255,255,255,0.1);
    margin: 0 8px;
}

.form-step h3 {
    font-size: 20px;
    margin-bottom: 24px;
    color: #e2e8f0;
}

.complaint-types {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.complaint-type-card {
    background: rgba(15, 23, 42, 0.6);
    border: 2px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.complaint-type-card:hover {
    border-color: #3b82f6;
    transform: translateY(-2px);
}

.complaint-type-card.active {
    border-color: #3b82f6;
    background: linear-gradient(45deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
}

.type-icon {
    font-size: 32px;
    margin-bottom: 12px;
}

.type-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #e2e8f0;
}

.type-desc {
    font-size: 13px;
    color: #64748b;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: #94a3b8;
}

.required {
    color: #ef4444;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.8);
    color: #e2e8f0;
    font-size: 14px;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3b82f6;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
}

.upload-area {
    margin-bottom: 12px;
}

.upload-area input[type="file"] {
    display: none;
}

.upload-label {
    display: block;
    text-align: center;
    padding: 32px;
    background: rgba(15, 23, 42, 0.6);
    border: 2px dashed rgba(255,255,255,0.2);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
}

.upload-label:hover {
    border-color: #3b82f6;
    background: rgba(59, 130, 246, 0.05);
}

.upload-icon {
    font-size: 32px;
    display: block;
    margin-bottom: 8px;
}

.evidence-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 12px;
}

.evidence-preview img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
}

.form-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 24px;
}

.btn-prev,
.btn-next,
.btn-submit {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-prev {
    background: rgba(255,255,255,0.1);
    color: #e2e8f0;
}

.btn-prev:hover {
    background: rgba(255,255,255,0.2);
}

.btn-next,
.btn-submit {
    background: linear-gradient(45deg, #3b82f6, #8b5cf6);
    color: #fff;
}

.btn-next:hover,
.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.review-card {
    background: rgba(15, 23, 42, 0.6);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
}

.review-card .detail-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.review-card .detail-row:last-child {
    border-bottom: none;
}

.review-card .detail-label {
    color: #64748b;
    font-size: 14px;
}

.review-card .detail-value {
    color: #e2e8f0;
    font-size: 14px;
    font-weight: 500;
}

.success-content {
    text-align: center;
    padding: 40px 20px;
}

.success-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.success-content h3 {
    font-size: 24px;
    margin-bottom: 12px;
    color: #22c55e;
}

.success-content p {
    color: #94a3b8;
    margin-bottom: 8px;
    font-size: 15px;
}

.success-content #complaint-id {
    font-size: 20px;
    font-weight: 700;
    color: #3b82f6;
}

.success-tip {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 24px;
}

.btn-primary {
    padding: 14px 32px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(45deg, #3b82f6, #8b5cf6);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.footer {
    text-align: center;
    margin-top: 48px;
    padding: 24px;
    color: #64748b;
    font-size: 13px;
}

.evidence-item {
    position: relative;
    display: inline-block;
}

.evidence-item img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
}

.remove-evidence {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(239, 68, 68, 0.9);
    color: white;
    border: none;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.remove-evidence:hover {
    background: rgba(239, 68, 68, 1);
    transform: scale(1.1);
}

/* 查询结果样式 */
.result-card {
    background: rgba(30, 41, 59, 0.8);
    border-radius: 12px;
    padding: 24px;
    border: 1px solid rgba(255,255,255,0.1);
    margin-top: 16px;
}

.result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.result-header h3 {
    font-size: 18px;
    color: #e2e8f0;
}

.status-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.result-body {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.result-section {
    background: rgba(15, 23, 42, 0.6);
    border-radius: 8px;
    padding: 16px;
}

.result-section h4 {
    font-size: 14px;
    color: #94a3b8;
    margin-bottom: 12px;
    font-weight: 600;
}

.result-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.result-item:last-child {
    border-bottom: none;
}

.result-label {
    color: #64748b;
    font-size: 14px;
}

.result-value {
    color: #e2e8f0;
    font-size: 14px;
    font-weight: 500;
}

.description-content {
    color: #e2e8f0;
    font-size: 14px;
    line-height: 1.6;
    white-space: pre-wrap;
}

.response-content {
    color: #e2e8f0;
    font-size: 14px;
    line-height: 1.6;
    white-space: pre-wrap;
    background: rgba(34, 197, 94, 0.1);
    padding: 12px;
    border-radius: 6px;
    border-left: 3px solid #22c55e;
}

.evidence-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.evidence-gallery .evidence-item {
    position: relative;
}

.evidence-gallery .evidence-item img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.evidence-gallery .evidence-item img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

@media (max-width: 640px) {
    .complaint-types {
        grid-template-columns: 1fr;
    }
    
    .step-label {
        font-size: 10px;
    }
    
    .step-number {
        width: 36px;
        height: 36px;
        font-size: 13px;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .btn-prev,
    .btn-next,
    .btn-submit {
        width: 100%;
    }
    
    .result-card {
        padding: 16px;
    }
    
    .evidence-gallery .evidence-item img {
        width: 100px;
        height: 100px;
    }
}
