* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

body {
    margin: 0;
    font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale
}

#root {
    width: 100%;
    min-height: 100vh
}

:root {
    --china-red: #c8102e;
    --china-red-dark: #a50d26;
    --china-red-deep: #8b0a1f;
    --china-red-light: #fdf1f2;
    --china-red-lighter: #fbeaec;
    --china-gold: #d4a017
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

body {
    font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: linear-gradient(135deg,var(--china-red) 0%,var(--china-red-dark) 100%);
    min-height: 100vh;
    padding: 20px 10px 40px
}

.container {
    max-width: 800px;
    margin: 0 auto
}

.form-wrapper {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 10px 40px #00000026;
    border: 1px solid rgba(200,16,46,.15)
}

.images-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px
}

.policy-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px #0000001a;
    transition: transform .3s ease,box-shadow .3s ease
}

.policy-image:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px #c8102e33
}

.policy-header {
    background: linear-gradient(135deg,var(--china-red-dark) 0%,var(--china-red-deep) 100%);
    border-left: 4px solid var(--china-red-deep);
    padding: 20px;
    margin-bottom: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 8px #c8102e33
}

.policy-text {
    color: #fff;
    line-height: 1.8;
    font-size: 15px;
    margin-bottom: 15px;
    text-align: justify;
    text-indent: 2em
}

.policy-text:last-child {
    margin-bottom: 0
}

.title {
    color: var(--china-red);
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--china-red)
}

.subtitle {
    color: #666;
    text-align: center;
    font-size: 14px;
    margin-bottom: 30px;
    font-style: italic;
    line-height: 1.6
}

.form-section {
    margin-bottom: 30px;
    padding: 20px;
    background: var(--china-red-lighter);
    border-radius: 8px;
    border: 1px solid rgba(200,16,46,.12)
}

.form-section h2 {
    color: var(--china-red);
    font-size: 18px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(200,16,46,.2)
}

.form-group {
    margin-bottom: 20px
}

.form-group label {
    display: block;
    color: #333;
    font-weight: 500;
    margin-bottom: 8px;
    font-size: 15px
}

.required {
    color: var(--china-red);
    margin-left: 4px
}

.form-group input[type=text],.form-group input[type=tel],.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 16px;
    transition: all .3s ease;
    font-family: inherit;
    background: #fff
}

.form-group input[type=text]:focus,.form-group input[type=tel]:focus,.form-group textarea:focus {
    outline: none;
    border-color: var(--china-red);
    box-shadow: 0 0 0 3px #c8102e1f
}

.form-group textarea {
    resize: vertical;
    min-height: 80px
}

.radio-group {
    display: flex;
    gap: 20px;
    margin-top: 10px
}

.radio-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: 400
}

.radio-label input[type=radio] {
    margin-right: 8px;
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--china-red)
}

.notice-section,.warning-section {
    margin: 25px 0;
    padding: 20px;
    border-radius: 8px;
    background: #fff8e6;
    border-left: 4px solid var(--china-gold)
}

.warning-section {
    background: #fdecec;
    border-left: 4px solid var(--china-red)
}

.notice-section h3,.warning-section h3 {
    color: var(--china-red);
    font-size: 16px;
    margin-bottom: 12px
}

.notice-section p,.warning-section ul {
    color: #555;
    font-size: 14px;
    line-height: 1.6
}

.warning-section ul {
    padding-left: 20px
}

.warning-section li {
    margin-bottom: 8px
}

.status-message {
    padding: 15px;
    border-radius: 6px;
    margin: 20px 0;
    font-weight: 500;
    text-align: center
}

.status-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb
}

.status-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg,var(--china-red) 0%,var(--china-red-dark) 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all .3s ease;
    margin-top: 20px;
    margin-bottom: 30px;
    box-shadow: 0 4px 12px #c8102e40
}

.submit-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px #c8102e66
}

.submit-btn:active:not(:disabled) {
    transform: translateY(0)
}

.submit-btn:disabled {
    opacity: .6;
    cursor: not-allowed
}

.upload-tip {
    color: #888;
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 10px
}

