

@keyframes layer-bounceOut {
    to {
        opacity: 0;
        transform: scale(.7)
    }

    30% {
        transform: scale(1.05)
    }

    0% {
        transform: scale(1)
    }
}

.layer-anim-close {
    animation-name: layer-bounceOut;
    animation-fill-mode: both;
    animation-duration: .2s
}

@media screen and (max-width: 1100px) {
    .layui-layer-iframe {
        overflow-y:auto;
        -webkit-overflow-scrolling: touch
    }
}

.form-container {
    position: relative;
    min-height: 100dvh;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: 50%;
    background-attachment: fixed;
    height: auto;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.5);
    backdrop-filter: blur(4px);
    z-index: 1
}

.form-content {
    position: relative;
    z-index: 2;
    width: 90%;
    max-width: 600px;
    padding: 30px;
    background: hsla(0,0%,100%,.95);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,.2)
}

.website-form {
    display: flex;
    flex-direction: column;
    gap: 16px
}

.form-content h2 {
    text-align: center;
    color: #333;
    margin-bottom: 24px;
    font-size: 24px
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
    font-size: 14px
}

.input-field {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    transition: all .3s;
    box-sizing: border-box
}

.input-field:focus {
    outline: none;
    border-color: #409eff;
    box-shadow: 0 0 0 2px rgba(64,158,255,.2)
}

.select-wrapper {
    position: relative;
    width: 100%
}

.select-field {
    -moz-appearance: none;
    appearance: none;
    -webkit-appearance: none;
    padding-right: 36px!important
}

.select-arrow {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #666;
    pointer-events: none;
    z-index: 1
}

.link-group .input-with-button {
    display: flex;
    gap: 10px;
    align-items: stretch
}

.link-group .input-field {
    flex: 1
}

.fetch-btn {
    min-width: 120px;
    padding: 0 12px;
    background: #409eff;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: background .3s;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap
}

.fetch-btn:hover:not(:disabled) {
    background: #337ecc
}

.fetch-btn:disabled {
    background: #a0cfff;
    cursor: not-allowed
}

.captcha-group .captcha-wrapper {
    display: flex;
    gap: 10px;
    align-items: center
}

.captcha-input {
    flex: 1;
    min-width: 150px
}

.captcha-image {
    flex-shrink: 0;
    width: 100px;
    height: 37px;
    border: 1px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
    -o-object-fit: cover;
    object-fit: cover
}

.captcha-image:hover {
    transform: scale(1.05)
}

.error {
    color: #f56c6c;
    font-size: 12px;
    margin-top: 4px
}

.submit-btn {
    margin-top: 10px;
    padding: 12px 20px;
    background: #409eff;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    transition: background .3s;
    width: 100%
}

.submit-btn:hover:not(:disabled) {
    background: #337ecc
}

.submit-btn:disabled {
    background: #a0cfff;
    cursor: not-allowed
}

.announcement-box {
    margin-top: 24px;
    padding: 16px;
    background: #f8f9fa;
    border: 1px dashed #409eff;
    border-radius: 8px;
    font-size: 14px;
    color: #555
}

.announcement-box h3 {
    margin: 0 0 12px 0;
    color: #409eff;
    font-size: 16px
}

.announcement-box ul {
    margin: 0;
    padding-left: 20px
}

.announcement-box li {
    margin: 8px 0;
    line-height: 1.5
}

@media (max-width: 480px) {
    .form-content {
        padding:20px;
        width: 95%
    }

    .captcha-group,.link-group .input-with-button {
        flex-direction: column
    }

    .fetch-btn {
        width: 100%;
        min-height: 42px
    }

    .announcement-box {
        padding: 12px;
        font-size: 13px
    }

    .announcement-box h3 {
        font-size: 15px
    }
}

@media (max-width: 380px) {
    .captcha-group .captcha-wrapper {
        flex-direction:column;
        align-items: stretch
    }

    .captcha-image {
        width: 120px;
        height: 42px;
        margin: 0 auto
    }
}

* {
    box-sizing: border-box
}

body,html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif
}
