﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background-image: linear-gradient(to top, white 1%, rgba(255, 255, 255, 0) 17%), linear-gradient(to right, rgba(125, 113, 255, .18) -2%, rgba(148, 174, 255, .18) 30%, rgba(143, 255, 253, .18) 101%);
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #333;
}

.container {
    margin-top: -200px;
    width: 400px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    animation: fadeIn 0.5s ease-in-out;
}


.tabs {
    display: flex;
    border-bottom: 1px solid #eee;
}

.tab {
    flex: 1;
    text-align: center;
    padding: 15px 0;
    cursor: pointer;
    font-weight: bold;
    color: #666;
    transition: all 0.3s ease;
    position: relative;
}

    .tab.active {
        color: #667eea;
    }

        .tab.active::after {
            content: '';
            position: absolute;
            bottom: -1px;
            left: 50%;
            transform: translateX(-50%);
            width: 50%;
            height: 3px;
            background-color: #667eea;
            border-radius: 3px;
        }

.form-container {
    padding: 30px;
}

.form {
    display: none;
}

    .form.active {
        display: block;
        animation: slideIn 0.5s ease-in-out;
    }


.form-title {
    text-align: center;
    margin-bottom: 30px;
    font-size: 24px;
    color: #444;
}

.input-group {
    margin-bottom: 20px;
    position: relative;
}

    .input-group label {
        display: block;
        margin-bottom: 8px;
        font-weight: 500;
        color: #555;
    }

    .input-group input {
        width: 100%;
        padding: 12px 15px;
        border: 1px solid #ddd;
        border-radius: 5px;
        font-size: 16px;
        transition: all 0.3s;
    }

        .input-group input:focus {
            border-color: #667eea;
            box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
            outline: none;
        }

.captcha-group {
    display: flex;
    gap: 10px;
}

    .captcha-group input {
        flex: 1;
    }

.captcha-btn {
    padding: 0 15px;
    background-color: #f0f0f0;
    border: 1px solid #ddd;
    border-radius: 5px;
    cursor: pointer;
    white-space: nowrap;
    font-size: 14px;
    transition: all 0.3s;
}

    .captcha-btn:hover {
        background-color: #e0e0e0;
    }

.submit-btn {
    width: 100%;
    padding: 12px;
    background-color: #667eea;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
}

    .submit-btn:hover {
        background-color: #5a6fd1;
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
    }

.forgot-password {
    text-align: right;
    margin-top: 10px;
}

    .forgot-password a {
        color: #667eea;
        text-decoration: none;
        font-size: 14px;
    }

        .forgot-password a:hover {
            text-decoration: underline;
        }

.social-login {
    margin-top: 30px;
    text-align: center;
}

    .social-login p {
        color: #777;
        margin-bottom: 15px;
        position: relative;
    }

        .social-login p::before,
        .social-login p::after {
            content: '';
            position: absolute;
            top: 50%;
            width: 30%;
            height: 1px;
            background-color: #ddd;
        }

        .social-login p::before {
            left: 0;
        }

        .social-login p::after {
            right: 0;
        }

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

    .social-icon:hover {
        transform: translateY(-3px);
    }

    .social-icon i {
        font-size: 20px;
        color: white;
    }

/* 新增页脚样式 */
footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 10px 0;
    text-align: center;
    font-size: 12px;
}

    footer a {
        color: #aac8ff;
        text-decoration: none;
        margin: 0 5px;
    }

        footer a:hover {
            text-decoration: underline;
        }

/* 新增协议复选框样式 */
.agreement {
    margin: 15px 0;
    font-size: 14px;
    color: rgba(37, 38, 43, 0.36);
    display: flex;
    align-items: flex-start;
}
#agree-terms {
    accent-color: #637dff
}
.agreement input {
    margin-right: 10px;
    margin-top: 3px;
}

    .agreement a {
        color: #667eea;
        text-decoration: none;
    }

        .agreement a:hover {
            text-decoration: underline;
        }

.auto-register-notice {
    font-size: 12px;
    color: #888;
    margin-top: -10px;
    margin-bottom: 15px;
    padding-left: 24px;
}
.reg_msg {
    font-size:14px;
    color:red;
}
.login_msg {
    font-size: 14px;
    color: red;
}

.warning-icon {
    font-size: 50px;
    color: #ff5252;
    margin-bottom: 20px;
}

h2 {
    color: #ff5252;
    margin-bottom: 15px;
    font-size: 22px;
}

p {
    margin-bottom: 25px;
    line-height: 1.6;
}

.contact-info {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
}

.admin-contact {
    font-weight: bold;
    color: #3f51b5;
}

