﻿body, html {
    overflow: hidden;
    height: 100%;
}

#background-video {
    position: fixed;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    background: url('/resources/img/factory.png') no-repeat center center/cover;
    z-index: -1;
    filter: brightness(60%);
}

.login-body {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    position: relative;
}


.overlay {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.form-group {
    margin-bottom: 1rem;
}

.form-control {
    border-radius: 10px;
    padding: 0.8rem;
    font-size: 1rem;
}

.form-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
    font-size: 0.9rem;
}

    .form-links .link {
        color: #4F46E5; /* Soft primary blue */
        text-decoration: none;
        opacity: 0.8;
    }

        .form-links .link:hover {
            opacity: 1;
            text-decoration: underline;
        }

.login-card {
    background: rgba(255, 255, 255, 0.85); /* softer white with transparency */
    padding: 2.5rem;
    border-radius: 1.5rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    max-width: 400px;
    width: 90%;
    text-align: center;
    backdrop-filter: blur(10px);
}


.login-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}

.login-subtext {
    font-size: 1rem;
    color: #666;
}

.btn-primary {
    background-color: #4F46E5;
    border: none;
    border-radius: 10px;
    padding: 0.75rem;
    font-size: 1rem;
}

    .btn-primary:hover {
        background-color: #4338CA;
    }

.fade-in {
    animation: fadeIn 1s ease forwards;
    opacity: 0;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
