﻿@charset "utf-8";
/* CSS Document */
/***
 * uimaker
 * http://www.uimaker.com
 * e-mail: admin@uimaker.com
 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
}

:root {
    --primary-color: #3498db;
    --secondary-color: #2c3e50;
    --accent-color: #1abc9c;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

html, body {
    height: 100%;
    overflow: hidden;
}

body {
    background: radial-gradient(circle at 20% 80%, rgba(52, 152, 219, 0.1) 0%, transparent 50%), radial-gradient(circle at 80% 20%, rgba(26, 188, 156, 0.1) 0%, transparent 50%), radial-gradient(circle at 40% 40%, rgba(155, 89, 182, 0.05) 0%, transparent 50%), linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    display: flex;
    flex-direction: column;
    color: var(--dark-color);
    position: relative;
}

    body::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.8) 0%, transparent 20%), radial-gradient(circle at 90% 80%, rgba(255, 255, 255, 0.6) 0%, transparent 20%);
        pointer-events: none;
        z-index: -1;
    }

/* 顶部标题栏 */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(234, 234, 234, 0.8);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    flex-shrink: 0;
    position: relative;
    z-index: 10;
}

.welcome-text {
    font-size: 20px;
    font-weight: 600;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
}

    .welcome-text i {
        margin-right: 10px;
        color: var(--primary-color);
        font-size: 24px;
    }

.register-links {
    display: flex;
    gap: 0;
}

.register-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    display: flex;
    align-items: center;
    transition: var(--transition);
    padding: 8px 15px;
    border-radius: 8px;
}

    .register-link:hover {
        color: #2980b9;
        transform: translateY(-2px);
        background: rgba(52, 152, 219, 0.1);
    }

    .register-link i {
        margin-right: 8px;
    }

/* 主要内容区 */
.main-content {
    display: flex;
    flex: 1;
    justify-content: center;
    align-items: center;
    padding: 20px;
    overflow: hidden;
    position: relative;
}

.container {
    display: flex;
    width: 100%;
    max-width: 1000px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(255, 255, 255, 0.8);
    height: 100%;
    max-height: 580px;
    position: relative;
}

    .container::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
        pointer-events: none;
    }

.left-panel {
    flex: 1;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

    .left-panel::before {
        content: '';
        position: absolute;
        width: 300px;
        height: 300px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.1);
        top: -100px;
        left: -100px;
    }

    .left-panel::after {
        content: '';
        position: absolute;
        width: 200px;
        height: 200px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.1);
        bottom: -80px;
        right: -80px;
    }

