.btn {
    width: 100%;
    font-weight: 600;
    font-size: .3rem;
    color: #FFFFFF;
    height: .93rem;
    background: #a42120;
    border-radius: .1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}
.radio-group {
    margin: 5px 0;
    margin-top: 10px;
}

.radio-option {
    display: block;
    position: relative;
    padding-left: 35px;
    /*margin-bottom: 12px;*/
    cursor: pointer;
    font-size: 16px;
}

.radio-option input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #eee;
    border-radius: 50%;
}

.radio-option:hover input ~ .checkmark {
    /*background-color: #ccc;*/
}

.radio-option input:checked ~ .checkmark {
    background-color: #2196F3;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.radio-option input:checked ~ .checkmark:after {
    display: block;
}

.radio-option .checkmark:after {
    top: 6px;
    left: 6px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: white;
}

.agreement-container {
    /*margin: 20px 0;*/
    /*padding: 15px;*/
    /*border: 1px solid #eee;*/
    /*border-radius: 5px;*/
    /*background: #f9f9f9;*/
    margin: 20px 0;
    padding: 0px 0px 20px 10px;
    border: 1px solid #eee;
    border-radius: 5px;
    background: #f9f9f9;
}

.agreement-content {
    height: 200px;
    overflow-y: auto;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    background: white;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.checkbox-custom {
    display: inline-block;
    width: 20px;
    /*width: 30%;*/
    height: 18px;
    border: 2px solid #ccc;
    border-radius: 3px;
    margin-right: 10px;
    position: relative;
}

#agree:checked + .checkbox-label .checkbox-custom {
    background: #2196F3;
    border-color: #2196F3;
}

#agree:checked + .checkbox-label .checkbox-custom::after {
    content: "✓";
    position: absolute;
    color: white;
    font-size: 14px;
    left: 2px;
    top: -2px;
}

/*#submitBtn {*/
/*    padding: 10px 20px;*/
/*    background: #a42120;*/
/*    color: white;*/
/*    border: none;*/
/*    border-radius: 4px;*/
/*    cursor: pointer;*/
/*}*/
#submitBtn {
    width: 100%;
    font-weight: 600;
    font-size: .3rem;
    color: #FFFFFF;
    height: .93rem;
    background: #a42120;
    border-radius: 1.1rem;
    display: flex
    ;
    justify-content: center;
    align-items: center;
}

#submitBtn:disabled {
    background: #cccccc;
    cursor: not-allowed;
}

.terms-link {
    color: #2196F3;
    text-decoration: none;
}

.terms-link:hover {
    text-decoration: underline;
}

.error-message {
    color: #f44336;
    font-size: 14px;
    margin-top: 5px;
    display: none;
}

.upload-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    font-family: Arial, sans-serif;
}

.upload-area {
    border: 2px dashed #ccc;
    border-radius: 5px;
    padding: 30px;
    text-align: center;
    margin-bottom: 20px;
    cursor: pointer;
    transition: all 0.3s;
}

.upload-area:hover {
    border-color: #4CAF50;
    background-color: #f9f9f9;
}

.preview-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.preview-item {
    position: relative;
    width: 150px;
    height: 150px;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
}

.preview-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.remove-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    background: #f44336;
    color: white;
    border: none;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    cursor: pointer;
    font-size: 12px;
}

.upload-btn {
    background: #4CAF50;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 20px;
}

.upload-btn:disabled {
    background: #cccccc;
    cursor: not-allowed;
    /*margin-top: -15px;*/
}

.progress-container {
    margin-top: 20px;
    display: none;
}

.progress-bar {
    height: 20px;
    background: #e0e0e0;
    border-radius: 5px;
    margin-bottom: 10px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background: #4CAF50;
    width: 0%;
    transition: width 0.3s;
}

.file-info {
    margin-top: 10px;
    font-size: 14px;
    color: #666;
}


/*地区设置*/
.container {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 20px auto;
    margin-top: 0px;
    margin-bottom: 0px;
}

#address-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23666666'><path d='M7 10l5 5 5-5z'/></svg>") no-repeat right 15px center/12px auto;
}

#address-input_two {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
}


.selector-popup {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    width: 100%;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    display: none;
    z-index: 1000;
}

.selector-wrapper {
    display: flex;
    height: 50vh;
    max-height: 300px;
    overflow: hidden;
}

.selector-box {
    flex: 1;
    min-width: 33%;
    height: 100%;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    border-right: 1px solid #eee;
}

.selector-item {
    position: relative;
    padding: 10px 15px;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    transition: all 0.2s;
    /* min-height: 25px; */
    display: flex;
    align-items: center;
    gap: 8px;
}

/* 新增箭头样式 */
.selector-item.has-arrow::after {
    content: '';
    display: inline-block;
    width: 12px;
    height: 12px;
    margin-left: auto;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23999999'><path d='M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z'/></svg>") no-repeat center;
}

.selector-item:hover {
    background: #f8f8f8;
}

.selector-item.active {
    background: #90CAF9;
    color: #1A237E;
}

@media (max-width: 400px) {
    .container {
        width: 95%;
    }
    .selector-item {
        padding: 8px 15px;
        font-size: 13px;
    }
}



/*文件上传2*/


@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}



