﻿.bg-image {
    background-image: url('../desk.jpg'); /* Replace with actual image path if hosted */
    background-size: cover;
    background-position: center;
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: -1;
}
.logo-container {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 1000;
}

.logo-container img {
    background: transparent;
}

.overlay {
    background-color: rgba(0, 0, 0, 0.6);
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.login-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    max-width: 400px;
    width: 100%;
    animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn-primary {
    background-color: #6e8efb;
    border: none;
    border-radius: 8px;
}

    .btn-primary:hover {
        background-color: #5a7de0;
    }

.forgot-password {
    font-size: 0.9rem;
    color: #6e8efb;
    text-decoration: none;
}

    .forgot-password:hover {
        text-decoration: underline;
    }

.toggle-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 20px;
}

    .switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 34px;
}

    .slider:before {
        position: absolute;
        content: "";
        height: 15px;
        width: 20px;
        left: 3px;
        bottom: 3px;
        background-color: white;
        transition: 0.4s;
        border-radius: 50%;
    }

input:checked + .slider {
    background-color: #6e8efb;
}

    input:checked + .slider:before {
        transform: translateX(24px);
    }

.toggle-label {
    font-size: 0.95rem;
    color: #333;
}

.show-password-toggle {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 1.2rem;
    color: #6e8efb;
    user-select: none;
    display: flex;
    align-items: center;
    height: 100%;
}
.login-card .form-label,
.login-card .form-control {
    text-align: left;
}
