* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #FFFFFF;
}

.contact-logo {
    width: 1920px;
}

.form-container {
    margin: 0 auto;
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}


.form-group {
    display: flex;
    margin-bottom: 20px;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
}

/* 关键样式：左侧图标容器 */
.form-icon {
    flex: 0 0 80px; /* 固定宽度 */
    background-color: #f0f0f0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 18px 0;
    height: 60px;
}

.form-icon-120 {
    flex: 0 0 120px; /* 固定宽度 */
    background-color: #f0f0f0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 18px 0;
    height: 60px;
}

/* 设置图标为蓝色 */
.form-icon i {
    font-size: 20px;
}

.form-icon span {
    font-size: 12px;
    color: #888;
    margin-top: 5px;
}

/* 输入框样式 */
.form-input {
    flex: 1;
    padding: 20px 15px;
    border: none;
    outline: none;
    font-size: 16px;
    background-color: white;
}

.form-input:focus {

}


/* 提交按钮样式 */
.submit-btn {
    width: auto;
    padding: 12px 110px; /* 内边距 */
    background-color: #004277; /* 默认蓝色背景 */
    color: white; /* 白色文字 */
    border: none; /* 无边框 */
    border-radius: 10px; /* 圆角 */
    font-size: 16px; /* 字体大小 */
    cursor: pointer; /* 手型光标 */
    margin: 20px 0;
    transition: background-color 0.2s ease; /* 背景色过渡动画 */
}

/* 鼠标悬停效果 */
.submit-btn:hover {
    background-color: #ffcc00; /* 黄色背景 */
}

.submit-flex {
    display: flex;
    align-items: center;
    justify-items: center;
    line-height: 46px;
}

.contact-result {
    height: 46px;
    color: #6b6b6b;
    margin-top: 10px;
    margin-left: 20px;
    font-size: 18px;
    line-height: 46px;
    text-align: center;
    justify-items: center;
    margin-bottom: 20px;

    white-space: nowrap; /* 禁止换行 */
    overflow: hidden; /* 隐藏溢出内容 */
    text-overflow: ellipsis; /* 溢出时显示省略号 */

}

.contact-success {
    color: #3d9124;
    font-size: 18px;
}

.contact-error {
    color: #bd4141;
    font-size: 18px;
}

.contact-net-error {
    color: #e87c00;
    font-size: 18px;
}


.captcha-refresh {
    cursor: pointer;
    color: #004277;
}


/* 手机端适配 */
@media (max-width: 768px) {

    .contact-logo {
        width: 430px;
    }

    .submit-btn {
        width: 100%;
    }

    .submit-flex {
        display: grid;
    }


    .contact-result {
        margin: 0;
    }

}