/* Login Page — CRT Terminal Aesthetic */
.login-body {
    margin: 0;
    padding: 0;
    background: #050808;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    overflow: hidden;
}

.login-body .crt-monitor {
    width: min(90vw, 700px);
    max-height: 90vh;
}

.login-body .crt-screen {
    padding: 2rem 3rem;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Boot sequence */
.boot-sequence {
    margin-bottom: 2rem;
}
.boot-line {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.85rem;
    color: var(--vt-green, #33FF33);
    opacity: 0;
    animation: bootFadeIn 0.3s forwards;
    animation-delay: var(--delay);
    margin-bottom: 0.3rem;
    text-shadow: 0 0 5px rgba(51, 255, 51, 0.5);
}

@keyframes bootFadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Login form */
.login-form-container {
    opacity: 0;
    animation: formFadeIn 0.5s forwards;
    animation-delay: 3s;
}

@keyframes formFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.login-logo {
    text-align: center;
    margin-bottom: 1.5rem;
}
.login-logo__img {
    width: 100px;
    height: 100px;
    filter: drop-shadow(0 0 10px rgba(255, 194, 0, 0.4));
}

.login-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.8rem;
    color: var(--vt-yellow, #FFC200);
    text-align: center;
    letter-spacing: 4px;
    margin-bottom: 2rem;
    text-shadow: 0 0 10px rgba(255, 194, 0, 0.3);
}

/* Terminal-style inputs */
.terminal-field {
    margin-bottom: 1.5rem;
}
.terminal-label {
    display: block;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.85rem;
    color: var(--vt-green, #33FF33);
    margin-bottom: 0.3rem;
    text-shadow: 0 0 5px rgba(51, 255, 51, 0.3);
}
.terminal-input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 2px solid var(--vt-green, #33FF33);
    color: var(--vt-green, #33FF33);
    font-family: 'Share Tech Mono', monospace;
    font-size: 1.2rem;
    padding: 0.5rem 0;
    outline: none;
    caret-color: var(--vt-green, #33FF33);
    text-shadow: 0 0 5px rgba(51, 255, 51, 0.3);
    box-sizing: border-box;
}
.terminal-input:focus {
    border-bottom-color: var(--vt-yellow, #FFC200);
    box-shadow: 0 2px 8px rgba(51, 255, 51, 0.2);
}
.terminal-input::placeholder {
    color: rgba(51, 255, 51, 0.3);
}

/* Submit button */
.terminal-submit {
    width: 100%;
    background: var(--vt-yellow, #FFC200);
    color: #001423;
    border: none;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.3rem;
    letter-spacing: 3px;
    padding: 0.75rem;
    margin-top: 1rem;
    cursor: pointer;
    transition: all 0.2s;
}
.terminal-submit:hover {
    background: #FFD54F;
    box-shadow: 0 0 15px rgba(255, 194, 0, 0.4);
}
.terminal-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Messages */
.terminal-message {
    font-family: 'Share Tech Mono', monospace;
    font-size: 1rem;
    text-align: center;
    margin-top: 1.5rem;
    min-height: 1.5rem;
}
.terminal-message.success {
    color: var(--vt-green, #33FF33);
    text-shadow: 0 0 15px rgba(51, 255, 51, 0.6);
    font-size: 1.4rem;
    animation: grantedFlash 0.5s ease-out;
}
.terminal-message.error {
    color: var(--vt-red, #FF4444);
    text-shadow: 0 0 15px rgba(255, 68, 68, 0.6);
    animation: shake 0.4s ease-out;
}

@keyframes grantedFlash {
    0% { opacity: 0; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1.1); }
    100% { transform: scale(1); }
}
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-10px); }
    40% { transform: translateX(10px); }
    60% { transform: translateX(-5px); }
    80% { transform: translateX(5px); }
}

.login-footer-text {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.65rem;
    color: rgba(51, 255, 51, 0.3);
    text-align: center;
    margin-top: 2rem;
    line-height: 1.6;
}
