body {
    margin: 0;
    padding: 0;
    overflow: hidden;
    font-family: 'Arial', sans-serif;
}

video {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
}



button:hover {
    background: rgba(255, 255, 255, 0.3);
}
.back_button {
    margin-top: -10px;
    margin-bottom: -30px;
    text-align: center;
}
.back_button a {
    text-decoration: none;
    color: white;
}

.back_button a:hover {
    text-decoration: none;
    opacity: 0.8;
}

.login-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    max-width: 300px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    color: white;
}

.login-container h2 {
    text-align: center;
    margin-bottom: 25px;
    font-weight: 600;
    font-size: clamp(1.5rem, 4vw, 2rem);
}
.login-container h6 {
    display: block;
    font-size: 0.67em;
    margin-block-start: 2.33em;
    margin-block-end: 2.33em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold;
    unicode-bidi: isolate;
}


.input-group {
    position: relative;
    margin-bottom: 25px;
}

.input-group input {
    width: 100%;
    padding: 12px 0;
    font-size: 16px;
    color: white;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    outline: none;
    background: transparent;
}


/* Add transparent placeholder */

.input-group input::placeholder {
    color: transparent;
    opacity: 0;
}

.input-group label {
    position: absolute;
    top: 12px;
    left: 0;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.2s ease-out;
    pointer-events: none;
}


/* Float label when:
   1. Input is focused OR
   2. Input has any value (even without focus) */

.input-group input:focus~label,
.input-group input:not(:placeholder-shown)~label {
    top: -18px;
    font-size: 12px;
    color: white;
}


/* Highlight active input */

.input-group input:focus {
    border-bottom-color: white;
}

button {
    width: 100%;
    padding: 12px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    color: white;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}

button:hover {
    background: rgba(255, 255, 255, 0.3);
}


/* Mobile Responsiveness */

@media (max-width: 480px) {
    .login-container {
        width: 85%;
        padding: 25px;
    }
    .input-group input {
        padding: 10px 0;
        font-size: 14px;
    }
    .input-group label {
        font-size: 14px;
    }
    button {
        padding: 10px;
        font-size: 14px;
    }
}