/* Login Page Specific Styles */
/* Note: Global styles (fonts, body bg) are inherited from global.css */

/* Flexbox Centering for Body */
.login-body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    width: 100vw;
    margin: 0;
    position: relative;
    overflow: hidden;
    overflow: hidden;
    background: #020406;
}

/* Deep Cyber Scanline Effect (Static & Performant) */
.login-body::before {
    content: " ";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(0deg,
            transparent 0px,
            transparent 1px,
            rgba(0, 255, 136, 0.02) 2px,
            rgba(0, 255, 136, 0.02) 3px);
    z-index: 0;
    pointer-events: none;
    background-size: 100% 3px;
}

/* Vignette Overlay for depth */
.login-body::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, #000 90%);
    z-index: 1;
    pointer-events: none;
}

/* Login Card Container */
.login-card {
    background: rgba(10, 15, 20, 0.95);
    border: 1px solid #00ff88;
    border-radius: 8px;
    padding: 40px;
    width: 350px;
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.1);
    position: relative;
    /* Reset from absolute */
    transform: none;
    /* Reset transform */
    text-align: center;
}

/* Top Shine Effect */
.login-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #00ff88, transparent);
    box-shadow: 0 0 10px #00ff88;
}

/* Text Styling */
.system-title {
    color: #00ff88;
    font-family: 'Cinzel', serif;
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 10px 0;
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
    letter-spacing: 1px;
}

.system-subtitle {
    color: #00AA55;
    /* Darker green */
    font-family: 'Courier New', monospace;
    font-size: 10px;
    letter-spacing: 2px;
    margin-bottom: 30px;
    text-transform: uppercase;
}

/* Form Layout */
.form-group {
    margin-bottom: 20px;
    text-align: left;
    position: relative;
}

.input-label {
    display: block;
    color: #00ff88;
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 5px;
    font-family: 'Orbitron', sans-serif;
}

/* Input Fields (White Style specific to Login) */
.ui-inputtext,
.ui-password,
.ui-password input {
    width: 100% !important;
    padding: 10px 35px 10px 10px !important;
    /* Right padding for icon */
    border-radius: 4px !important;
    border: none !important;
    background: #ffffff !important;
    color: #333 !important;
    font-family: sans-serif !important;
    font-size: 14px !important;
    box-sizing: border-box !important;
}

.ui-inputtext::placeholder {
    color: #ccc;
}

/* Input Icons */
.input-icon {
    position: absolute;
    right: 10px;
    top: 32px;
    /* Adjust based on label height */
    color: #666;
    z-index: 10;
}

/* Button (Blue Style specific to Login) */
.auth-btn {
    width: 100%;
    background: #2563eb !important;
    /* Blue */
    border: none !important;
    border-radius: 4px !important;
    color: white !important;
    padding: 12px !important;
    font-family: 'Orbitron', sans-serif !important;
    font-size: 14px !important;
    font-weight: bold !important;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(37, 99, 235, 0.3);
    text-shadow: none !important;
    transition: transform 0.2s, box-shadow 0.2s;
    margin-top: 10px;
}

.auth-btn:hover {
    background: #1d4ed8 !important;
    /* Darker Blue */
    box-shadow: 0 6px 15px rgba(37, 99, 235, 0.4);
    transform: translateY(-1px);
}

.auth-btn:active {
    transform: translateY(0);
}

/* Back Link */
.back-link {
    margin-top: 25px;
    display: block;
    color: #00ff88;
    text-decoration: none;
    font-size: 11px;
    font-family: 'Courier New', monospace;
    letter-spacing: 1px;
    border-top: 1px solid rgba(0, 255, 136, 0.1);
    padding-top: 15px;
    transition: opacity 0.3s;
}

.back-link:hover {
    opacity: 0.8;
    text-shadow: 0 0 5px #00ff88;
}

/* Error Message */
.ui-messages-error {
    background: rgba(255, 0, 0, 0.1) !important;
    color: #ff4444 !important;
    border: 1px solid #ff4444 !important;
    box-shadow: 0 0 10px rgba(255, 68, 68, 0.2);
    font-family: 'Courier New', monospace;
    font-size: 13px;
    margin-top: 10px;
    padding: 10px !important;
    border-radius: 4px;
}

.ui-messages-error-icon {
    display: none !important;
}

.ui-messages-close {
    color: #ff4444 !important;
    opacity: 0.8;
    cursor: pointer;
}

.ui-messages-close:hover {
    opacity: 1;
    text-shadow: 0 0 5px #ff4444;
}

.ui-messages-error-summary,
.ui-messages-error-detail {
    color: #ff4444 !important;
    text-shadow: 0 0 2px rgba(255, 68, 68, 0.5);
}