body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Poppins', sans-serif;
    overflow: hidden;
    color: white;
}

#bg-video {
    position: fixed;
    top: 0; left: 0;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    z-index: -1;
}

.overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: -1;
}

.container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 100vh;
    padding: 20px;
}

.left {
    text-align: center;
}

.logo {
    max-width: 800px; /* was 400px */
    height: auto;
    margin-bottom: 30px;
}

.login-box {
    background: rgba(20, 20, 20, 0.89);
    padding: 50px 40px;
    border-radius: 15px;
    min-width: 350px;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    align-items: center; /* centers everything horizontally */
    box-shadow: 0 0 20px rgba(0,0,0,0.6);
}

.login-box h2 {
    margin-bottom: 30px;
    font-weight: 700;
    text-align: center;
}

.login-box input {
    width: 100%;
    padding: 14px 18px;
    margin-bottom: 20px;
    border: none;
    border-radius: 40px;
    font-size: 16px;
    background: #ccc;
    text-align: center; /* Center text inside input */
}

.login-box input::placeholder {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: #696969;
    letter-spacing: 0.5px;
}



.login-box form {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.login-box button {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 8px;
    background-color: #ff7e03;
    color: #fff;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.login-box button:hover {
    background-color: #e66d00;
}

footer {
    position: absolute;
    bottom: 10px;
    width: 100%;
    text-align: center;
    font-size: 13px;
    color: #aaa;
}

.remember-me {
    width: 100%;
    margin-bottom: 20px;
    display: flex;
    justify-content: flex-start;
}

.remember-me label {
    display: flex;
    align-items: center; /* 👈 ensures vertical alignment */
    font-size: 14px;
    color: #ccc;
    cursor: pointer;
}

.remember-me input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin-right: 10px;
    accent-color: #ff7e03;
    vertical-align: middle; /* 👈 ensures checkbox centers */
    position: relative;
    top: 6px; /* 👈 nudges checkbox up slightly */
    cursor: pointer;
}


/* Make login layout stack on smaller screens */
@media screen and (max-width: 768px) {
    .container {
        flex-direction: column;
        padding: 40px 20px;
        justify-content: center;
    }

    .left {
        margin-bottom: 30px;
        text-align: center;
    }

    .logo {
        max-width: 80%;
    }

    .login-box {
        width: 100%;
        max-width: 90vw;
        padding: 30px 20px;
    }

    .login-box input {
        font-size: 14px;
    }

    .login-box button {
        font-size: 15px;
        padding: 12px;
    }

    .remember-me {
        font-size: 13px;
    }
}
