
/* 2. 单选框和多选框鼠标手势 */
input[type="radio"],
input[type="checkbox"] {
    cursor: pointer;
}

/* 单选框和多选框的label也设置手势 */
input[type="radio"] + span,
input[type="checkbox"] + span,
label:has(input[type="radio"]),
label:has(input[type="checkbox"]) {
    cursor: pointer;
}

/* 3. 美化全局滚动条 */
/* Webkit浏览器（Chrome, Safari, Edge）的滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

::-webkit-scrollbar-thumb:active {
    background: #64748b;
}

/* Firefox的滚动条样式 */
* {
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 #f1f5f9;
}

/* 为文本域添加美化的滚动条 */
textarea::-webkit-scrollbar {
    width: 6px;
}

textarea::-webkit-scrollbar-track {
    background: #f8fafc;
    border-radius: 3px;
}

textarea::-webkit-scrollbar-thumb {
    background: #e2e8f0;
    border-radius: 3px;
}

textarea::-webkit-scrollbar-thumb:hover {
    background: #cbd5e1;
}

/* 响应式优化 - 在移动设备上隐藏滚动条但保持功能 */
@media (max-width: 768px) {
    ::-webkit-scrollbar {
        width: 4px;
        height: 4px;
    }
    ::-webkit-scrollbar-thumb {
        background: rgba(203, 213, 225, 0.6);
    }
}

/* 额外的视觉优化 */
/* 让复选框和单选框在hover时有轻微的放大效果 */
input[type="radio"]:hover,
input[type="checkbox"]:hover {
    transform: scale(1.05);
    transition: transform 0.15s ease;
}

/* 让label在hover时有轻微的颜色变化 */
label:hover {
    color: #374151;
    transition: color 0.15s ease;
}





/* 背景图基础样式 */
.bg-image-cover {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* 特殊盒子样式 */
.special-box {
    position: relative;
    width: 65%;
    background-color: #fff;
    border-radius: 12px 12px 0 0;
    padding: 2rem 0;
}

/* 上边框和左右边框的上半部分 */
.special-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    border-top: 2px solid #6666660f;
    border-left: 2px solid #6666660f;
    border-right: 2px solid #6666660f;
    border-radius: 12px 12px 0 0;
    mask-image: linear-gradient(to bottom, #666 25%, transparent 25%);
    -webkit-mask-image: linear-gradient(to bottom, #666 25%, transparent 25%);
}

/* 文字框背景图样式 */
.text-center {
    background-image: url("/lsswszf/resource/images/bg03.png");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    width: 95%;
    margin: 0 auto;
    height: 300px;
}

/* 文字容器样式 */
.text-content {
    color: #003046;
    width: 95%;
    text-indent: 2em;
    font-size: 18px;
    padding: 2em 0.5em;
    line-height: 32px;
    font-family: Source Han Sans CN-Medium;
}

/* 带缺口的矩形样式 */
.notched-rectangle {
    width: 90%;
    background-color: white;
    border: 1px solid #e0ebfe;
    border-radius: 10px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 5px 5px 10px #c8dbe7;
}

.line-segment {
    display: block;
    height: 20px;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -35%);
    z-index: 10;
}

.notched-content {
    width: 90%;
    border: 1px solid #d4e3ff;
    background-color: white;
    border-radius: 10px;
    margin: 5% auto 0;
    box-shadow: 5px 5px 10px #c8dbe7;
    box-sizing: border-box;
    position: relative;
    transition: height 0.5s ease;
}

.notched-content-img {
    display: block;
    width: 20%;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -39%);
}

/* 表单样式 */
.form-row {
    display: flex;
    align-items: flex-start;
    width: 100%;
}

.form-label {
    width: 100px;
    text-align: right;
    flex-shrink: 0;
    padding-right: 1rem;
    padding-top: 2px;
}

.form-content {
    flex-grow: 1;
}



/* 表单选项容器样式 */
.form-options-container {
    /* padding-left: 2rem; */
}


/* 表单容器样式 */
.form-container {
    padding: 40px 0;
}


/* 按钮样式 */
/* 简单直接的按钮样式 */
.btnSubmit {
    background: linear-gradient(to top, #067CC7 0%, #00B2F5 100%) !important;
    color: white !important;
    font-weight: 500;
    padding: 8px 24px;
    border-radius: 8px;
    border: none;
    font-size: 14px;
    cursor: pointer;
}

.btnReset {
    background: linear-gradient(to top, #B4B4B4 0%, #D4D4D4 100%) !important;
    color: white !important;
    font-weight: 500;
    padding: 8px 24px;
    border-radius: 8px;
    border: none;
    font-size: 14px;
    cursor: pointer;
}

.btnSubmit:hover {
    background: linear-gradient(to top, #0056B3 0%, #0099E5 100%) !important;
}

.btnReset:hover {
    background: linear-gradient(to top, #9CA3AF 0%, #C4C4C4 100%) !important;
}


/* 响应式设计 */
@media (min-width: 769px) {
    .special-box {
        margin-top: -15%;
    }


}

@media (max-width: 768px) {
    .special-box {
        width: 90%;
        margin-top: -60px;
        padding: 1.5rem 0;
    }

    .text-content {
        font-size: 0.9rem;
        text-align: justify;
        padding-top: 1em;
        padding-bottom: 1em;
        color: #003046;
    }

    .form-label {
        width: 80px;
    }


    .notched-content-img {
        width: 32%;
    }
}