/* ==========================================================================
   少儿春 · 家校协同数智平台 · 自定义样式（sticky footer + 登录页增强）
   ========================================================================== */

/* ---------- 1. 全局 sticky footer：内容不足时 footer 固定在底部 ---------- */
html, body {
    height: 100%;
}

#app-layout {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    height: auto;
    overflow: visible;
}

/* 让内容区撑开，footer 自然被推到最底部 */
#app-layout .content-page {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
}

#app-layout .content-page .content {
    flex: 1 0 auto;
}

/* footer 固定在布局底部（不再是 absolute 浮在中间） */
#app-layout .content-page .footer {
    position: static;
    flex-shrink: 0;
    left: auto;
    right: auto;
    margin-top: auto;
}

/* ---------- 2. 全新品牌 footer ---------- */
.brand-footer {
    background: linear-gradient(135deg, #0b2a5b 0%, #123c7a 55%, #0e5aa7 100%);
    color: #dbeafe;
    padding: 28px 0 0;
    margin-top: 24px;
    border-top: 4px solid #38bdf8;
}

.brand-footer .brand-tagline {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.brand-footer .brand-point {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    padding: 8px 16px;
    font-size: 13px;
    color: #eff6ff;
    transition: all 0.2s ease;
}

.brand-footer .brand-point:hover {
    background: rgba(56, 189, 248, 0.18);
    border-color: rgba(56, 189, 248, 0.5);
    transform: translateY(-2px);
}

.brand-footer .brand-point iconify-icon {
    font-size: 18px;
    color: #7dd3fc;
}

.brand-footer .brand-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 16px 0;
    margin-top: 20px;
    font-size: 13px;
    color: #93c5fd;
    text-align: center;
}

/* ---------- 3. 登录页左侧品牌区增强 ---------- */
.auth-brand-panel {
    position: relative;
    overflow: hidden;
}

.auth-brand-panel .auth-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(2px);
}

.auth-feature-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 16px;
    padding: 14px 18px;
    backdrop-filter: blur(6px);
    transition: all 0.25s ease;
}

.auth-feature-card:hover {
    background: rgba(56, 189, 248, 0.16);
    border-color: rgba(125, 211, 252, 0.55);
    transform: translateX(4px);
}

.auth-feature-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
    color: #fff;
}

/* ---------- 4. 登录页撑满全屏 + 固定头部底部（小屏自动缩放） ---------- */
.auth-fullscreen {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.auth-body-wrap {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
}

.auth-body {
    flex: 1 0 auto;
    align-items: stretch;
    margin: 0;
}

/* 左右两列各自垂直居中 */
.auth-body > [class*="col-"] {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-footer-strip {
    flex-shrink: 0;
    font-size: 13px;
    color: #64748b;
    text-align: center;
    padding: 14px 16px;
    border-top: 1px solid #f1f5f9;
    background: #fafbfc;
    gap: 8px;
}

.auth-footer-strip iconify-icon {
    font-size: 16px;
}

@media (max-width: 991.98px) {
    .auth-body {
        padding: 20px 0;
    }
    .auth-footer-strip {
        font-size: 12px;
    }
}
