﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft YaHei", sans-serif;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #555;
}

.win_1 input, select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
}

    input:focus, select:focus {
        outline: none;
        border-color: #4285f4;
        box-shadow: 0 0 0 2px rgba(66, 133, 244, 0.2);
    }

.row {
    display: flex;
    gap: 10px;
}

    .row select {
        flex: 1;
    }

button {
    width: 100%;
    padding: 14px;
    background-color: #4285f4;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
}

    button:hover {
        background-color: #3367d6;
    }

@media (max-width: 768px) {
    .row {
        flex-direction: column;
        gap: 15px;
    }

    .container {
        padding: 15px;
    }

    input, select, button {
        font-size: 15px;
        padding: 10px 12px;
    }

    .citylist select {
        margin-top:10px;
    }

    .citylist input {
        margin-top: 10px;
    }
}

/* 自定义正方形单选按钮样式 */
.square-radio {
    display: flex;
    gap: 20px;
    padding: 10px 0;
}

    .square-radio label {
        display: flex;
        align-items: center;
        gap: 10px;
        cursor: pointer;
        user-select: none;
    }

    .square-radio input[type="radio"] {
        display: none;
    }

    .square-radio .checkmark {
        width: 20px;
        height: 20px;
        border: 2px solid #ddd;
        border-radius: 3px; /* 轻微圆角，使正方形更美观 */
        display: inline-block;
        position: relative;
        transition: all 0.2s;
    }

    .square-radio input[type="radio"]:checked + .checkmark {
        border-color: #4285f4;
        background-color: #4285f4;
    }

        .square-radio input[type="radio"]:checked + .checkmark::after {
            content: '';
            position: absolute;
            left: 5px;
            top: 1px;
            width: 6px;
            height: 12px;
            border: solid white;
            border-width: 0 2px 2px 0;
            transform: rotate(45deg);
        }

/* 身份证号码输入框提示样式 */
.id-card-hint {
    color: #999;
    font-size: 14px;
    margin-top: 5px;
}

.ck-box-css {
    border: 1px solid #F8F8FF;
    display: block;
    overflow: hidden;
}

.tcinput + label {
    width: 30px;
    height: 30px;
    display: inline-block;
    vertical-align: top;
    text-align: center;
    cursor: pointer;
    border: 2px solid #999;
    color: #333;
}

.tcinput:checked + label::before {
    display: inline-block;
    content: "\2714";
    text-align: center;
    font-size: 18px;
    line-height: 26px;
    color: #000;
    width: 26px;
    height: 26px;
    background-color: chartreuse;
}

.lp_class {
    display:none;
}

.idNumber_jhr_class {
    display: none;
}


.citylist select {
    margin-top: 10px;
}

.citylist input {
    margin-top: 10px;
}



/* 生日框CSS */
/*.gearDate {
    font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
    font-size: 10px;
    background-color: rgba(0, 0, 0, 0.2);
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9900;
    overflow: hidden;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both
}*/
.gearDate {
    font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
    font-size: 10px;
    background-color: rgba(0, 0, 0, 0.2);
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9900;
    overflow: hidden;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    touch-action: none; /* 阻止触摸滚动 */
}

    .gearDate::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        pointer-events: auto; /* 允许遮罩层接收点击事件 */
    }

.date_ctrl {
    vertical-align: middle;
    background-color: #d5d8df;
    color: #000;
    margin: 0;
    height: auto;
    width: 100%;
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 9901;
    overflow: hidden;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0)
}

.slideInUp {
    -webkit-animation: slideInUp .3s;
    animation: slideInUp .3s;
}

@-webkit-keyframes slideInUp {
    from {
        -webkit-transform: translate3d(0, 100%, 0);
        transform: translate3d(0, 100%, 0)
    }

    to {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0)
    }
}

@keyframes slideInUp {
    from {
        -webkit-transform: translate3d(0, 100%, 0);
        transform: translate3d(0, 100%, 0)
    }

    to {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0)
    }
}

