html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}
.center-vh {
    background-image: url(/static/images/login-bg.png);
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}
.card {
    border-radius: 16px;
    background: rgba(255,255,255,0.97);
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    max-width: 400px;
    width: 100%;
    border: none;
    transition: box-shadow 0.2s;
}
.card:hover {
    box-shadow: 0 12px 40px rgba(0,0,0,0.22);
}
.input-group-text,
.form-control,
.card .input-group img {
    height: 40px;
    min-height: 40px;
    box-sizing: border-box;
    line-height: 1.5;
}
.input-group-text {
    border-radius: 8px 0 0 8px;
    border: 1px solid #e3e3e3;
    border-right: none;
    padding-right: 0.5rem;
    background: #fff;
    font-size: 1.2rem;
    color: var(--bs-primary);
    display: flex;
    align-items: center;
}
.form-control.border-start-0 {
    border-radius: 0 8px 8px 0;
    border-left: none;
}
.card .form-control {
    font-size: 1rem;
    padding: 0.5rem 0.8rem;
    margin-bottom: 0.5rem;
    border: 1px solid #e3e3e3;
    background: #f8f9fa;
    transition: border-color 0.2s;
}
.card .form-control:focus {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 2px rgba(13,110,253,.15);
}
.card .btn-primary {
    border-radius: 8px;
    font-size: 1.08rem;
    padding: 0.7rem 0;
    font-weight: 600;
    letter-spacing: 1px;
    box-shadow: 0 2px 8px rgba(13,110,253,.08);
    margin-bottom: 0.5rem;
}
.card .input-group img {
    cursor: pointer;
    margin-left: 10px;
    border-radius: 6px;
    border: 1px solid #e3e3e3;
    background: #f8f9fa;
}
.text-center img[alt="系统LOGO"] {
    max-width: 180px;
    height: auto;
}
.toast-container {
    position: fixed !important;
    top: 30px !important;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    min-width: 260px;
    max-width: 90vw;
}
@media (max-width: 500px) {
    .card {
        padding: 1rem;
        max-width: 98vw;
    }
    .toast-container {
        top: 10px !important;
        min-width: 180px;
    }
}
.logo-sidebar {
    max-width: 180px;
}
#loadingSpinner {
    display: none;
}
#captchaContainer {
    display: none;
}
.copyright-text {
    font-size: 0.95rem;
}