#form-container {
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    height: calc(100vh - 250px);
    padding-top: 250px;
    z-index: 1;
}

form {
    /* all: unset; */
    display: none;
    flex-direction: column;
    animation: fade 0.3s ease-in-out;
    padding: 2rem;
    border-radius: 12px;
    background: rgba(20, 20, 20, 0.7);
    /* glassy panel */
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 20px rgba(0, 255, 255, 0.2);
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

form.active {
    display: flex;
    width: 22%;
    transform: scale(1);
}

form input {
    padding: 12px;
    margin-bottom: 12px;
    background: rgb(22, 22, 22);
    color: #0ff;
    border: 1px solid #0ff3;
    border-radius: 6px;
    transition: all 0.2s ease;
}

form input:focus {
    outline: none;
    border-color: #0ff;
    box-shadow: 0 0 10px #0ff7;
}

form button {
    background: #1a1a1a;
    color: #0ff;
    padding: 0.6rem 1.2rem;
    cursor: pointer;
    border-radius: 6px;
    border: 1px solid #0ff3;
    /* font-weight: bold; */
    letter-spacing: 1px;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

form button:hover {
    background: #0ff;
    color: #111;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px #0ff6;
}

#navButtons {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 0.5rem;
}

#remember {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    color: white;
    opacity: 0.6;
    margin-top: 10px;
    /* font-size: 0.9rem; */
}

#remember input[type="checkbox"] {
    accent-color: #0ff;
    cursor: pointer;
    transform: scale(1.2);
    transition: transform 0.2s ease;
}

#remember input[type="checkbox"]:hover {
    transform: scale(1.3);
}

.toggle-link {
    color: #0ff;
    opacity: 0.7;
    cursor: pointer;
    /* font-size: 14px; */
    margin-top: 8px;
    text-decoration: none;
    transition: opacity 0.2s ease, text-shadow 0.2s ease;
}

.toggle-link:hover {
    opacity: 1;
    text-shadow: 0 0 6px #0ff;
}

@keyframes fade {
    from {
        opacity: 0;
        transform: translateY(15px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}


#logo-container img {
    filter: drop-shadow(0 0 6px #0ff6);
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        filter: drop-shadow(0 0 6px #0ff6);
    }

    to {
        filter: drop-shadow(0 0 18px #0ff);
    }
}

#log {
    color: #888888;
}