<file>
<path>./adm/styles.css</path>
<content>
/* ==========================================
   DARK RETRO 90s AESTHETIC STYLESHEETS
   Terminal Admin Interface v1.0
   ========================================== */

/* CSS Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-color: #0a0a0a;
    --terminal-bg: #000000;
    --text-primary: #00ff00;
    --text-secondary: #008000;
    --text-dim: #004000;
    --accent-cyan: #00ffff;
    --accent-magenta: #ff00ff;
    --accent-yellow: #ffff00;
    --border-color: #00ff00;
    --glitch-color: #ff0000;
    --font-mono: "Courier New", Courier, monospace;
    --font-term: "Terminal", "Courier New", monospace;
}

body {
    background-color: var(--bg-color);
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.85) 100%),
        repeating-linear-gradient(
            0deg,
            #000,
            #000 1px,
            #0a0a0a 2px,
            #0a0a0a 3px
        );
    color: var(--text-primary);
    font-family: var(--font-term);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
}

/* CRT Overlay Effects */
.crt-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 9999;
    background: 
        repeating-linear-gradient(
            0deg,
            rgba(0, 0, 0, 0.15),
            rgba(0, 0, 0, 0.15) 1px,
            transparent 1px,
            transparent 2px
        ),
        radial-gradient(
            circle at center,
            rgba(0, 0, 0, 0) 0%,
            rgba(0, 0, 0, 0.3) 60%,
            rgba(0, 0, 0, 0.5) 100%
        );
    animation: flicker 5s infinite;
}

/* Container */
.container {
    position: relative;
    width: 95%;
    max-width: 500px;
    z-index: 1;
}

/* Terminal Window */
.terminal-window {
    background-color: var(--terminal-bg);
    border: 3px double var(--border-color);
    border-radius: 10px;
    box-shadow: 
        0 0 20px var(--text-primary),
        0 0 40px rgba(0, 255, 0, 0.2),
        inset 0 0 30px rgba(0, 0, 0, 0.8);
    overflow: hidden;
    position: relative;
    animation: bootUp 1s ease-out;
}

