* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Poppins, sans-serif !important;
    background-color: #f0f0f0;
}

/* Layout containers */
.container {
    display: flex;
    height: 100vh;
    margin: 0%;
    padding: 2%;
}

/* Sidebar */
.sidebar {
    width: 14%;
    background-color: #fff;
    border-right: 1px solid #eee;
    display: flex;
    flex-direction: column;
    padding: 20px 0;
    position: fixed;
    top: 60px; /* Below the topbar */
    left: 0;
    bottom: 0;
}

.sidebar-header {
    padding: 0 20px 20px;
    font-weight: bold;
    font-size: 14px;
}

.menu-item {
    display: flex;
    flex-direction: column;
    /*align-items: center;*/
    padding: 12px 20px;
    font-size: 14px;
    color: #747474;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.3s;
}

    .menu-item > a {
        text-decoration: none;
        color: #747474 !important;
    }

    .menu-item:hover {
        background-color: #eee;
    }

    .menu-item i {
        margin-right: 10px;
    }

    .menu-item.active, .menu-item.active > a.active, .submenu.active > a.active {
        color: #231e61 !important;
        font-weight: bold;
    }

    .menu-item .count {
        background-color: #fff;
        border: 1px solid #ccc;
        font-size: 12px;
        padding: 2px 6px;
        border-radius: 6px;
        margin-left: 8px;
    }

.submenu {
    display: none;
    flex-direction: column;
    padding-left: 25px;
}

    .submenu a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 8px 0;
        color: #747474 !important;
        font-size: 13px;
        text-decoration: none;
    }

        .submenu a .count {
            background-color: #fff;
            border: 1px solid #ccc;
            font-size: 12px;
            padding: 2px 6px;
            border-radius: 6px;
        }

        .submenu a .icon {
            color: #777;
            font-size: 12px;
            margin-left: 5px;
        }

    .submenu.show {
        display: flex;
    }

/* Topbar */
.topbar {
    height: 60px;
    background-color: #fff;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 0px 20px 0px 0px;
    z-index: 10;
}

.topbar-left {
    display: flex;
    align-items: center;
}

.logo {
    color: #fff;
    /*background-color: #28206d;*/
    border-radius: 5px;
    display: flex;
    gap: 5px;
    margin-bottom: 0px;
    align-items: center;
    margin-bottom: 0px;
    margin-left: 1rem;
}

    .logo img {
        height: 40px;
    }

.topbar-right {
    display: flex;
    justify-content: flex-end;
}

.profile {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #333;
    cursor: pointer;
}

.profile-icon {
    margin-left: 8px;
    font-size: 16px;
}

/* Main content area */
.main-content {
    margin-left: 14.7%; /* sidebar width */
    margin-top: 80px; /* topbar height */
    /* padding: 20px;*/
    min-height: 90vh;
    max-width: 84.5%;
    background: white;
    border-radius: 10px;
}

.login-status {
    display: flex;
    align-items: center;
}

.welcome-banner {
    padding-right: 10px;
}


/* Public Master Style Start */
.body {
    font-family: Arial, sans-serif;
    background-color: black;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

/* Container with Drop Animation */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.login-box {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    animation: 1s ease 0s 1 normal none running fadeInDown-animation;
}
/* Input Fields */
.input-field {
    width: 90%;
    padding: 10px;
    margin: 8px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
}

/* Login Button */
.custom-btn {
    width: 100%;
    background-color: #36cee1 !important;
    height: 45px !important;
    line-height: 1 !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, .16), 0 2px 10px rgba(0, 0, 0, .12);
    border-radius: 15px;
    border: none;
    font-size: 20px;
}

/* OR Separator */
.or {
    font-size: 14px;
    color: #c2c2c2;
    margin: 10px 0;
    text-align: center;
    position: relative;
    height: 1px;
    margin-bottom: 20px;
    background: #36cee1;
    margin-top: 20px;
}

    .or > span {
        top: -10px;
        position: relative;
        background: white;
        padding-left: 10px;
        padding-right: 10px;
    }



.main-contentPublic {
    padding: 20px;
    max-width: 85%;
    background: white;
    border-radius: 10px;
    margin: auto;
}

@keyframes fadeInDown-animation {
    0% {
        opacity: 0;
        transform: translate3d(0, -100%, 0);
    }

    100% {
        opacity: 1;
        transform: none;
    }
}

.reginfo > a {
    color: #36cee1;
}

.reginfo > span {
    color: #c2c2c2;
}



/* Public Master Style End */


.user-button {
    background: none;
    border: none;
    font-size: 16px;
    cursor: pointer;
    font-weight: bold;
}

.dropdown-content {
    display: none;
    position: absolute;
    background: white;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    min-width: 120px;
    overflow: hidden;
    padding: 10px;
}

    .dropdown-content a {
        display: flex;
        align-items: center;
        padding: 10px;
        text-decoration: none;
        color: black;
        font-weight: bold;
    }

        .dropdown-content a:hover {
            background: #f0f0f0;
        }

.userInfo {
    display: flex;
}

.show, .active {
    display: block;
}


/* Hide sidebar on mobile by default */
@media (max-width: 768px) {

    .profile {
        width: 60%;
    }

    .sidebar {
        position: fixed;
        z-index: 1000;
        background-color: white;
        box-shadow: 2px 0 5px rgba(0,0,0,0.2);
        transform: translateX(-100%);
        width: 50%;
    }

        .sidebar.active {
            transform: translateX(0);
        }

    .slidermenu {
        display: block !important;
        /*position: absolute;*/
        top: 12px;
        /*left: 45%;*/
        font-size: 24px;
        background: none;
        border: none;
        color: #28206D !important;
        cursor: pointer;
        padding-left: 10px;
        padding-right: 10px;
    }

    .main-content {
        max-width: 95%;
        margin-left: 2.5%;
    }

    .userInfo {
        align-items: center;
    }
}

/* Hide toggle button on larger screens */
.slidermenu {
    display: none;
}

