﻿/* 原有样式保持不变 */
.caclulate-content {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 113, 157, 0.1);
    padding: 20px;
    margin: 15px auto;
    border: 1px solid #e6f2f8;
}

.ui2-step-6 {
    background: #f8fbfd;
    border-radius: 6px;
    margin-bottom: 20px;
    border: 1px solid #e6f2f8;
}

.ui2-step-curr span {
    background: #00719d;
    color: white;
    border-radius: 4px;
    font-weight: 500;
}

.ui2-step-undone span {
    color: #7f9ba8;
    font-weight: 400;
}

.con-us-form-title {
    font-size: 18px;
    border-bottom: 1px solid #e6f2f8;
    color: #2c3e50;
    padding-bottom: 15px;
    margin-bottom: 20px;
    font-weight: 600;
}

.con-us-title h2 {
    font-size: 16px;
    color: #2c3e50;
    font-weight: 400;
    line-height: 1.5;
}

.con-us-content {
    margin-top: 15px;
    width: auto;
    overflow: hidden;
    padding: 5px 0;
}

.con-us-p {
    display: inline-block;
    width: 120px;
    padding-right: 10px;
    text-align: right;
    font-weight: 500;
    float: left;
    line-height: 32px;
    color: #4a6572;
    font-size: 13px;
}

.con-us-content input {
    border: 1px solid #cbd6e2;
    width: 250px;
    height: 32px;
    padding-left: 10px;
    padding-right: 10px;
    border-radius: 4px;
    font-size: 13px;
    transition: all 0.2s ease;
    background: #fff;
}

    .con-us-content input:focus {
        border-color: #00719d;
        box-shadow: 0 0 0 2px rgba(0, 113, 157, 0.1);
        outline: none;
    }

input[type="text"] {
    -webkit-appearance: none;
}

.con-us-content textarea {
    width: 500px;
    height: 120px;
    border: 1px solid #cbd6e2;
    padding: 10px;
    border-radius: 4px;
    font-size: 13px;
    transition: all 0.2s ease;
    font-family: inherit;
    resize: vertical;
}

    .con-us-content textarea:focus {
        border-color: #00719d;
        box-shadow: 0 0 0 2px rgba(0, 113, 157, 0.1);
        outline: none;
    }

.con-us-content .con-us-submit {
    background: #00719d;
    color: #fff;
    width: 120px;
    height: 36px;
    line-height: 36px;
    font-size: 14px;
    margin-left: 130px;
    cursor: pointer;
    margin-bottom: 20px;
    border: none;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.2s ease;
}

    .con-us-content .con-us-submit:hover {
        background: #005d82;
        transform: translateY(-1px);
        box-shadow: 0 2px 6px rgba(0, 113, 157, 0.3);
    }

    .con-us-content .con-us-submit:active {
        transform: translateY(0);
    }

.con-us-a a {
    background: #00719d;
    border-radius: 4px;
    border: none;
    color: #FFF;
    font: 500 12px Arial,Helvetica,sans-serif;
    text-align: center;
    width: 60px;
    height: 28px;
    line-height: 28px;
    display: inline-block;
    transition: all 0.2s ease;
}

    .con-us-a a:hover {
        background: #005d82;
        text-decoration: none;
    }

.con-us-content a {
    display: inline-block;
}

.uploadfiles {
    position: relative;
    display: inline-block;
    background: #f8fbfd;
    border: 1px dashed #b8d4e5;
    border-radius: 4px;
    overflow: hidden;
    color: #4a6572;
    text-decoration: none;
    text-indent: 0;
    line-height: 26px;
    transition: all 0.2s ease;
}

    .uploadfiles:hover {
        background: #e6f2f8;
        border-color: #00719d;
        color: #4a6572;
    }

    .uploadfiles input {
        position: absolute;
        font-size: 100px;
        right: 0;
        top: 0;
        opacity: 0;
        cursor: pointer;
    }

.file_name {
    position: absolute;
    margin-top: 5px;
    margin-left: 8px;
    padding: 4px 8px;
    background: #e6f7f0;
    border: 1px solid #a3e0c8;
    border-radius: 3px;
    color: #1a7d5e;
    font-size: 12px;
    font-weight: 500;
}

    .file_name span {
        color: #0da371;
        margin-left: 4px;
    }

.con-us-a p {
    margin-left: 130px;
    color: #7f9ba8;
    font-size: 12px;
    margin-top: 6px;
}

/* 成功消息样式 */
.quote-content h2 {
    color: #1a7d5e;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    text-align: center;
}

.quote-content a {
    display: inline-block;
    background: #00719d;
    color: white;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

    .quote-content a:hover {
        background: #005d82;
        text-decoration: none;
        color: white;
    }

/* 响应式调整 */
@media (max-width: 768px) {
    .caclulate-content {
        margin: 10px;
        padding: 15px;
    }

    .con-us-content input,
    .con-us-content textarea {
        width: 100%;
        max-width: 250px;
    }

    .con-us-p {
        width: 100px;
    }

    .con-us-a p {
        margin-left: 100px;
    }

    .con-us-content .con-us-submit {
        margin-left: 100px;
    }
}

/* 错误提示样式 */
.error-message {
    color: #e53e3e;
    font-size: 12px;
    margin-left: 130px;
    margin-top: 5px;
    display: none;
}

.input-error {
    border-color: #e53e3e !important;
    box-shadow: 0 0 0 2px rgba(229, 62, 62, 0.1) !important;
}

/* 新增上传进度样式 - 最小化修改 */
.upload-progress {
    margin-left: 130px;
    margin-top: 8px;
    width: 250px;
    display: none;
}

.progress-bar {
    height: 4px;
    background: #e6f2f8;
    border-radius: 2px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: #00719d;
    width: 0%;
    transition: width 0.3s ease;
}

.upload-status {
    margin-left: 130px;
    margin-top: 5px;
    font-size: 12px;
    display: none;
}

.upload-success {
    color: #1a7d5e;
}

.upload-error {
    color: #e53e3e;
}


.slider-container {
    max-width: 300px;
    margin: 30px 0;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    border: 2px solid #e1e5ee;
}

.slider-label {
    text-align: center;
    margin-bottom: 15px;
    font-weight: 600;
    color: #555;
}

.slider-track {
    height: 50px;
    background: #e9ecef;
    border-radius: 25px;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.1);
}

.slider-thumb {
    position: absolute;
    left: 0;
    top: 0;
    height: 50px;
    width: 50px;
    background: #0096e0;
    border-radius: 25px;
    cursor: grab;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    box-shadow: 0 2px 10px rgba(74, 0, 224, 0.3);
    transition: background 0.3s;
    z-index: 2;
}

    .slider-thumb:active {
        cursor: grabbing;
        background: #3a00b0;
    }

.slider-progress {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background: linear-gradient(to right, #8e2de2, #4a00e0);
    border-radius: 25px;
    width: 0;
    transition: width 0.3s;
}

.slider-text {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-weight: 600;
    pointer-events: none;
    transition: opacity 0.3s;
}

.success-text {
    color: #2ecc71;
    opacity: 0;
}

.slider-captcha {
    display: flex;
    align-items: center;
    margin-top: 10px;
    font-size: 14px;
    color: #666;
}

    .slider-captcha i {
        margin-right: 8px;
        font-size: 16px;
    }

@media (max-width: 500px) {
    .container {
        border-radius: 0;
    }

    .form-container {
        padding: 20px;
    }
}