.ym_roll,
.date_roll,
.datetime_roll,
.time_roll {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    width: 100%;
    height: auto;
    overflow: hidden;
    background-color: transparent;
    -webkit-mask: -webkit-gradient(linear, 0% 50%, 0% 100%, from(#debb47), to(rgba(36, 142, 36, 0)));
    -webkit-mask: -webkit-linear-gradient(top, #debb47 50%, rgba(36, 142, 36, 0))
}

    .ym_roll > div,
    .date_roll > div,
    .datetime_roll > div,
    .time_roll > div {
        font-size: 2.3em;
        height: 10em;
        float: left;
        background-color: transparent;
        position: relative;
        overflow: hidden;
        -webkit-box-flex: 4;
        -webkit-flex: 4;
        -ms-flex: 4;
        flex: 4
    }

        .ym_roll > div .gear,
        .date_roll > div .gear,
        .datetime_roll > div .gear,
        .time_roll > div .gear {
            width: 100%;
            float: left;
            position: absolute;
            z-index: 9902;
            margin-top: -4em
        }

.date_roll_mask {
    -webkit-mask: -webkit-gradient(linear, 0% 40%, 0% 0%, from(#debb47), to(rgba(36, 142, 36, 0)));
    -webkit-mask: -webkit-linear-gradient(bottom, #debb47 50%, rgba(36, 142, 36, 0));
    padding: 0
}

.date_roll > div:nth-child(2) {
    -webkit-box-flex: 2;
    -webkit-flex: 2;
    -ms-flex: 2;
    flex: 2
}

.date_roll > div:nth-child(1),
.datetime_roll > div:nth-child(1) {
    -webkit-box-flex: 4;
    -webkit-flex: 4;
    -ms-flex: 4;
    flex: 4
}

.datetime_roll > div:first-child {
    -webkit-box-flex: 6;
    -webkit-flex: 6;
    -ms-flex: 6;
    flex: 6
}

.datetime_roll > div:last-child {
    -webkit-box-flex: 6;
    -webkit-flex: 6;
    -ms-flex: 6;
    flex: 6
}

.date_grid {
    position: relative;
    top: 4em;
    width: 100%;
    height: 2em;
    margin: 0;
    box-sizing: border-box;
    z-index: 0;
    border-top: 1px solid #abaeb5;
    border-bottom: 1px solid #abaeb5
}

    .date_grid > div {
        color: #000;
        position: absolute;
        right: 0;
        top: 0;
        font-size: .8em;
        line-height: 2.5em
    }

.date_roll > div:nth-child(3) .date_grid > div {
    left: 42%
}

.datetime_roll > div .date_grid > div {
    right: 0
}

.datetime_roll > div:first-child .date_grid > div {
    left: auto;
    right: 0%
}

.datetime_roll > div:last-child .date_grid > div {
    left: 50%
}

.time_roll > div:nth-child(1) .date_grid > div {
    right: 1em
}

.ym_roll > div:nth-child(1) .date_grid > div {
    right: .1em
}

.ym_roll > div .date_grid > div,
.time_roll > div .date_grid > div {
    right: 5em
}

.date_btn {
    color: #0575f2;
    font-size: 1.6em;
    line-height: 1em;
    text-align: center;
    padding: .8em 1em
}

.date_btn_box:before,
.date_btn_box:after {
    content: '';
    position: absolute;
    height: 1px;
    width: 100%;
    display: block;
    background-color: #96979b;
    z-index: 15;
    -webkit-transform: scaleY(0.33);
    transform: scaleY(0.33)
}

.date_btn_box {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: stretch;
    -webkit-align-items: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    background-color: #f1f2f4;
    position: relative
}

    .date_btn_box:before {
        left: 0;
        top: 0;
        -webkit-transform-origin: 50% 20%;
        transform-origin: 50% 20%
    }

    .date_btn_box:after {
        left: 0;
        bottom: 0;
        -webkit-transform-origin: 50% 70%;
        transform-origin: 50% 70%
    }

.date_roll > div:nth-child(1) .gear {
    text-indent: 20%
}

.date_roll > div:nth-child(2) .gear {
    text-indent: -20%
}

.date_roll > div:nth-child(3) .gear {
    text-indent: -55%
}

.datetime_roll > div .gear {
    width: 100%;
    text-indent: -25%
}

.datetime_roll > div:first-child .gear {
    text-indent: -10%
}

.datetime_roll > div:last-child .gear {
    text-indent: -50%
}

.ym_roll > div .gear,
.time_roll > div .gear {
    width: 100%;
    text-indent: -70%
}

.ym_roll > div:nth-child(1) .gear,
.time_roll > div:nth-child(1) .gear {
    width: 100%;
    text-indent: 10%
}

.tooth {
    height: 2em;
    line-height: 2em;
    text-align: center
}


/* 声明框 */
.tklist {
    display: none;
    font-size: 14px;
}
#signatureparent {
    color: darkblue;
    background-color: #F8F8FF;
}

/*This is the div within which the signature canvas is fitted*/
#signature {
    background-color: lightgrey;
    height: 50%;
}

.bt_reset {
    height: 28px;
    line-height: 28px;
    margin: 5px 5px 0;
    padding: 0 15px;
    border: 1px solid #dedede;
    background-color: #fff;
    color: #333;
    border-radius: 2px;
    font-weight: 400;
    cursor: pointer;
    text-decoration: none;
}

.was {
    display: none;
}
.win_1 {
    display:none;
}

.fixed-container {
    display: flex;
    flex-direction: column;
    height: 100vh; /* Full height of the viewport */
}

.fixed-bottom {
    height: 100px; /* Fixed height */
}

.flexible-top {
    flex: 1; /* Takes up remaining space */
}


.bt-div-ty {
    display: block;
    height: 100px;
    text-align: center;
}

    .bt-div-ty .morenanniu {
        height: 28px;
        line-height: 28px;
        margin: 5px 15px 0;
        padding: 0 15px;
        border: 1px solid #dedede;
        background-color: #fff;
        color: #333;
        border-radius: 2px;
        font-weight: 400;
        cursor: pointer;
        text-decoration: none;
    }


.file-input-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* 提取各个样式配置后合并的独立样式 */
.custom-primary-btn {
    /* 布局相关 */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    /* 盒模型相关 */
    padding-left: 1.5rem; /* px-6 */
    padding-right: 1.5rem; /* px-6 */
    padding-top: 0.75rem; /* py-3 */
    padding-bottom: 0.75rem; /* py-3 */
    border-radius: 0.5rem; /* rounded-lg */
    /* 视觉样式 */
    background-color: #3B82F6; /* bg-primary */
    color: #FFFFFF; /* text-white */
    font-weight: 500; /* font-medium */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); /* shadow-md */
    /* 交互样式 */
    cursor: pointer;
    transition: all 300ms ease; /* transition-all duration-300 */
}

/* 基础样式：默认隐藏图片 */
#ImageData {
    display: none;
    max-width: 300px;
    max-height: 300px;
}

    /* 当src存在且不为空时显示图片 */
    #ImageData[src]:not([src=""]) {
        display: block;
    }

        /* 处理图片加载失败的情况 */
        #ImageData[src]:not([src=""]):error {
            display: none;
        }