/*!
 * 项目名称: 星瀚元图书馆集群管理系统
 * Copyright (c) 2026 广州星瀚元计算机科技有限公司. All rights reserved.
 * 
 * 本源代码为商业专有软件，未经授权禁止复制、分发、反编译。
 * 公司官网:http://www.xinghy.cn
 * 授权咨询电话:18922497946
 * 授权咨询邮箱:wuxing2722@qq.com
 * @version 1.0
 * @date 2026-09-21
 */
/* ================= 基础与全局 ================= */
html, body {
    height: 100%;
    margin: 0;
    font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", Arial, Helvetica, sans-serif;
    background-color: #f0f4f8;
    color: #2c3e50;
    overflow-x: hidden;
}

html {
    font-size: clamp(14px, 1vw + 12px, 16px);
}

.page, .page .page-content {
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
}

/* ================= 头部导航 ================= */
.sys-navbar {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.04);
    z-index: 1000;
    padding: 0.6rem 1rem;
    border-bottom: 2px solid #e6f2ff;
}

.logo-wrapper {
    display: inline-flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.25rem;
    color: #0066ff;
}

.logo-wrapper i {
    margin-right: 0.5rem;
    font-size: 1.6rem;
}

.company_icon {
    height: 34px;
    width: 34px;
    margin-right: 5px;
}

.company_icon img {
    height: 100%;
    width: 100%;
}

.nav-title {
    font-size: clamp(1rem, 0.5vw + 0.9rem, 1.3rem);
    font-weight: 700;
    letter-spacing: 0.12em;
    background: linear-gradient(135deg, #0066ff, #00b4d8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
}

.contact-phone {
    font-weight: 500;
    font-size: 1rem;
    color: #333;
    display: inline-flex;
    align-items: center;
    cursor:pointer;
}

.contact-phone i {
    margin-right: 0.4rem;
    color: #00b4d8;
}

/* ================= 主内容区 ================= */
.main-section {
    flex: 1;
    min-height: calc(100vh - 64px - 80px);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(160deg, #e0f7fa 0%, #bbdefb 50%, #e3f2fd 100%);
    padding: 1.5rem 1rem;
}

/* 动态 Banner */
.banner-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.5s ease-in-out, transform 10s ease-out;
    transform: scale(1.05);
}

.banner-slide.active {
    opacity: 0.7;
    transform: scale(1);
}

/* 科技光球 */
.tech-orb {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 180, 216, 0.18) 0%, transparent 75%);
    filter: blur(50px);
    z-index: 1;
    animation: floatOrb 9s infinite ease-in-out;
    pointer-events: none;
}

.orb-1 {
    top: 8%;
    left: 8%;
    width: 320px;
    height: 320px;
}

.orb-2 {
    bottom: 12%;
    right: 6%;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.12) 0%, transparent 75%);
    animation-delay: 3s;
}


.login-card {
    position: relative;
    z-index: 10;
    width: 94%;
    max-width: 500px;
    background: rgba(255, 255, 255);
    backdrop-filter: blur(12px);
    border-radius: 1.5rem;
    padding: clamp(1.8rem, 4vw, 3rem);
    box-shadow: 0 12px 40px rgba(0, 82, 217, 0.15), 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.9);
    animation: slideUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.3s both;
}

.login-title {
    text-align: center;
    margin-bottom: 1.8rem;
    font-weight: 700;
    color: #1a2b4c;
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
}

.login-title i {
    margin-right: 0.5rem;
    color: #0066ff;
}

/* 表单控件 */
.form-input-group {
    position: relative;
    margin-bottom: 1.1rem;
}

.input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #8aa4c7;
    font-size: 1.15rem;
    z-index: 2;
    transition: color 0.3s;
}

.form-control-lg {
    height: 2.8rem;
    border-radius: 0.5rem;
    background: #ffffff;
    border: 1px solid #dde4ee;
    padding: 0.5rem 0.5rem 0.5rem 2.6rem;
    font-size: 0.95rem;
    transition: all 0.25s;
}

.form-control-lg:focus {
    border-color: #0066ff;
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.12);
    outline: none;
}

.form-input-group:hover .input-icon {
    color: #0066ff;
}

/* 验证码 */
.captcha-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1.5rem;
}

.captcha-box {
    flex: 0 0 115px;
    height: 2.8rem;
    background: linear-gradient(135deg, #f4f9ff, #ffffff);
    border: 1px solid #d5dbe4;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", Arial, Helvetica, sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    color: #1a2b4c;
    cursor: pointer;
    user-select: none;
    transition: all 0.2s;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05);
}

.captcha-box:hover {
    transform: scale(1.03);
    border-color: #0066ff;
    background: #f0f7ff;
}

.captcha-tip {
    font-size: 0.75rem;
    color: #6c757d;
    cursor: pointer;
    white-space: nowrap;
}

/* 登录按钮 */
.btn-tech-login {
    width: 100%;
    height: 3rem;
    border: none;
    border-radius: 0.5rem;
    background: linear-gradient(90deg, #0052d9 0%, #0096ff 60%, #00b4d8 100%);
    background-size: 200% 100%;
    color: #ffffff;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.08em;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 82, 217, 0.25);
}

.btn-tech-login:hover {
    background-position: 100% 0;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 150, 255, 0.35);
}

.btn-tech-login:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 82, 217, 0.2);
}

/* 内部平台导航 (移至登录按钮下方) */
.platform-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1.8rem;
    padding-top: 1.4rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.platform-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1.2rem;
    margin: 0 0.5rem 0.6rem;
    background: rgba(245, 248, 255, 0.8);
    border: 1px solid #dce4f0;
    border-radius: 2rem;
    color: #2c3e50;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.platform-btn i {
    margin-right: 0.4rem;
    color: #0066ff;
    transition: transform 0.3s;
    font-size: 1rem;
}

.platform-btn:hover {
    background: #ffffff;
    border-color: #0066ff;
    color: #0052d9;
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(0, 102, 255, 0.12);
}

.platform-btn:hover i {
    transform: rotate(12deg) scale(1.15);
}

/* ================= 底部版权 (白色背景) ================= */
.sys-footer {
    background: #ffffff;
    color: #6c757d;
    padding: 1rem 0 0 0;
    text-align: center;
    font-size: 0.85rem;
    border-top: 1px solid #e9ecef;
}

.sys-footer a {
    color: #6c757d;
}

.footer-links {
    margin-top: 0.4rem;
    font-size: 1rem;
    color: #8898aa;
}

/* ================= 动画 ================= */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(35px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floatOrb {
    0%, 100% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(20px, -25px);
    }
}

/* 响应式微调 */
@media (max-width: 576px) {
    .nav-title {
        display: none;
    }

    .mobile-title {
        display: block;
        text-align: center;
        font-size: 0.85rem;
        color: #546e7a;
        margin-top: 0.3rem;
    }

    .login-card {
        width: 92%;
        padding: 1.5rem 1.2rem;
    }

    .auth-badge {
        font-size: 0.9rem;
        padding: 0.5rem 1.2rem;
    }

    .platform-btn {
        padding: 0.4rem 1rem;
        font-size: 0.82rem;
    }
}

@media (min-width: 577px) {
    .mobile-title {
        display: none;
    }
}

#login_msg {
    max-height: 4rem;
    overflow-y: auto;
}