
html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Poppins', sans-serif;
    background-color: #000;
    color: #fff;
}

input, button {
    font-family: inherit;
}

#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 0;
    top: 0;
    left: 0;
}

.login-container {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    padding: 20px;
}

.login-box {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    backdrop-filter: blur(12px);
    padding: 40px 30px;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.2), 0 0 60px rgba(0, 255, 255, 0.1);
    max-width: 400px;
    width: 100%;
    transition: box-shadow 0.3s ease;
}

.login-box:hover {
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.4), 0 0 80px rgba(0, 255, 255, 0.2);
}

.login-box img {
    display: block;
    padding: 4px;
    margin: 0 auto 20px auto;
    border: 2px solid #fff;
    border-radius: 8px;
    max-width: 150px;
    height: auto;
    box-shadow: 0 0 12px rgba(0, 255, 255, 0.4);
}

.login-box h2,
.login-box h4 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 22px;
    letter-spacing: 0.5px;
    color: #fff;
}

.login-box input {
    box-sizing: border-box;
    width: 100%;
    padding: 14px;
    margin: 10px 0;
    font-size: 16px;
    border-radius: 8px;
    border: none;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.login-box input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.login-box input:focus {
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 5px rgba(0, 255, 255, 0.5);
    outline: none;
}

.login-box button {
    display: block;
    width: 100%;
    padding: 14px;
    margin-top: 10px;
    border-radius: 8px;
    border: none;
    background: linear-gradient(45deg, #00f0ff, #00ff88);
    color: #000;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.3s ease, background 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.login-box button:hover {
    background: linear-gradient(45deg, #00ff88, #00f0ff);
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(0, 255, 255, 0.3);
}

/* Stilizare checkbox custom pentru remember me */
.remember-me-label {
    display: flex;
    align-items: center;
    font-size: 14px;
    margin: 15px 0 10px 0;
    color: #ccc;
    cursor: pointer;
    user-select: none;
}

.remember-me-label input[type="checkbox"] {
    display: none;
}

.remember-me-label .custom-checkbox {
    width: 18px;
    height: 18px;
    border: 2px solid #00f0ff;
    border-radius: 4px;
    margin-right: 8px;
    position: relative;
    transition: background 0.3s ease, border-color 0.3s ease;
    flex-shrink: 0;
}

.remember-me-label input[type="checkbox"]:checked + .custom-checkbox {
    background: #00f0ff;
    border-color: #00f0ff;
}

.remember-me-label .custom-checkbox::after {
    content: "";
    position: absolute;
    left: 4px;
    top: 0px;
    width: 5px;
    height: 10px;
    border: solid #000;
    border-width: 0 2px 2px 0;
    opacity: 0;
    transform: rotate(45deg);
    transition: opacity 0.3s ease;
}

.remember-me-label input[type="checkbox"]:checked + .custom-checkbox::after {
    opacity: 1;
}

/* Responsive */
@media (max-width: 480px) {
    .login-box {
        padding: 30px 20px;
        max-width: 90%;
    }

    .login-box img {
        max-width: 120px;
    }

    .login-box button {
        padding: 12px;
        font-size: 15px;
    }
}