.platform-name {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.platform-list {
    list-style: none;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

    .platform-list li {
        padding: 12px 0;
        font-size: 17px;
        display: flex;
        align-items: center;
        transition: var(--transition);
    }

        .platform-list li:hover {
            transform: translateX(5px);
        }

        .platform-list li i {
            margin-right: 12px;
            color: var(--accent-color);
            font-size: 18px;
        }

.right-panel {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: transparent;
    overflow: hidden;
}

.login-header {
    text-align: center;
    margin-bottom: 14px;
}

    .login-header h2 {
        color: var(--secondary-color);
        font-size: 32px;
        margin-bottom: 10px;
        font-weight: 700;
    }

    .login-header p {
        color: #6c757d;
        font-size: 16px;
    }

.login-form {
    width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
}

.form-group {
    margin-bottom: 25px;
    position: relative;
}

    .form-group label {
        display: block;
        margin-bottom: 10px;
        font-weight: 600;
        color: var(--secondary-color);
        font-size: 15px;
    }

.input-with-icon {
    position: relative;
}

    .input-with-icon i {
        position: absolute;
        left: 18px;
        top: 50%;
        transform: translateY(-50%);
        color: #6c757d;
        font-size: 18px;
    }

    .input-with-icon input {
        width: 100%;
        padding: 15px 20px 15px 55px;
        border: 1px solid #e1e5eb;
        border-radius: 12px;
        font-size: 16px;
        transition: var(--transition);
        background: rgba(248, 249, 250, 0.8);
    }

        .input-with-icon input:focus {
            border-color: var(--primary-color);
            box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
            outline: none;
            background: white;
        }

.captcha-container {
    display: flex;
    gap: 15px;
}

    .captcha-container input {
        flex: 1;
    }

.captcha-img {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #e1e5eb;
    border-radius: 12px;
    padding: 0 20px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    color: var(--primary-color);
    min-width: 120px;
    flex-shrink: 0;
}

    .captcha-img:hover {
        background: #fff;
    }

.remember-forgot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    font-size: 15px;
}

.remember-me {
    display: flex;
    align-items: center;
}

    .remember-me input {
        margin-right: 8px;
        width: 18px;
        height: 18px;
    }

.forgot-password {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

    .forgot-password:hover {
        text-decoration: underline;
        color: #2980b9;
    }

.login-btn {
    width: 100%;
    padding: 16px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin-top: auto;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
    position: relative;
    overflow: hidden;
}

    .login-btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
        transition: left 0.5s;
    }

    .login-btn:hover {
        background: #2980b9;
        transform: translateY(-3px);
        box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
    }

        .login-btn:hover::before {
            left: 100%;
        }

/* 底部技术支持 */
.footer {
    text-align: center;
    padding: 15px;
    background: rgba(248, 249, 250, 0.9);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(234, 234, 234, 0.8);
    color: #6c757d;
    font-size: 14px;
    flex-shrink: 0;
    position: relative;
    z-index: 10;
}

    .footer a {
        color: var(--primary-color);
        text-decoration: none;
        transition: var(--transition);
    }

        .footer a:hover {
            text-decoration: underline;
            color: #2980b9;
        }

/* 响应式设计 */
@media (max-width: 768px) {
    .header {
        padding: 12px 20px;
    }

    .welcome-text {
        font-size: 16px;
    }

        .welcome-text i {
            font-size: 20px;
        }

    .register-links {
        gap: 15px;
    }

    .register-link {
        font-size: 14px;
        padding: 6px 12px;
    }

    .container {
        max-height: none;
        height: auto;
        flex-direction: column;
    }

    .left-panel {
        display: none;
    }

    .right-panel {
        padding: 30px 25px;
        overflow: hidden;
    }

    .login-header h2 {
        font-size: 28px;
    }

    .login-header p {
        font-size: 14px;
    }

    .captcha-container {
        flex-wrap: nowrap;
    }

    .captcha-img {
        min-width: 100px;
        padding: 0 15px;
    }

    .login-form {
        min-height: 400px;
    }
}

@media (max-width: 480px) {
    .header {
        flex-direction: column;
        gap: 10px;
        padding: 10px 15px;
    }

    .welcome-text {
        font-size: 15px;
        text-align: center;
    }

    .register-links {
        gap: 12px;
    }

    .right-panel {
        padding: 25px 20px;
    }

    .remember-forgot {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .captcha-container {
        flex-wrap: nowrap;
    }

    .captcha-img {
        min-width: 90px;
        padding: 0 10px;
        font-size: 14px;
    }
}

/* 小屏幕高度适配 */
@media (max-height: 700px) {
    .container {
        max-height: 450px;
    }

    .left-panel, .right-panel {
        padding: 30px 25px;
    }

    .platform-name {
        font-size: 28px;
        margin-bottom: 25px;
    }

    .platform-list {
        margin-bottom: 30px;
    }

        .platform-list li {
            padding: 8px 0;
            font-size: 15px;
        }

    .login-header {
        margin-bottom: 25px;
    }

        .login-header h2 {
            font-size: 28px;
        }

    .form-group {
        margin-bottom: 18px;
    }

    .input-with-icon input {
        padding: 12px 15px 12px 45px;
    }
}

/* 超小屏幕适配 */
@media (max-width: 360px) {
    .captcha-container {
        flex-wrap: nowrap;
    }

    .captcha-img {
        min-width: 80px;
        padding: 0 8px;
        font-size: 13px;
    }

    .input-with-icon input {
        padding: 12px 12px 12px 40px;
        font-size: 14px;
    }

    .input-with-icon i {
        left: 12px;
        font-size: 16px;
    }
}