.upload-dropzone {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    min-height: 160px;
    padding: 24px 20px;
    border: 2px dashed rgba(200,16,46,.35);
    border-radius: 10px;
    background: var(--china-red-lighter);
    cursor: pointer;
    transition: all .3s ease;
    -webkit-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent
}

.upload-dropzone:hover {
    border-color: var(--china-red);
    background: var(--china-red-light);
    box-shadow: 0 4px 16px #c8102e1a
}

.upload-dropzone:active {
    background: var(--china-red-light);
    transform: scale(.99)
}

.upload-dropzone-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg,var(--china-red) 0%,var(--china-red-dark) 100%);
    color: #fff;
    font-size: 30px;
    line-height: 1;
    font-weight: 300;
    box-shadow: 0 4px 12px #c8102e4d
}

.upload-dropzone-title {
    font-size: 17px;
    font-weight: 600;
    color: var(--china-red)
}

.upload-dropzone-sub {
    font-size: 13px;
    color: #888
}

.file-input-hidden {
    display: none
}

.upload-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px
}

.upload-item {
    background: #fff;
    border: 1px solid rgba(200,16,46,.15);
    border-radius: 6px;
    padding: 10px 12px
}

.upload-item-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px
}

.upload-item-name {
    font-size: 13px;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 70%
}

.upload-item-size {
    font-size: 12px;
    color: #999
}

.upload-progress-bar {
    width: 100%;
    height: 6px;
    background: #f0f0f0;
    border-radius: 3px;
    overflow: hidden
}

.upload-progress-fill {
    height: 100%;
    background: linear-gradient(90deg,var(--china-red) 0%,var(--china-red-dark) 100%);
    border-radius: 3px;
    transition: width .3s ease
}

.upload-progress-text {
    display: block;
    text-align: right;
    font-size: 12px;
    color: var(--china-red);
    margin-top: 4px
}

.uploaded-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border: 1px solid rgba(200,16,46,.15);
    border-radius: 6px;
    padding: 8px 12px
}

.uploaded-thumb {
    width: 52px;
    height: 52px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0
}

.uploaded-item-info {
    flex: 1;
    min-width: 0
}

.uploaded-item-name {
    font-size: 13px;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
}

.uploaded-item-size {
    font-size: 12px;
    color: #999;
    margin-top: 2px
}

.uploaded-remove {
    padding: 6px 14px;
    background: none;
    border: 1px solid var(--china-red);
    color: var(--china-red);
    border-radius: 5px;
    font-size: 12px;
    cursor: pointer;
    transition: all .3s ease;
    flex-shrink: 0
}

.uploaded-remove:hover {
    background: var(--china-red);
    color: #fff
}

@media(max-width: 768px) {
    body {
        padding:10px 5px 60px
    }

    .form-wrapper {
        padding: 15px;
        border-radius: 8px
    }

    .images-container {
        gap: 10px;
        margin-bottom: 20px
    }

    .policy-image {
        border-radius: 6px
    }

    .policy-header {
        padding: 15px;
        margin-bottom: 20px
    }

    .policy-text {
        font-size: 14px;
        line-height: 1.7;
        text-indent: 2em
    }

    .title {
        font-size: 20px;
        margin-bottom: 15px
    }

    .subtitle {
        font-size: 13px;
        margin-bottom: 20px;
        padding: 0 10px
    }

    .form-section {
        padding: 15px;
        margin-bottom: 20px
    }

    .form-section h2 {
        font-size: 16px
    }

    .form-group label {
        font-size: 14px
    }

    .form-group input[type=text],.form-group input[type=tel],.form-group textarea {
        padding: 10px 12px;
        font-size: 16px
    }

    .radio-group {
        gap: 15px
    }

    .notice-section,.warning-section {
        padding: 15px;
        margin: 20px 0
    }

    .notice-section h3,.warning-section h3 {
        font-size: 15px
    }

    .notice-section p,.warning-section ul {
        font-size: 13px
    }

    .submit-btn {
        font-size: 18px;
        padding: 15px;
        margin-bottom: 40px;
        position: relative;
        z-index: 10
    }

    form {
        padding-bottom: 20px
    }
}
