body { font-family: 'Inter', sans-serif; }
.font-serif { font-family: 'Cinzel', serif; }

.input-empire {
    border-radius: 8px;
    transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.input-empire:focus {
    border-color: #bfa16f !important;
    box-shadow: 0 0 0 2px rgba(191, 161, 111, 0.15);
    outline: none;
}

.dark .input-empire {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
}
.dark .input-empire::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

html:not(.dark) .input-empire {
    background: rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: #1a1a1a;
}
html:not(.dark) .input-empire::placeholder {
    color: rgba(0, 0, 0, 0.38);
}

.btn-main-login {
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s;
}
.btn-uiid-login {
    background: linear-gradient(135deg, #bfa16f 0%, #8a724d 100%);
    color: #000;
    border-radius: 8px;
    font-weight: 700;
}

html:not(.dark) .logo-full-img { filter: invert(1) brightness(0.2); }
html:not(.dark) .uiid-icon     { filter: none; }

#theme-toggle {
    position: fixed;
    top: 2rem;
    right: 2rem;
    z-index: 100;
    cursor: pointer;
    transition: transform 0.3s ease;
}
#theme-toggle:hover { transform: scale(1.1); }

.dark body { background-color: #000; }
html:not(.dark) body { background-color: #f8f9fa; }

.bg-login {
    background-color: #050505;
    background-repeat: repeat;
}