

:root {
    --gold-light: #FFF8E6;
    --gold: #F5D76E;
    --gold-dark: #D4AC0D;
    --gold-text: #8B5A2B;
    --gold-shadow: rgba(212, 172, 13, 0.2);
}

body {
    background: linear-gradient(135deg, var(--gold-light) 0%, #fff 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    font-family: 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}

.login-container {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 18px;
    box-shadow: 0 10px 30px var(--gold-shadow);
    border: 1px solid rgba(245, 215, 110, 0.2);
}

.system-logo {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(245, 215, 110, 0.3);
}

.system-logo h3 {
    color: var(--gold-text);
    letter-spacing: 0.5px;
}

.system-logo img {
    height: 90px;
    margin-bottom: 1rem;
    filter: drop-shadow(0 2px 4px var(--gold-shadow));
}

.form-title {
    color: var(--gold-text);
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-align: center;
    letter-spacing: 0.8px;
}

.form-label {
    font-weight: 500;
    color: var(--gold-text);
    letter-spacing: 0.3px;
}

.form-control {
    border-radius: 10px;
    padding: 0.85rem;
    font-size: 0.95rem;
    border: 1px solid rgba(212, 172, 13, 0.3);
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(245, 215, 110, 0.2);
    outline: none;
}

.btn-login {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    border: none;
    width: 100%;
    padding: 0.85rem;
    border-radius: 10px;
    font-weight: 600;
    color: white;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px var(--gold-shadow);
}

.btn-login:hover {
    background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px var(--gold-shadow);
    color: white;
}

.register-link {
    display: block;
    text-align: center;
    margin: 25px 0;
    padding: 15px 0;
    position: relative;
}

.register-link a {
    color: var(--gold-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s;
    position: relative;
    padding: 0 10px;
    background: white;
    z-index: 2;
}

.register-link a:hover {
    color: var(--gold-text);
    text-decoration: none;
}

.register-link::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(212, 172, 13, 0.2);
    z-index: 1;
}

.terms {
    font-size: 0.9rem;
    color: #8B5A2B80;
    margin-top: 25px;
    text-align: center;
}

.terms a {
    color: var(--gold-dark);
    text-decoration: none;
}

.terms a:hover {
    color: var(--gold-text);
    text-decoration: none;
}

.system-name {
    margin-top: -15px;
    font-weight: 500;
    font-size: 20px;
}

/* 复选框样式 */
.form-check-input {
    border-color: rgba(212, 172, 13, 0.4);
}

.form-check-input:checked {
    background-color: var(--gold);
    border-color: var(--gold);
}

.form-check-label {
    color: var(--gold-text);
}
