﻿/* styles.css */

/* logged in user name : */

.LoggedIn{
    padding-right:px;
    height:50px;
    color:antiquewhite;
    font-size:12px;
}


.container4 {
    width: 100%; /* Width of the container */
    height: 500px; /* Height of the container */
    margin: 50px auto; /* Center the container horizontally on the page */
    background-color: #e9ecef; /* Background color of the container */
    display: flex; /* Flexbox to align children */
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    border: 1px solid #ddd; /* Optional border for the container */
    border-radius: 8px; /* Rounded corners for the container */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Optional shadow */
}

.body1 {
    margin: 0;
    font-family: Arial, sans-serif;
    /*background-color: #f0f0f0;*/ /* Optional background for the body */
    background-image: linear-gradient(to bottom right,blue,yellow);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh; /* Full viewport height */
}

.body2 {
    margin: 0;
    font-family: Arial, sans-serif;
    display: flex;
    height: 100vh;
    background-color: aliceblue;
}

.body3 {
    background-image: url("/images/bgLoginAdm.png");
    background-repeat: no-repeat;
}

.login-container {
    background-color: #ffffff; /* Background color of the login div */
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 300px; /* Fixed width */
    text-align: left;
    background-color: lightblue;
    box-shadow: 1px 1px 2px;
}



/* Top Bar */
.top-bar {
    width: 100%; /*calc(100% - 250px);*/
    height: 60px;
    background-color: #333;
    color: white;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    box-sizing: border-box;
    position: fixed;    
    top: 0;
    box-shadow: 2px 5px 5px black;
    z-index: 1;
}

.top-bar-main {
    width: calc(100% - 250px);
    height: 60px;
    margin-left: 250px;
    background-color: #333;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    box-sizing: border-box;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1;
    box-shadow: 2px 5px 5px black;
}


    .top-bar-main .logoTopMain {
        display: flex;
        align-items: center;
    }

        .top-bar-main .logoTopMain img {
            margin: 5px;
            width: 50px;
            height: 50px;
            border-radius: 20%;
        }

    .top-bar-main .User1 {
        color: black;
        position: absolute;
        left: 100px; /* 100px to the right of the logo */
        background-color: white;
        height: 30px;        
        border-radius: 5px;
        font-size: 20px;
        padding-left: 10px;
        padding-right: 10px;
        box-shadow: 4px 5px 1px gray;
    }


.top-bar .logoTop img {
    margin: 5px;
    width: 50px;
    height: 50px;
    border-radius: 20%;    
}

/*TOP BAR LOGIN CSS /////////////////////*/
.top-bar .logo {
    font-size: 1.2rem;
}

.top-bar .user-menu {
    position: relative;
    right: 0;
    height: 40px;
    margin-top:10px;
}

    .top-bar .user-menu button {
        background: none;
        border: none;
        color: white;
        font-size: 1rem;
        cursor: pointer;           
    }

    .top-bar .user-menu ul {
        list-style: none;
        margin: 0;
        padding: 0;
        position: absolute;        
        top: 35px;
        right: 0;
        width: 190px;
        background-color: white; /*rgb(221, 240, 151);*/        
        border: 1px solid #ccc;
        display: none;
        box-shadow: 1px 1px 1px black;
        border-radius: 10px;
    }

        .top-bar .user-menu ul li {
            padding: 5px;
            cursor: pointer;
            border-radius: 10px;
            color: black;
        }

            .top-bar .user-menu ul li:hover {
                background-color: #3B71CA;
                color: white;
                font-weight: bold;
                font-size: 17px;
            }

    .top-bar .user-menu:hover ul {
        display: block;
    }

/*TOP BAR MAIN CSS*/


.top-bar-main .logo {
    font-size: 1.2rem;
}

.top-bar-main .user-menu-main {
    position: relative;
    right: 0;
    height: 40px;
    margin-top: 10px;
}

    .top-bar-main .user-menu-main button {
        background: none;
        border: none;
        color: white;
        font-size: 1rem;
        cursor: pointer;        
    }

    .top-bar-main .user-menu-main ul {
        list-style: none;
        margin: 0;
        padding: 0;
        position: absolute;      
        top: 35px;
        right: 0;
        width: 190px;
        background-color: white; /*rgb(221, 240, 151);*/       
        border: 1px solid #ccc;
        display: none;
        box-shadow: 1px 1px 1px black;
        border-radius: 10px;
    }

        .top-bar-main .user-menu-main ul li {
            padding: 5px;
            cursor: pointer;
            border-radius: 10px;
            color: black;
        }

            .top-bar-main .user-menu-main ul li:hover {
                background-color: #3B71CA;
                color: white;                
                font-weight: bold;
                font-size: 17px;
            }

    .top-bar-main .user-menu-main:hover ul {
        display: block;
    }


/*////////////////////////////////////////////////////////////////////*/

/* Side Bar */
.sidebar {
    width: 250px;
    background-color: #f4f4f4;
    border-right: 1px solid #ccc;
    padding: 10px;
    box-sizing: border-box;
    position: fixed;
    height: 100vh;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 2px 5px 5px black;
    overflow-y: auto;
    

}

    .sidebar .logo {
        text-align: center;
        font-size: 1.2rem;
        margin-bottom: 20px;
    }

        .sidebar .logo img {
            width: 150px;
            height: 150px;
            border-radius: 20%;
        }

/*.top-bar .logoTop img {
    margin: 5px;
    width: 50px;
    height: 50px;
    border-radius: 20%;
}
*/

/*Buttons colors*/
.accordion {
    margin-bottom: 3px;
    cursor: pointer;
    padding-right: 45px;
    height: 40px;
    background-color: #3B71CA; /*primary*/
    color: white;
    outline: none;
    text-align: right;
    width: 100%;
    box-shadow: 2px 2px 2px black;
    border-radius: 7px;
}

/* list values ... Record View etc..*/
.accordion-content {
    display: none;
    overflow: hidden;
    background-color:#f9f9f9;
    padding-left: 15px;
}

    .accordion-content ul {
        list-style: none;
        padding: 0;
        margin: 0;        
    }

        .accordion-content ul li {
            margin: 5px 0;
            
        }

            .accordion-content ul li a {
                text-decoration: none;                
            }

                .accordion-content ul li a:hover {
                    text-decoration: underline;
                }

/* Main Content */
.main-content {
    /* flex-grow: 1;*/
    margin-left: 250px;
    margin-top: 60px;
    padding: 20px;
    
    /* box-sizing: border-box; */
}

/* Responsive Design */
/*@media screen and (max-width: 768px) {
    .sidebar {
        width: 200px;
    }

    .top-bar {
        width: calc(100% - 200px);
        left: 200px;
    }

    .main-content {
        margin-left: 200px;
    }
}

@media screen and (max-width: 576px) {
    .sidebar {
        position: static;
        width: 100%;
        height: auto;
        border-right: none;
    }

    .top-bar {
        position: static;
        width: 100%;
        left: 0;
    }

    .main-content {
        margin-left: 0;
        margin-top: 0;
    }
}*/
