:root {
    --primary: #0badf6;
    --primary-dark: #1a6bc4;
    --text: #333;
    --muted: #7f8c8d;
    --surface: #fff;
    --surface-alt: #f8f9fa;
    --line: #ddd;
    --line-strong: #3498db;
    --notice-bg: #e8f4fd;
    --danger: #e74c3c;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

body {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: var(--text);
    min-height: 100vh;
    padding: 20px 12px;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

.container {
    max-width: 400px;
    margin: 0 auto;
    background: var(--surface);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.header_bann img {
    width: 100%;
}

.content {
    padding: 20px;
}

.section-title {
    font-size: 18px;
    font-weight: bold;
    margin: 15px 0 10px;
    color: var(--primary);
}

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

label {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
    font-weight: bold;
}

.required::after {
    content: "*";
    color: var(--danger);
    margin-left: 3px;
}

input,
select,
button {
    font: inherit;
}

input,
select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--line);
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
select:focus {
    border-color: var(--line-strong);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.15);
    outline: none;
}

.address-select-group {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.address-select-group select {
    flex: 1;
}

.upload-section {
    margin: 20px 0;
}

.upload-item {
    background: var(--surface-alt);
    border: 1px dashed var(--line-strong);
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    margin-bottom: 10px;
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.upload-item:hover {
    background: #f2f8fc;
}

.upload-item.is-uploading {
    opacity: 0.7;
    cursor: wait;
}

.upload-item.is-uploaded {
    border-style: solid;
    padding: 12px;
}

.upload-item__placeholder {
    display: flex;
    min-height: 72px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
}

.upload-icon {
    font-size: 24px;
    color: var(--line-strong);
    line-height: 1;
}

.upload-preview {
    display: none;
}

.upload-item.is-uploaded .upload-item__placeholder {
    display: none;
}

.upload-item.is-uploaded .upload-preview {
    display: block;
}

.upload-preview img {
    max-width: 100%;
    max-height: 100px;
    margin: 0 auto 8px;
    border-radius: 6px;
    object-fit: contain;
}

.upload-preview span {
    display: block;
    color: var(--text);
    font-size: 13px;
    line-height: 1.4;
}

.notice {
    background: var(--notice-bg);
    border-left: 4px solid var(--line-strong);
    padding: 10px 15px;
    margin: 15px 0;
    font-size: 14px;
    line-height: 1.6;
}

.submit-btn {
    background: var(--primary);
    color: var(--surface);
    border: none;
    border-radius: 8px;
    padding: 15px;
    font-size: 18px;
    font-weight: bold;
    width: 100%;
    cursor: pointer;
    transition: background-color 0.2s ease, opacity 0.2s ease;
    margin-top: 10px;
}

.submit-btn:hover {
    background: var(--primary-dark);
}

.submit-btn:disabled {
    opacity: 0.75;
    cursor: wait;
}

.form-message {
    display: none;
    margin-top: 12px;
    border-radius: 8px;
    padding: 12px 14px;
    font-size: 14px;
    line-height: 1.5;
}

.form-message.is-visible {
    display: block;
}

.form-message.is-error {
    background: #fff0ef;
    color: #b2352f;
}

.form-message.is-success {
    background: #eefcf3;
    color: #1c7c43;
}

.footer {
    text-align: center;
    padding: 15px;
    font-size: 12px;
    color: var(--muted);
    border-top: 1px solid #eee;
}

.footer-links {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.footer-link {
    margin: 0 10px;
    color: var(--line-strong);
}

.footer-detail-link {
    color: var(--line-strong);
}

.time-info {
    margin-top: 10px;
    font-size: 12px;
}

.blue-wave {
    height: 10px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-dark) 50%, var(--primary) 100%);
    background-size: 200% 100%;
    animation: wave 3s infinite linear;
}

@keyframes wave {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.audit-self-service {
    max-width: 400px;
    margin: 0 auto;
}

.audit-self-service__card {
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.audit-self-service__card::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.3;
}

.audit-self-service__content {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
}

.audit-self-service__icon {
    width: 48px;
    height: 48px;
    background: var(--line-strong);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    flex-shrink: 0;
}

.audit-self-service__icon svg {
    width: 24px;
    height: 24px;
    fill: #fff;
}

.audit-self-service__text {
    flex: 1;
    color: #000;
}

.audit-self-service__title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 4px;
    line-height: 1.2;
}

.audit-self-service__time {
    font-size: 14px;
    opacity: 0.9;
    line-height: 1.3;
}

.audit-self-service__arrow {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(0, 0, 0, 0.7);
    flex-shrink: 0;
}

.audit-self-service__arrow svg {
    width: 16px;
    height: 16px;
}

.hidden-file-input {
    display: none !important;
}

.details-body {
    background: linear-gradient(135deg, #1a6bc4 0%, #0d4a8a 100%);
}

.details-content {
    padding: 30px 20px;
    text-align: center;
    background: #fff;
}

.qrcode-section {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.qrcode-container {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.qrcode {
    width: 300px;
    height: 300px;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qrcode-inner {
    width: 300px;
    height: 300px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.finger-icon {
    font-size: 24px;
    margin: 10px 0;
    color: #e74c3c;
}

.instruction {
    color: #e74c3c;
    font-size: 18px;
    font-weight: bold;
    margin: 10px 0;
    line-height: 1.4;
}

.steps {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
    margin: 20px 0;
    text-align: left;
}

.step {
    display: flex;
    margin-bottom: 15px;
}

.step:last-child {
    margin-bottom: 0;
}

.step-number {
    background: #3498db;
    color: #fff;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    flex-shrink: 0;
}

.step-text {
    flex: 1;
    line-height: 1.6;
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

@media (max-width: 480px) {
    body {
        padding: 12px 8px;
    }

    .content {
        padding: 16px;
    }

    .audit-self-service__card {
        padding: 12px;
    }

    .audit-self-service__icon {
        width: 40px;
        height: 40px;
        margin-right: 12px;
    }

    .audit-self-service__title {
        font-size: 16px;
    }

    .audit-self-service__time {
        font-size: 13px;
    }

    .qrcode,
    .qrcode-inner {
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
    }
}