/* Terminal Header */
.terminal-header {
    background: linear-gradient(90deg, #000000 0%, #001a00 50%, #000000 100%);
    border-bottom: 2px solid var(--border-color);
    padding: 12px 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.window-controls {
    display: flex;
    gap: 8px;
}

.control-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #003300;
    box-shadow: 0 0 5px var(--text-dim);
    border: 1px solid var(--text-dim);
}

.control-dot.close { background: #cc0000; }
.control-dot.minimize { background: #cc8800; }
.control-dot.maximize { background: #00cc00; }

.window-title {
    flex-grow: 1;
    text-align: center;
    font-family: var(--font-mono);
    font-weight: bold;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 5px var(--text-primary);
}

/* Terminal Content */
.terminal-content {
    padding: 25px;
    position: relative;
}

.welcome-message {
    text-align: center;
    margin-bottom: 25px;
}

.welcome-message p {
    font-family: var(--font-mono);
    font-size: 1.2em;
    margin-bottom: 5px;
}

.blink {
    animation: blink 5s step-end infinite;
}

.subtext {
    color: var(--accent-cyan);
    font-size: 0.9em;
    margin-top: 5px;
    text-shadow: 0 0 3px var(--accent-cyan);
}

/* Login Form */
.login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.input-group label {
    font-family: var(--font-mono);
    font-weight: bold;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9em;
}

.input-group input {
    background: #000;
    border: 2px solid var(--text-dim);
    border-radius: 3px;
    color: var(--text-primary);
    font-family: var(--font-mono);
    font-size: 1.1em;
    padding: 12px;
    outline: none;
    transition: all 0.3s ease;
    position: relative;
}

.input-group input::placeholder {
    color: var(--text-dim);
    opacity: 0.7;
}

.input-group input:focus {
    border-color: var(--text-primary);
    box-shadow: 0 0 15px var(--text-primary), inset 0 0 10px rgba(0, 255, 0, 0.1);
}

.input-group input::selection {
    background: var(--text-primary);
    color: #000;
}

/* Checkbox Group */
.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 0.9em;
    margin-top: 5px;
}

.checkbox-group input {
    width: 16px;
    height: 16px;
    accent-color: var(--text-primary);
    cursor: pointer;
}

/* Action Button */
.action-button {
    background: linear-gradient(135deg, #003300 0%, #001a00 100%);
    border: 2px solid var(--text-primary);
    border-radius: 5px;
    color: var(--text-primary);
    font-family: var(--font-mono);
    font-size: 1em;
    font-weight: bold;
    padding: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    overflow: hidden;
}

.action-button:hover {
    background: linear-gradient(135deg, #004400 0%, #002200 100%);
    box-shadow: 0 0 20px var(--text-primary);
    transform: translateY(-2px);
}

.action-button:active {
    transform: translateY(1px);
    box-shadow: 0 0 10px var(--text-primary);
}

.button-icon {
    font-size: 1.2em;
}

/* Error Message */
.error-message {
    text-align: center;
    color: var(--accent-magenta);
    font-family: var(--font-mono);
    font-weight: bold;
    padding: 10px;
    border: 1px dashed var(--accent-magenta);
    border-radius: 3px;
    display: none;
    animation: glitchEffect 0.3s ease-in-out;
}

.error-message.visible {
    display: block;
}

/* System Info */
.system-info {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-mono);
    font-size: 0.85em;
    margin-top: 15px;
    padding-top: 10px;
    border-top: 1px dashed var(--text-dim);
}

.status-normal {
    color: var(--text-primary);
    text-shadow: 0 0 3px var(--text-primary);
}

#sessionTime {
    color: var(--accent-yellow);
    text-shadow: 0 0 3px var(--accent-yellow);
}

/* Terminal Footer */
.terminal-footer {
    background: linear-gradient(90deg, #000000 0%, #001a00 50%, #000000 100%);
    border-top: 2px solid var(--border-color);
    padding: 12px 15px;
    position: relative;
}

/* Progress Bar */
.progress-bar {
    width: 100%;
    height: 6px;
    background: #000;
    border: 1px solid var(--text-dim);
    border-radius: 3px;
    margin-bottom: 10px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--text-primary), var(--accent-cyan));
    width: 0%;
    transition: width 3s ease-in-out;
    box-shadow: 0 0 10px var(--text-primary);
}

/* Status Bar */
.status-bar {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-mono);
    font-size: 0.8em;
    color: var(--text-secondary);
}

.status-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.status-secure {
    color: var(--text-primary);
    font-weight: bold;
    text-shadow: 0 0 2px var(--text-primary);
}

/* Loading Animation */
.loading-message {
    text-align: center;
    color: var(--accent-cyan);
    font-family: var(--font-mono);
    font-weight: bold;
    padding: 10px;
    margin-top: 10px;
    display: none;
    animation: pulse 1s infinite;
}

.loading-text {
    font-size: 0.95em;
    text-shadow: 0 0 5px var(--accent-cyan);
}

.loading-dots {
    animation: dots 1.5s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}

@keyframes dots {
    0%, 20% {
        content: ".";
    }
    40% {
        content: "..";
    }
    60%, 100% {
        content: "...";
    }
}

/* Glitch Animation */
@keyframes glitchEffect {
    0% {
        transform: translate(0);
        clip-path: inset(0 0 0 0);
    }
    20% {
        transform: translate(-2px, 2px);
        clip-path: inset(10% 0 20% 0);
    }
    40% {
        transform: translate(2px, -2px);
        clip-path: inset(30% 0 10% 0);
    }
    60% {
        transform: translate(-2px, -2px);
        clip-path: inset(10% 0 30% 0);
    }
    80% {
        transform: translate(2px, 2px);
        clip-path: inset(20% 0 10% 0);
    }
    100% {
        transform: translate(0);
        clip-path: inset(0 0 0 0);
    }
}

@keyframes blink {
    0%, 90%, 100% { opacity: 1; }
    95% { opacity: 0.8; }
}

@keyframes flicker {
    0%, 98%, 100% { opacity: 1; }
    99% { opacity: 0.92; }
}

@keyframes bootUp {
    0% {
        transform: scale(0.9);
        opacity: 0;
        filter: blur(5px);
    }
    100% {
        transform: scale(1);
        opacity: 1;
        filter: blur(0);
    }
}

/* Glitch Text Effect */
@keyframes glitchText {
    0% {
        text-shadow: 2px 0 var(--accent-magenta), -2px 0 var(--accent-cyan);
    }
    20% {
        text-shadow: -2px 0 var(--accent-magenta), 2px 0 var(--accent-cyan);
    }
    40% {
        text-shadow: 2px 0 var(--accent-magenta), -2px 0 var(--accent-cyan);
    }
    60% {
        text-shadow: -2px 0 var(--accent-magenta), 2px 0 var(--accent-cyan);
    }
    80% {
        text-shadow: 2px 0 var(--accent-magenta), -2px 0 var(--accent-cyan);
    }
    100% {
        text-shadow: 2px 0 var(--accent-magenta), -2px 0 var(--accent-cyan);
    }
}

.glitch-text {
    animation: glitchText 0.5s infinite;
}

/* CRT Scanline Effect */
.crt-overlay::before {
    content: " ";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
    z-index: 2;
    background-size: 100% 2px, 3px 100%;
    pointer-events: none;
}

/* Responsive Design */
@media (max-width: 600px) {
    .terminal-window {
        width: 98%;
        border-width: 2px;
    }
    
    .terminal-content {
        padding: 15px;
    }
    
    .welcome-message p {
        font-size: 1em;
    }
    
    .action-button {
        font-size: 0.9em;
        padding: 12px;
    }
    
    .system-info {
        flex-direction: column;
        gap: 10px;
    }
    
    .status-bar {
        flex-direction: column;
        gap: 5px;
        align-items: center;
    }
}

/* Print Styles */
@media print {
    .crt-overlay {
        display: none;
    }
    
    .terminal-window {
        border: 2px solid #000;
        box-shadow: none;
    }
    
    .action-button {
        background: #000;
        color: #000;
        border-color: #000;
    }
    
    .input-group input {
        border-color: #000;
        color: #000;
        text-shadow: none;
        box-shadow: none;
    }
}

/* Cursor Effect */
body {
    cursor: text;
}

.terminal-window,
.terminal-content,
.login-form,
.action-button,
.input-group input,
.input-group label,
.checkbox-group {
    cursor: default;
}

.action-button {
    cursor: pointer;
}
</content>
</file>