.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80vh;
    position: relative;
}

.login-card {
    width: 100%;
    max-width: 400px;
    background: rgba(13, 17, 23, 0.8);
    border: 1px solid rgba(88, 166, 255, 0.3);
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 0 30px rgba(0,0,0,0.8);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.cyber-entrance {
    animation: card-entry 0.8s cubic-bezier(0.23, 1, 0.32, 1) forwards;
    transform: scale(0.9);
    opacity: 0;
}

@keyframes card-entry {
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.scan-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #58a6ff;
    box-shadow: 0 0 10px #58a6ff;
    opacity: 0.5;
    animation: scan 3s linear infinite;
}

@keyframes scan {
    0% {
        top: -10%;
    }

    100% {
        top: 110%;
    }
}

.login-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 30px;
    font-weight: 900;
    letter-spacing: 2px;
    background: linear-gradient(90deg, #fff, #58a6ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.input-group {
    margin-bottom: 20px;
}

    .input-group label {
        display: block;
        color: #58a6ff;
        font-size: 0.8rem;
        letter-spacing: 1px;
        margin-bottom: 5px;
        font-weight: bold;
    }

.cyber-input {
    width: 100%;
    padding: 12px;
    background: rgba(0,0,0,0.3);
    border: 1px solid #30363d;
    color: white;
    border-radius: 4px;
    transition: all 0.3s;
}

.cyber-input:focus {
    border-color: #58a6ff;
    box-shadow: 0 0 15px rgba(88, 166, 255, 0.2);
    transform: translateX(5px);
}

.error-msg {
    color: #ff4444;
    text-align: center;
    margin-top: 15px;
    font-weight: bold;
    text-shadow: 0 0 5px red;
}

.demo-hint {
    text-align: center;
    color: #30363d;
    margin-top: 20px;
    font-size: 0.8rem;
}

.fade-in-stagger {
    opacity: 0;
    animation: fade-in-up 0.5s ease-out forwards;
    animation-delay: calc(var(--i) * 0.1s + 0.3s);
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

[data-theme="light"] .login-card {
    background: rgba(255, 255, 255, 0.95) !important;
    border: 2px solid white !important;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2) !important;
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
}

[data-theme="light"] .scan-line {
    display: none;
}

[data-theme="light"] .login-title {
    background: none;
    -webkit-text-fill-color: #333 !important;
    color: #333 !important;
    text-shadow: none !important;
}

[data-theme="light"] .input-group label {
    color: #666 !important;
    text-shadow: none !important;
}

[data-theme="light"] .cyber-input {
    background: white !important;
    border: 2px solid #ddd !important;
    color: #333 !important;
    border-radius: 12px !important;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.05) !important;
}

[data-theme="light"] .cyber-input:focus {
    border-color: #d53369 !important;
    box-shadow: 0 0 0 4px rgba(213, 51, 105, 0.1) !important;
}

[data-theme="light"] .demo-hint {
    color: #888 !important;
}

[data-theme="light"] .cyber-button-primary {
    background: white !important;
    color: #d53369 !important;
    border: 2px solid white !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1) !important;
    border-radius: 50px !important;
}

