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-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 0;
}

.login-container {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    max-width: 450px;
    width: 100%;
}

.login-card .card-header {
    border-bottom: none;
}

.login-card form {
    position: relative;
    overflow: hidden;
    border-radius: 0 0 15px 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-content-wrapper {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 100%;
    padding: 40px 35px;
    margin: 0;
    border-radius: 0 0 15px 15px;
    overflow: hidden;
}

.login-form-background {
    background-image: url('/images/bearing login.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

    .login-form-background::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(255, 255, 255, 0.85);
        z-index: 0;
        backdrop-filter: blur(1px);
    }


.form-content-wrapper > * {
    position: relative;
    z-index: 1;
}

.form-content-wrapper .form-label {
    color: #333;
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.form-content-wrapper .form-control {
    border: 1.5px solid #e0e0e0;
    transition: all 0.3s ease;
    background: #fff;
}

.form-content-wrapper .form-control:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
    background: #fff;
}

.form-content-wrapper .input-group-text {
    border: 1.5px solid #e0e0e0;
    border-right: none;
    transition: all 0.3s ease;
}

.form-content-wrapper .input-group:focus-within .input-group-text {
    border-color: #0d6efd;
}

.form-content-wrapper .btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    padding: 12px 24px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.form-content-wrapper .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

@media (max-width: 768px) {
    .login-card {
        margin: 20px;
    }

    .login-form-background {
        background-size: cover;
        background-position: center;
    }

    .form-content-wrapper {
        padding: 30px 25px;
    }
}

