﻿
/* PASTE THE UPDATED CUSTOM CSS FROM SECTION 1 HERE */
/* ... CSS REMAINS UNCHANGED ... */
:root {
    --facebook-blue: #111c43;
    --sidebar-width: 250px;
    --sidebar-collapsed-width: 80px;
    --top-navbar-height: 56px;
}

.table-dark {
    --bs-table-bg: var(--facebook-blue) !important;
}
.logoimage {
    width: 150px;
    margin-right: 71px;
   
}
h2 {
    font-size: 1.8rem;
}
/* Container for position: relative */
.password-container {
    position: relative;
    width: 100%;
}

/* Style the input field (ensure padding for the icon) */
#Password {
    width: 100%;
    padding: 7px 40px 7px 10px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    outline: none;
}

/* Style and position the eye icon */
.password-toggle {
    position: absolute;
    top: 50%; /* Center vertically */
    right: 10px; /* Position from the right edge */
    transform: translateY(-50%); /* Fine-tune vertical centering */
    cursor: pointer; /* Change mouse cursor to indicate interactivity */
    user-select: none; /* Prevent the eye icon text from being selected */
    color: #888;
    font-size: 1.2em;
    padding: 2px; /* Small padding for easier clicking */
    line-height: 1; /* Helps with vertical alignment */
}
.bg-facebook-blue {
    background-color: var(--facebook-blue) !important;
}
.logindiv {
    position: absolute;
    width: 550px;
    max-width: 90%;
    margin: auto;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 436px;
}
.bg-active-default {
    --bs-bg-opacity: 1;
    background-color: rgb(26 41 95) !important;
}

    .bg-active-default i {
        /*color: var(--facebook-blue) !important;*/
        color: white;
    }

#sidebar {
    position: fixed;
    top: var(--top-navbar-height);
    left: 0;
    bottom: 0;
    z-index: 1050;
    width: var(--sidebar-width);
    transition: width 0.3s ease;
    
}

.main-content {
    padding-top: var(--top-navbar-height);
    margin-left: var(--sidebar-width);
    transition: margin-left 0.3s ease;
}

.fixed-top .container-fluid {
    width: calc(100% - var(--sidebar-width));
    margin-left: var(--sidebar-width);
    transition: margin-left 0.3s ease, width 0.3s ease;
}

.sidebar-toggled #sidebar {
    width: var(--sidebar-collapsed-width);
}

.sidebar-toggled .main-content {
    margin-left: var(--sidebar-collapsed-width);
}

.sidebar-toggled .fixed-top .container-fluid {
    width: calc(100% - var(--sidebar-collapsed-width));
    margin-left: var(--sidebar-collapsed-width);
}

.sidebar-toggled .sidebar-menu-item span {
    display: none;
}

.sidebar-toggled .sidebar-menu-item {
    justify-content: center;
    padding: 0.75rem 0;
}

    .sidebar-toggled .sidebar-menu-item i {
        margin-right: 0;
    }

@@media (max-width: 991.98px) {
    #sidebar {
        display: none !important;
    }

    .main-content, .fixed-top .container-fluid {
        margin-left: 0;
        width: 100%;
        transition: none;
    }

    #mobile-offcanvas-toggler {
        display: block !important;
    }
}

/* Menu item styles */
.sidebar-menu-item {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    text-decoration: none;
    color: #ffffff;
    border-radius: 0.25rem;
    transition: background-color 0.15s ease-in-out;
    font-weight: 500;
}

    .sidebar-menu-item:hover, .sidebar-menu-item.active {
        background-color: rgb(26 41 95) !important;
        color: white;
    }

    .sidebar-menu-item i {
        margin-right: 0.75rem;
        width: 1.25rem;
        color: #ffffff;
    }

.offcanvas-header .btn-close {
    color: #000;
    filter: invert(0.5) sepia(1) saturate(5) hue-rotate(175deg);
}
.login-body {
    overflow: visible;
}
#login-page-side-panel {
    display: none;
    background-color: red;
    height: 700px;
}
@media (min-width: 768px) {
    #login-page-side-panel {
        display: block;
        background-color: #111c43 !important; 
        height: 1024px;
    }
    #login-page-right-side-panel{
        position:relative
    }
    .login-body {
        overflow: hidden;
    }
}
    