@import url('https://fonts.googleapis.com/css2?family=Share+Tech+Mono&display=swap');

body.login-page {
    margin: 0;
    padding: 0;
    height: 100vh;
    background-color: #f5f5f5;
    color: #000;
    font-family: 'Share Tech Mono', monospace;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
    box-sizing: border-box;
}

body.login-page * {
    box-sizing: border-box;
}

/* Background Effect (Subtle Grid) */
.background-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background-image: linear-gradient(#e0e0e0 1px, transparent 1px), linear-gradient(90deg, #e0e0e0 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.5;
    pointer-events: none;
}

.login-container {
    position: relative;
    z-index: 10;
    background: #ffffff;
    padding: 3rem;
    border: 1px solid #000;
    box-shadow: 10px 10px 0px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 450px;
    border-radius: 0px;
}

.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.login-header img {
    max-width: 180px;
    margin-bottom: 0.5rem;
    /* No filter needed for light mode, or maybe just contrast */
}

/* Header text removed in HTML as per request, but keeping rule just in case */
.login-header h2 {
    display: none;
}

.input-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.input-group input {
    width: 100%;
    padding: 12px 15px;
    background: transparent;
    border: none;
    border-bottom: 2px solid #ccc;
    color: #000;
    font-family: 'Share Tech Mono', monospace;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s;
}

.input-group input:focus {
    border-bottom-color: #000;
}

.input-group label {
    position: absolute;
    top: 12px;
    left: 10px;
    color: #666;
    font-size: 1rem;
    pointer-events: none;
    transition: 0.3s ease all;
    background: transparent;
}

.input-group input:focus~label,
.input-group input:not(:placeholder-shown)~label {
    top: -12px;
    left: 0;
    font-size: 0.8rem;
    color: #000;
    font-weight: bold;
}

.btn-primary {
    width: 100%;
    padding: 15px;
    background: #000;
    border: 1px solid #000;
    color: #fff;
    font-family: 'Share Tech Mono', monospace;
    font-size: 1.2rem;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s;
    letter-spacing: 2px;
    position: relative;
    overflow: hidden;
    margin: 0;
}

.btn-primary:hover {
    background: #fff;
    color: #000;
}

.message {
    color: #d32f2f;
    text-align: center;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    font-weight: bold;
}

.show-password-btn {
    color: #666;
}

.show-password-btn:hover {
    color: #000;
}

.scanline {
    display: none;
    /* Removed for light mode clean look */
}