/* Login Page - Hacker Terminal Theme */
/* Mobile Responsive Design */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'JetBrains Mono', monospace;
    background: #0a0a0a;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00ff00;
    position: relative;
    overflow: hidden;
    padding: 20px;
}

/* Matrix rain effect */
body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(180deg, transparent 0%, rgba(0, 255, 0, 0.03) 50%, transparent 100%),
        repeating-linear-gradient(0deg, transparent 0px, transparent 2px, rgba(0, 255, 0, 0.03) 2px, rgba(0, 255, 0, 0.03) 4px);
    pointer-events: none;
    animation: scanline 8s linear infinite;
}

@keyframes scanline {
    0% { background-position: 0 0; }
    100% { background-position: 0 100vh; }
}

/* Terminal Container */
.terminal {
    background: rgba(10, 10, 10, 0.95);
    border: 1px solid #00ff00;
    border-radius: 5px;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.3), inset 0 0 20px rgba(0, 255, 0, 0.05);
}

.terminal-header {
    background: #111;
    padding: 10px 15px;
    border-bottom: 1px solid #00ff00;
    display: flex;
    align-items: center;
    gap: 8px;
}

.terminal-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot-red { background: #ff5f56; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #27c93f; }

.terminal-title {
    flex: 1;
    text-align: center;
    font-size: 12px;
    color: #888;
}

.terminal-body {
    padding: 30px;
}

/* Logo Section */
.logo-section {
    text-align: center;
    margin-bottom: 25px;
}

.logo-text {
    font-size: 32px;
    font-weight: bold;
    letter-spacing: 6px;
    color: #00ff00;
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
    margin-bottom: 8px;
}

.logo-subtitle {
    font-size: 10px;
    color: #00ff00;
    opacity: 0.7;
}

/* Form Elements */
.prompt {
    color: #00ff00;
    margin-bottom: 5px;
    font-size: 12px;
}

.prompt::before {
    content: '> ';
    color: #00ff00;
}

.form-group {
    margin-bottom: 20px;
}

.input-line {
    display: flex;
    align-items: center;
    background: #111;
    border: 1px solid #333;
    border-radius: 3px;
    padding: 0 10px;
}

.input-line:focus-within {
    border-color: #00ff00;
    box-shadow: 0 0 5px rgba(0, 255, 0, 0.3);
}

.input-line i {
    color: #00ff00;
    font-size: 14px;
}

.input-line input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #00ff00;
    padding: 12px 10px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
}

.input-line input::placeholder {
    color: #444;
}

/* Button */
.btn-login {
    width: 100%;
    background: transparent;
    border: 1px solid #00ff00;
    color: #00ff00;
    padding: 12px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    cursor: pointer;
    border-radius: 3px;
    transition: all 0.3s;
}

.btn-login:hover {
    background: #00ff00;
    color: #0a0a0a;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.5);
}

/* Error Message */
.error-msg {
    background: rgba(255, 0, 0, 0.1);
    border: 1px solid #ff0000;
    color: #ff0000;
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 3px;
    font-size: 12px;
}

/* Footer */
.footer {
    text-align: center;
    margin-top: 20px;
    font-size: 10px;
    color: #444;
}

.footer a {
    color: #00ff00;
    text-decoration: none;
}

/* Cursor Blink Animation */
.cursor {
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Mobile Responsive */
@media (max-width: 480px) {
    body {
        padding: 10px;
    }
    
    .terminal {
        max-width: 100%;
    }
    
    .terminal-body {
        padding: 20px;
    }
    
    .logo-text {
        font-size: 24px;
        letter-spacing: 4px;
    }
    
    .logo-subtitle {
        font-size: 9px;
    }
    
    .input-line input {
        font-size: 13px;
        padding: 10px;
    }
    
    .btn-login {
        padding: 10px;
        font-size: 13px;
    }
}

@media (max-width: 320px) {
    .logo-text {
        font-size: 20px;
        letter-spacing: 3px;
    }
    
    .terminal-body {
        padding: 15px;
    }
}
