/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
}

body {
    background-color: #f0f9ff;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.header-box {
    display: flex;
    /* flex-direction: column; */
    justify-content: center;
    align-items: center;
    line-height: 3.5;
    gap: 44px;
    text-align: center;
}

.login-ok {
    top: -28px;
    position: relative;
    cursor: pointer;
    border-radius: 50%;
    border: 1px solid #fff;

}

.user_header {
    position: absolute;
    z-index: 1;
    background-image: url(../images/user.gif);
    background-size: 50px;
    background-repeat: no-repeat;
    background-position: center;
    border: 1px solid #ffffff;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    min-width: 50px;
    min-height: 50px;
    /* 内发光 */
    box-shadow: 0 0 10px #ffffff;
}

/* 扩散 */
.pulse {
    position: absolute;
    z-index: 0;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background-color: #ef4444;
    top: -20px;
    left: -20px;
    transform: scale(1);
    animation: pulse-animation 2s infinite;
}

.pulse.pulse-2 {
    background-color: #00c946;
    animation: pulse-animation 3s infinite;
}

.pulse.pulse-3 {
    background-color: #003ffa;
    animation: pulse-animation 4s infinite;
}

@keyframes pulse-animation {
    0% {
        transform: scale(0);
        opacity: 1.0;
    }

    100% {
        transform: scale(1.2);
        opacity: 0;
    }
}

.icon-box {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    gap: 20px;
}

.icon-box img {
    width: 32px;
    height: 32px;

}
.icon-box img:hover{
    width: 38px;
    height: 38px;
}
.container {
    display: flex;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 1000px;
    height: 600px;
    overflow: hidden;
    margin: 30px;
}

/* 左侧登录表单 */
.login-form {
    flex: 1;
    padding: 0px;

}

.login-form h2 {
    font-size: 24px;
    margin: 20px;
    text-align: center;
}

.social-logins {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.social-logins img {
    width: 40px;
    height: 40px;
    margin: 0 10px;
    border: 1px solid #ddd;
    border-radius: 50%;
    filter: grayscale(1);
}

.social-logins img:hover {
    filter: grayscale(0);
}

.or-login {
    margin-top: 30px;
    font-size: 14px;
    color: #b9b9b9;
    text-align: center;
    margin-bottom: 20px;
    position: relative;
}

.or-login::before,
.or-login::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 100px;
    height: 1px;
    background-color: #ddd;
}

.or-login::before {
    left: -120px;
}

.or-login::after {
    right: -120px;
}

.login-form form {
    margin-top: 20px;
    display: flex;
    flex-direction: column;

    gap: 15px;
}

.get-code-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.get-code {
    white-space: nowrap;
    margin-left: 10px;
    padding: 10px 15px;
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
    border-radius: 4px;
    cursor: pointer;
}

.login-form input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.login-form input:focus {
    outline: none;
    border-color: #576bff;
}

button[type="submit"] {
    width: 100%;
    padding: 12px 15px;
    background-color: #576bff;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
}

button[type="submit"]:hover {
    background-color: #4d65e0;
}

.terms {
    font-size: 12px;
    color: #666;
    text-align: center;
    margin-top: 20px;
}

/* 右侧插图 */
.illustration {
    flex: 1;
    background-color: #f0f9ff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.illustration img {
    width: 80%;
    height: auto;
}

/* 响应式设计 */
@media (max-width: 640px) {
    .container {
        flex-direction: column;
        height: auto;
        max-width: 400px;
    }

    .login-form {
        padding: 0px;
    }

    .illustration {
        display: none;
        /* 移动端隐藏右侧插图 */
    }
}

@media (max-width: 401px) {
    .container {
        flex-direction: column;
        height: 100%;
        width: 100%;
        margin: 0px;
    }
}

.tab {
    overflow: hidden;
    border: 0px solid #ccc;
    background-color: rgba(255, 255, 255, 0.0);
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tab button {
    background-color: #034b99;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 14px 25px;
    transition: 0.3s;
    color: #fff;
}

.tab button.left {
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
}

.tab button.right {
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
}

.tab button:hover {
    background-color: #007bff;
    ;
}

.tab button.active {
    background-color: #00b50f;
}

.tabcontent {
    display: none;
    padding: 30px 12px;
    border: none;
border-bottom: 0px solid #eee;

}

.tabcontent.show {
    display: block;
}