.header {
    background: linear-gradient(to right, #4b6cb7, #182848);
    color: white;
    padding: 25px 40px;
    text-align: center;
}

.header h1 {
    font-size: 28px;
    margin-bottom: 10px;
    font-weight: 600;
    letter-spacing: 1px;
}

.header p {
    opacity: 0.9;
    font-size: 15px;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.6;
}

.upload-container {
    padding: 30px 40px 40px;
}

.upload-area {
    border: 2px dashed #d1d1d1;
    border-radius: 12px;
    padding: 25px 20px;
    text-align: center;
    background-color: #f8f9ff;
    transition: all 0.3s ease;
    margin-bottom: 25px;
    position: relative;
    cursor: pointer;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.upload-area:hover {
    border-color: #4b6cb7;
    background-color: rgba(75, 108, 183, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(75, 108, 183, 0.1);
}

.upload-text {
    font-size: 22px;
    font-weight: 600;
    color: #4b6cb7;
    display: flex;
    align-items: center;
    gap: 12px;
}

.upload-icon {
    font-size: 36px;
    font-weight: 400;
    transition: all 0.3s ease;
}

.file-input {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    cursor: pointer;
}

.upload-list {
    width: 100%;
    margin-top: 25px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #eee;
    background: white;
    max-height: 400px;
    overflow-y: auto;
    display: none;
}

.upload-item {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    transition: all 0.3s ease;
}

.upload-item:hover {
    background-color: #f8f9ff;
}

.upload-item:last-child {
    border-bottom: none;
}

.thumbnail {
    width: 70px;
    height: 50px;
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    flex-shrink: 0;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.file-info {
    padding: 0 20px;
    flex-grow: 1;
    min-width: 0;
}

.file-name {
    font-weight: 500;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 4px;
    font-size: 15px;
}

.file-size {
    font-size: 13px;
    color: #777;
}

.delete-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #ffebee;
    color: #ff6b6b;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.delete-btn:hover {
    background: #ff6b6b;
    color: white;
    transform: scale(1.1);
}

.upload-status {
    text-align: center;
    padding: 15px;
    margin: 20px 0;
    border-radius: 10px;
    background: #f0fff4;
    color: #2e7d32;
    font-weight: 500;
    display: none;
}

.upload-status.error {
    background: #ffebee;
    color: #c62828;
}

@media (max-width: 768px) {
    .header {
        padding: 20px;
    }

    .upload-container {
        padding: 20px 0px 25px;
    }

    .upload-area {
        height: 90px;
        padding: 20px;
    }

    .upload-text {
        font-size: 20px;
    }

    .upload-icon {
        font-size: 32px;
    }

    .upload-item {
        padding: 12px 15px;
    }

    .thumbnail {
        width: 60px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .header h1 {
        font-size: 24px;
    }

    .header p {
        font-size: 14px;
    }

    .upload-area {
        height: 50px;
        padding: 15px;
    }

    .upload-text {
        font-size: 18px;
        flex-direction: column;
        gap: 8px;
    }

    .file-name {
        font-size: 14px;
    }
}

.progress-container {
    width: 100%;
    height: 6px;
    background: #e0e0e0;
    border-radius: 3px;
    margin: 20px 0;
    overflow: hidden;
    display: none;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(to right, #4b6cb7, #182848);
    width: 0%;
    transition: width 0.4s ease;
}

.footer {
    text-align: center;
    padding: 20px;
    color: #777;
    font-size: 14px;
    border-top: 1px solid #eee;
    background: #f9f9f9;
}

.footer a {
    color: #4b6cb7;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

.uploaded-indicator {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #e0e0e0;
    margin-right: 8px;
}

.uploaded-indicator.uploaded {
    background: #4CAF50;
}

.uploaded-indicator.uploading {
    background: #4b6cb7;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.action-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.action-btn {
    padding: 14px 35px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.get-results {
    background: linear-gradient(to right, #4b6cb7, #182848);
    color: white;
}

.get-results:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(75, 108, 183, 0.4);
}

.result-panel {
    margin-top: 30px;
    padding: 20px;
    background: #f8f9ff;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    display: none;
}

.result-panel h3 {
    color: #4b6cb7;
    margin-bottom: 15px;
    text-align: center;
}

.result-content {
    background: white;
    border-radius: 8px;
    padding: 15px;
    font-family: monospace;
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid #ddd;
}

.server-info {
    background: #e3f2fd;
    border-radius: 8px;
    padding: 15px;
    margin: 25px 0 15px;
    font-size: 14px;
}

.server-info h3 {
    color: #1976d2;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.code-block {
    background: #2d2d2d;
    color: #f8f8f2;
    border-radius: 5px;
    padding: 15px;
    font-family: monospace;
    margin: 10px 0;
    overflow-x: auto;
    font-size: 13px;
}

.php-comment {
    color: #75715e;
}

.php-keyword {
    color: #f92672;
}

.php-function {
    color: #66d9ef;
}

.php-string {
    color: #e6db74;
}

.php-variable {
    color: #fd971f;
}

/* 滚动条样式 */
.upload-list::-webkit-scrollbar,
.result-content::-webkit-scrollbar {
    width: 8px;
}

.upload-list::-webkit-scrollbar-track,
.result-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.upload-list::-webkit-scrollbar-thumb,
.result-content::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

.upload-list::-webkit-scrollbar-thumb:hover,
.result-content::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/*复选框样式s*/
.fa-checkbox {
    position: relative;
    padding-left: 30px;
    cursor: pointer;
}

.fa-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.fa-checkbox .fa-check {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #eee;
    border-radius: 4px;
    text-align: center;
    line-height: 20px;
    color: transparent;
    transition: all 0.3s;
}

.fa-checkbox:hover .fa-check {
    background-color: #ddd;
}

.fa-checkbox input:checked ~ .fa-check {
    background-color: #2196F3;
    color: white;
}
/*复选框样式end*/



