main {
    margin-top: 100px;
}

/* 容器布局 */
.container {
    width: 80%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
}

h1 {
    display: inline-block;
    font-size: 30px;
    font-weight: 600;
    padding: 20px 0;
    border-bottom: 2px solid #409eff;
    margin-top: 20px;
    color: #333;
}

/* 面包屑导航 */
main .row {
    width: 100%;
    background-color: #f0f0f0;
}
main .row .bread {
    width: 80%;
    height: 50px;
    margin: 0 auto;
    display: flex;
    align-items: center;
}
.breadcrumb {
    display: flex;
    align-items: center;
    list-style: none;
}

.breadcrumb-item {
    color: #606266;
    text-decoration: none;
}

.breadcrumb-item a {
    color: #606266;
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: #409eff;
}

.breadcrumb-separator {
    margin: 0 8px;
    color: #c0c4cc;
}

.breadcrumb-item:last-child {
    color: #303133;
}

/* 联系信息区域 */
.contact {
    width: 35%;
}

.contact .box {
    margin: 20px 0;
    background-color: #ededed;
    padding: 25px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.contact .box .title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 25px;
    color: #333;
    padding-bottom: 10px;
    border-bottom: 1px dashed #ccc;
}

.contact .box p {
    margin: 15px 0;
    color: #555;
    line-height: 1.8;
    position: relative;
    padding-left: 24px;
}

.contact .box p::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #409eff;
    font-weight: bold;
}

/* 留言表单区域 */
.message {
    width: 50%;
}

.message p {
    margin-top: 20px;
    font-weight: 700;
    font-size: 18px;
    color: #595959;
}

.message span {
    display: block;
    font-size: 14px;
    margin: 20px 0;
    line-height: 24px;
    color: #666;
}

/* 表单样式 */

.form-item label {
    display: inline-block;
    width: 80px;
    margin-right: 10px;
    vertical-align: top;
    line-height: 36px;
    color: #606266;
    font-size: 14px;
}

.form-control {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #dcdfe6;
    border-radius: 4px;
    font-size: 14px;
    line-height: 1.5;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus {
    outline: none;
    border-color: #409eff;
    box-shadow: 0 0 0 2px rgba(64, 158, 255, 0.2);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
    line-height: 1.6;
}

.form-actions {
    text-align: right;
    margin-top: 30px;
    padding-left: 90px; /* 对齐表单内容 */
}

.btn {
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid transparent;
    height: 40px;
    min-width: 100px;
}

.btn-default {
    background-color: #fff;
    border-color: #dcdfe6;
    color: #606266;
    margin-right: 10px;
}

.btn-default:hover {
    background-color: #f5f7fa;
    border-color: #c0c4cc;
}

.btn-primary {
    background-color: #409eff;
    color: #fff;
    border-color: #409eff;
}

.btn-primary:hover {
    background-color: #66b1ff;
    border-color: #66b1ff;
}

/* 表单验证错误提示 */
.error-message {
    color: #f56c6c;
    font-size: 12px;
    margin-top: 5px;
    height: 16px;
    line-height: 16px;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0.2s, opacity 0.2s;
}

.error-message.show {
    visibility: visible;
    opacity: 1;
}

/* 地图区域 */
.map {
    width: 80%;
    margin: 50px auto;
}

.map-container {
    width: 100%;
    height: 500px;
    margin-top: 20px;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    background-color: #f5f7fa;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #666;
    text-align: center;
}

.map-placeholder #yzMap {
    width: 100%;
    height: 500px;
    z-index: 0;
}

/* 加载状态 */
.loading-mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.loading-mask.show {
    opacity: 1;
    visibility: visible;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(64, 158, 255, 0.2);
    border-radius: 50%;
    border-top-color: #409eff;
    animation: spin 1s linear infinite;
}
.tdt-control-container {
    display: none !important;
}
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* 消息提示 */
.toast {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 12px 20px;
    border-radius: 4px;
    color: #fff;
    font-size: 14px;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    min-width: 180px;
    text-align: center;
}

.toast.show {
    opacity: 1;
    visibility: visible;
}

.toast.success {
    background-color: rgba(72, 187, 120, 0.9);
}

.toast.error {
    background-color: rgba(245, 108, 108, 0.9);
}

.toast.warning {
    background-color: rgba(250, 173, 20, 0.9);
}

/* 响应式设计 */
@media only screen and (max-width: 576px) {
    main {
        width: 100%;
        box-sizing: border-box;
        margin-top: 60px;
    }

    main .row .bread {
        width: 90%;
    }
    .map {
        width: 90%;
    }
    .container {
        width: 100%;
        flex-direction: column;
        gap: 30px;
    }

    .contact,
    .message {
        width: 90%;
        margin: 0 auto;
    }

    h1 {
        font-size: 26px;
        padding: 15px 0;
    }

    .contact .box {
        padding: 15px;
    }

    .form-item {
        margin-bottom: 18px;
    }

    .form-item label {
        display: block;
        width: 100%;
        text-align: left;
        margin-bottom: 8px;
        line-height: 1.5;
    }

    .form-control {
        width: 100%;
    }

    .error-message {
        margin-left: 0;
    }

    .form-actions {
        padding-left: 0;
        text-align: center;
    }

    .btn {
        padding: 8px 16px;
        height: auto;
    }

    .map-container {
        height: 300px;
    }
}
