/* 全局基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft Yahei", sans-serif;
}

.inquiry-page {
    padding: 0 0 160px 0;
    border: 1px solid #eeeeee;
}

.inquiry-head {
    max-width: 1280px;
    margin: 0 auto;
    padding-top: 160px;
    color: #111111;


    h1 {
        line-height: 80px;
        font-size: 64px;
        font-weight: 700;
    }


    .promise {
        margin-top: 20px;
        line-height: 36px;
        font-size: 24px;
    }

    .contact-container {
        margin-top: 60px;
        display: flex;
        align-items: center;
        padding: 33px 32px 32px 32px;
        font-size: 16px;
        background-color: #F8F8F8;
        box-sizing: border-box;
        margin-bottom: 32px;

        .contact-info {
            flex: 1;
            min-width: 300px;
            padding-left: 12px;

            li {
                font-size: 16px;
                color: #767676;
                line-height: 24px;
                margin-bottom: 12px;
                list-style: disc;

                &:last-child {
                    margin-bottom: 0;
                }
            }
        }

        .qrcode-container {
            width: 135px;
            height: 135px;
            flex-shrink: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;

            img {
                width: 100%;
                height: 100%;
                object-fit: contain;
            }
        }
    }

}

.inquiry-container {
    padding-top: 64px;
    max-width: 1280px;
    margin: 0 auto;
    border-top: 2px solid #111111;
}

.form-container {
    max-width: 100%;

    form {
        padding: 0 0 32px 32px;
    }

    .form-row {
        display: flex;
        align-items: flex-start;
        margin-bottom: 20px;
        padding-bottom: 10px;

        .label-col {
            width: 203px;
            line-height: 48px;
            color: #111111;
            font-size: 16px;
            font-weight: 700;
        }


        .input-col {
            flex: 1;
        }


        .required {
            color: #dc3545;
            margin-left: 4px;
        }

        select, input[type="text"], input[type="email"], textarea {
            padding: 0 15px;
            height: 48px;
            width: 100%;
            line-height: 46px;
            color: #111111;
            font-size: 16px;
            font-family: "Pretendard", "Malgun Gothic", "맑은 고딕", Dotum, "돋움", sans-serif;
            border: 1px solid #d4d4d4;
            transition: border-color 0.3s;
        }

        select {
            width: 25%;
            display: inline-block;
            margin-right: 20px;
        }

        textarea {
            width: 100%;
            height: 200px;
            padding: 11px;
        }

        select:focus, input:focus, textarea:focus {
            border-color: #111111;
            outline: 0;
        }

        .product-type-group {
            display: flex;
            gap: 10px;
            align-items: center;
            flex-wrap: wrap;
        }

        .product-type-group select {
            width: auto;
            min-width: 180px;
        }

        .direct-input {
            display: flex;
            align-items: center;
            gap: 5px;
            margin-top: 8px;
        }

        /* 文本域样式 */

        textarea {
            height: 150px;
            resize: vertical;
            line-height: 1.5;
        }


        /* 错误提示样式 */

        .error-tip {
            color: #dc3545;
            font-size: 12px;
            margin-top: 4px;
            height: 16px;
            line-height: 16px;
        }

        /* 字数统计 */

        .word-count {
            text-align: right;
            font-size: 12px;
            color: #6c757d;
            margin-top: 4px;
        }

    }

    .btnBox {
        margin: 0 auto;
        min-width: 200px;
        text-align: center;
    }

    .submit-btn {
        width: 100%;
        padding: 0 20px;
        height: 56px;
        line-height: 54px;
        font-size: 18px;
        font-weight: 700;
        cursor: pointer;
        background: #0b50f2;
        color: #FFFFFF;
        border: none;
        text-align: center;
        transition: background-color 0.3s;
        font-family: "Noto Sans SC", "Gothic", sans-serif;
    }

    .submit-btn:hover {
        background-color: #1142b6;
    }

    .submit-btn:disabled {
        background-color: #6c757d;
        cursor: not-allowed;
    }

    .pos {
        position: relative;
        height: 68px;

        .error-tip {
            position: absolute;
            left: 203px;
            bottom: 0;
        }
    }
}

@media (max-width: 980px) {
    .inquiry-head {
        & .contact-container {
            .qrcode-container {
                width: 60px !important;
                height: 60px !important;
            }
        }
    }

    .inquiry-head {
        & .contact-container {
            & .contact-info {
                li {
                    font-size: 14px;
                    color: #767676;
                    line-height: 240px;
                    margin-bottom: 12px;
                    list-style: disc;
                }
            }
        }
    }

    .form-container {
        form {
            padding: 0;
        }
    }
}

@media (max-width: 1280px) {
    .inquiry-page {
        padding: 0 20px 160px 20px;

    }

    .inquiry-head {
        max-width: 1280px;
        margin: 0 auto;
        padding-top: 90px;
        color: #111111;


        h1 {
            font-size: 32px;
            line-height: 42px;
        }


        .promise {
            font-size: 12px;
            line-height: 18px;
            font-weight: 400;
            margin-top: 12px;
        }

        .contact-container {
            margin-bottom: 20px;
            padding: 20px;
            font-size: 14px;

            .contact-info {
                flex: 1;
                min-width: auto;
                padding-left: 12px;

                li {
                    font-size: 14px;
                    color: #767676;
                    line-height: 20px;
                    margin-bottom: 12px;
                    list-style: disc;

                    &:last-child {
                        margin-bottom: 0;
                    }
                }
            }

            .qrcode-container {
                width: 90px;
                height: 90px;
            }
        }

    }

    .inquiry-container {
        padding-top: 20px;
        border-top: 1px solid #111111;
    }

    .form-container {
        max-width: 100%;

        form {
            padding: 0;
        }

        .form-row {

            flex-direction: column;
            margin-bottom: 0;
            padding-bottom: 10px;

            .label-col {
                width: 203px;
                line-height: 48px;
                color: #111111;
                font-size: 14px;
                font-weight: 700;
            }

            .input-col {
                width: 100%;
            }

            .required {
                color: #dc3545;
                margin-left: 4px;
            }

            select, input[type="text"], input[type="email"], textarea {
                width: 100%;
                height: 38px;
                line-height: 38px;
                font-size: 14px;
                border: 1px solid #d4d4d4;
            }

            select {
                width: 100%;
                display: inline-block;
                margin-right: 20px;
                margin-bottom: 10px;
            }

            textarea {
                min-height: 150px;
                max-height: 200px;
            }
        }

        .btnBox {
            width: calc(50% - 4px);
        }


        .pos {
            height: auto;

            .error-tip {
                left: 0;
            }
        }
    }

}