/******* Do not edit this file *******
Woody Code Snippets CSS and JS
Saved: Jun 02 2026 | 07:07:21 */
/* =========================
   KF Global Inquiry Popup
   Screenshot Style Version
   ========================= */

.kf-popup {
    display: none;
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .55);
    z-index: 999999;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
    overflow-y: auto;
}

.kf-popup.is-active {
    display: flex;
}

body.kf-popup-open {
    overflow: hidden;
}

/* 弹窗主体：四角圆角 */
.kf-popup-box {
    position: relative;
    width: 500px;
    max-width: 100%;
    max-height: 92vh;
    overflow-y: auto;
    background: #ffffff;
    border-radius: 18px;
    padding: 34px 32px 24px;
    box-shadow: 0 24px 70px rgba(15, 23, 42, .18);
    box-sizing: border-box;
    animation: kfShow .25s ease;
}

/* 让滚动条不破坏圆角视觉 */
.kf-popup-box::-webkit-scrollbar {
    width: 6px;
}

.kf-popup-box::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, .45);
    border-radius: 999px;
}

@keyframes kfShow {
    from {
        opacity: 0;
        transform: translateY(18px) scale(.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* 右上角关闭按钮 */
.kf-close {
    position: absolute;
    right: 18px;
    top: 18px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #b8bfcc;
    color: #ffffff;
    border: none;
    padding: 0;
    font-size: 20px;
    font-weight: 700;
    line-height: 34px;
    text-align: center;
    cursor: pointer;
    transition: all .25s ease;
    z-index: 2;
}

.kf-close:hover {
    background: #1266ea;
    color: #ffffff;
}

/* 标题 */
.kf-popup-title {
    font-size: 29px;
    line-height: 1.2;
    font-weight: 800;
    color: #050816;
    margin: 0 0 12px;
    padding-right: 46px;
    letter-spacing: -.4px;
}

/* 表单整体 */
.kf-form {
    display: flex;
    flex-direction: column;
    gap: 13px;
}

/* 输入框和文本框 */
.kf-form input,
.kf-form textarea {
    width: 100%;
    border: none;
    outline: none;
    background: #f3f6fb;
    border-radius: 12px;
    color: #111827;
    font-size: 21px;
    line-height: 1;
    font-weight: 400;
    box-sizing: border-box;
    transition: all .25s ease;
}

.kf-form input {
    height: 53px;
    padding: 0 24px;
}

.kf-form textarea {
    height: 121px;
    padding: 17px 24px;
    resize: vertical;
}

.kf-form input::placeholder,
.kf-form textarea::placeholder {
    color: #a8adb6;
    opacity: 1;
}

.kf-form input:focus,
.kf-form textarea:focus {
    background: #f8faff;
    box-shadow: 0 0 0 2px rgba(18, 102, 234, .18);
}

/* 上传区域 */
.kf-upload {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 11px;
    margin-bottom: 6px;
}

.kf-upload input {
    display: none;
}

/* Upload 按钮 */
.kf-upload-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 154px;
    height: 55px;
    padding: 0 28px;
    border: 1.5px solid #1266ea;
    border-radius: 999px;
    background: #ffffff;
    color: #000000;
    font-size: 20px;
    font-weight: 500;
    line-height: 1;
    cursor: pointer;
    transition: all .25s ease;
}

.kf-upload-btn:hover {
    background: #1266ea;
    color: #ffffff;
}

#kfFileName {
    color: #6b7280;
    font-size: 14px;
    line-height: 1.4;
    word-break: break-all;
}

/* Submit 按钮 */
.kf-submit {
    width: 100%;
    height: 64px;
    border: none;
    border-radius: 10px;
    background: #0f6ff6;
    color: #ffffff;
    font-size: 21px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: all .25s ease;
}

.kf-submit:hover {
    background: #0b5fd4;
}

/* 移动端 */
@media (max-width: 768px) {
    .kf-popup {
        align-items: flex-start;
        padding: 18px;
    }

    .kf-popup-box {
        width: 100%;
        max-height: calc(100vh - 36px);
        border-radius: 16px;
        padding: 30px 20px 22px;
        margin-top: 10px;
    }

    .kf-close {
        right: 14px;
        top: 14px;
        width: 32px;
        height: 32px;
        font-size: 19px;
        line-height: 32px;
    }

    .kf-popup-title {
        font-size: 26px;
        padding-right: 42px;
        margin-bottom: 12px;
    }

    .kf-form {
        gap: 12px;
    }

    .kf-form input {
        height: 62px;
        padding: 0 20px;
        font-size: 18px;
        border-radius: 11px;
    }

    .kf-form textarea {
        height: 130px;
        padding: 16px 20px;
        font-size: 18px;
        border-radius: 11px;
    }

    .kf-upload {
        margin-top: 8px;
        margin-bottom: 4px;
    }

    .kf-upload-btn {
        min-width: 140px;
        height: 52px;
        font-size: 18px;
    }

    .kf-submit {
        height: 60px;
        font-size: 19px;
        border-radius: 10px;
    }
}

@media (max-width: 480px) {
    .kf-popup-box {
        padding: 28px 16px 20px;
        border-radius: 14px;
    }

    .kf-popup-title {
        font-size: 24px;
    }

    .kf-form input,
    .kf-form textarea {
        font-size: 17px;
    }
}
