/* 弹窗遮罩 */
.consult-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
}

/* 弹窗主体 */
.consult-modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 0;
    border: none;
    width: 90%;
    max-width: 450px;
    border-radius: 8px;
    position: relative;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

/* 关闭按钮 */
.consult-close {
    color: #fff;
    float: right;
    font-size: 32px;
    font-weight: bold;
    position: absolute;
    right: 20px;
    top: 12px;
    cursor: pointer;
    z-index: 10;
}

.consult-close:hover,
.consult-close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

/* 头部 */
.modal-header {
    background-color: #3498ff;
    color: white;
    padding: 18px;
    border-radius: 8px 8px 0 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.modal-logo {
    width: 40px;
    height: 40px;
}

.modal-title {
    font-size: 24px;
    font-weight: 500;
}

/* 表单 */
.consult-form {
    padding: 25px;
}

.form-item {
    margin-bottom: 25px;
}

.form-item input {
    width: 100%;
    border: 1px solid #ccc;
    padding: 12px;
    font-size: 16px;
    border-radius: 4px;
    box-sizing: border-box;
}

.submit-btn {
    width: 100%;
    background-color: #3498ff;
    color: white;
    border: none;
    padding: 15px;
    border-radius: 30px;
    font-size: 20px;
    cursor: pointer;
}

.submit-btn:hover {
    background-color: #2185d0;
}