/*
This file is part of the Matrix Login Project.
Originally developed by Kaveesha Nethmal © 2024.
Unauthorized modification, distribution, or reproduction of this file is strictly prohibited.
For inquiries, contact the original developer.
*/


body {
    margin: 0;
    overflow: hidden;
    background: black;
    color: #0F0;
    font-family: monospace;
}

canvas {
    position: absolute;
    top: 0;
    left: 0;
}

.login-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid #0F0;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 0 20px #0F0;
    text-align: center;
    width: 300px;
}

.login-container h1 {
    color: #0F0;
    margin-bottom: 20px;
    font-size: 24px;
    /* -------- for glowing effect ----------- */
    /* color: #0F0;
    margin-bottom: 20px;
    font-size: 28px;
    text-shadow: 0 0 5px #0F0, 0 0 10px #0F0, 0 0 20px #0F0, 0 0 30px #00FF00, 0 0 40px #00FF00; */

}

.login-container input {
    width: 95%;
    padding: 10px;
    margin: 10px 0;
    background: black;
    border: 1px solid #0F0;
    color: #0F0;
    font-family: 'Courier New', Courier, monospace;
    font-weight: bold;
    border-radius: 5px;
    font-size: 16px;
}

.login-container label {
    display: flex;
    align-items: center;
    font-size: 14px;
    margin-bottom: 10px;
    justify-content: left;
}

.login-container label input {
    margin-right: 10px;
}

.login-container a {
    color: #0F0;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.login-container a:hover {
    color: #00FF00;
}

.login-container .links {
    display: flex;
    /* justify-content: space-between; */
    margin-top: 10px;
    font-size: 14px;
}

.login-container .links .link1 {
    justify-content: left;
}

.login-container .links .link2 {
    justify-content: right;
}

.login-container .links .link2 {
    cursor: pointer;
    text-decoration: underline;
    color: #0F0;
    font-size: 14px;
}

.login-container .links .link2:hover {
    color: #00FF00;
}

/* Keep hidden forms consistent */
#registerForm {
    display: none;
}


.login-container button {
    width: 100%;
    padding: 10px;
    background: #0F0;
    color: black;
    font-family: 'Courier New', Courier, monospace;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s ease;
    margin-top: 10px;
}

.login-container button:hover {
    background: #00FF00;
}