body, html {
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

.form-group {
    margin-bottom: 0.3rem;
}

.video-bg-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.video-bg,
.video-bg-fallback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    z-index: -2;
}

.video-bg:fallback,
.no-video .video-bg-fallback {
    display: block;
}

.video-bg-container::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4));
    z-index: -1;
}

.LoginScreen {
    position: relative;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    min-height: 100vh;
    overflow: auto;
    display: flex;
    flex-direction: column;
    font-family: "Helvetica Neue", Helvetica, Arial, "Liberation Sans", sans-serif;
    font-size: 1rem;
    margin: 0;
    padding: 0;
}

.LoginWrapper {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.center-wrapper {
    width: 100%;
    max-width: 500px;
    box-sizing: border-box;
}

.card {
    background: rgba(38, 47, 11, 0.9) !important;
    border: 2px solid #d4af37;
    border-radius: 0;
}

.LoginLogo {
    max-height: 60px;
    width: auto;
}

.AppName {
    color: white;
}

.LoginForm {
    padding: 20px;
    width: 450px;
    border: solid 1px rgba(212, 175, 55, 0.3);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
}

.LoginButton {
    background-color: #e30016;
    border: 2px solid #d4af37;
    color: #fff;
    font-size: 1.1rem;
    border-radius: 8px;
    padding: 0.75rem 0;
    width: 100%;
    backdrop-filter: blur(10px);
}

.LoginButton:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.LoginLabel {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.9);
}

.LoginInput {
    border-radius: 8px;
    font-size: 1rem;
    width: 100%;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.95) !important;
    border: 1px solid rgba(212, 175, 55, 0.5);
    color: #333;
    backdrop-filter: blur(5px);
}

.LoginInput::placeholder {
    color: rgba(100, 100, 100, 0.8);
}

@media (max-width: 576px) {
    .center-wrapper {
        max-width: 90%;
        padding: 0.5rem;
    }
    .card {
        border-radius: 0.75rem;
        background: rgba(38, 47, 11, 0.95) !important;
    }
    .card-body {
        padding: 1.25rem 0.75rem;
    }

    .LoginLogo {
        max-height: 50px;
    }

    .LoginInput {
        font-size: 0.95rem;
        height: 40px;
    }
    .form-group {
        margin-bottom: 0.75rem;
    }

    .LoginButton {
        font-size: 1rem;
        padding: 0.6rem 0;
    }
}

@media (max-width: 420px) {
    .LoginScreen {
        padding-bottom: 1rem;
    }
}

@media (max-width: 375px) {
    .center-wrapper {
        padding: 0.3rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 320px) {
    .video-bg-container::before,
    .video-bg,
    .video-bg-fallback {
        display: none;
    }
    .LoginScreen {
        background-color: #0088c1;
    }
    .card {
        background: rgba(255, 255, 255, 0.95) !important;
    }
}