body {
    margin: 0;
    padding: 0;
    overflow: hidden;
}
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    object-fit: cover;
}
.login-container {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    min-height: 100vh;
    padding: 2rem;
}
.login-form {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    padding: 1rem 1.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    max-width: 320px;
    width: 100%;
    margin-right: 5%;
}

/* Login page specific styles */
.login-page {
    position: relative;
    min-height: 100vh;
}

.frame {
    display: flex;
    flex-direction: column;
    width: 120px;
    height: 60px;
    align-items: center;
    justify-content: center;
    padding: 0px 23px;
    position: relative;
    margin: 0 auto;
}

.video-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.login-form-container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    min-height: 100vh;
    padding: 2rem;
}

.login-form-card {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    max-width: 400px;
    width: 100%;
    margin-right: 5%;
}

.login-form .form-group {
    margin-bottom: 1.5rem;
}

.login-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #374151;
}

.login-form input[type="text"],
.login-form input[type="password"] {
    width: 100%;
    padding: 0.5rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 9999px;
    font-size: 1rem;
    transition: all 0.2s;
}

.login-form input:focus {
    outline: none;
    border-color: rgb(185, 28, 28);
    box-shadow: 0 0 0 3px rgba(185, 28, 28, 0.1);
}

.login-form button[type="submit"] {
    width: 100%;
    background: rgb(185, 28, 28);
    color: white;
    padding: 0.5rem 1.5rem;
    border: none;
    border-radius: 9999px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.login-form button[type="submit"]:hover {
    background: rgb(150, 22, 22);
}

.login-form button[type="submit"]:disabled {
    background: #9ca3af;
    cursor: not-allowed;
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .login-container {
        padding: 0px !important;
        justify-content:center !important;
        display: contents !important;
    }

    .login-form-container {
        justify-content: center;
        padding: 0;
        min-height: 100vh;
    }

    .login-form-card {
        margin-right: 0;
        max-width: 100%;
        width: 100vw;
        height: 100vh;
        border-radius: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 0;
    }

    .login-form {
        padding: 0;
        margin-right: 0;
        max-width: none;
        width: 100% !important;
        height: 100vh;
        display: flow;
        flex-direction: column;
        justify-content: center;
        padding: 2rem;
        box-shadow: none;
        border-radius: 0;
        margin: 0px !important;
        margin-top:80px;
    }

    .frame {
        margin-bottom: 2rem;
    }
}
