@import url("https://fonts.googleapis.com/css2?family=Cormorant:ital,wght@0,300..700;1,300..700&family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=IBM+Plex+Serif:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600;1,700&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Josefin+Sans:ital,wght@0,100..700;1,100..700&family=K2D:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800&family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");

body {
    font-family: "Nunito Sans", sans-serif !important;
    overflow: auto;
    scrollbar-width: thin;

    background-color: #f5f6fa;
    overflow-x: hidden;
}

.Office-commisionrate {
    font-family: "Josefin Sans", sans-serif;
    font-weight: 400;
    font-size: 13px;
    line-height: 100%;
    letter-spacing: 0%;
}

.sidebar-img {
    background-color: #002c4e;
}

#superadmin-div-id {
    background-color: #003762;
    color: white;
}

img.snp-assam {
    width: 100%;
    justify-content: center;
    margin: auto;
    display: flex;
}

.dropdown-toggle-custom.d-flex.align-items-center.gap-2 {
    padding: 12px 23px;
}

.dropdown-toggle-custom.d-flex.align-items-center.gap-2:hover {
    background-color: white;
    color: black;
    border-radius: 2px 27px 26px 3px;
}

.sidebar {
    width: 40%;
    max-width: 300px;
}

#login-bg {
    background-color: #007814;
    height: 100vh;
    display: flex;

    flex-direction: column;
    justify-content: space-between;
}

#login-div {
    background-color: #f1eee4;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.left-section {
    background-color: #007814;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    height: 100vh;
    text-align: center;
    position: relative;
    background-image: url("../assets/imgs/Layer.png");
    background-repeat: no-repeat;
    background-position: bottom center;
    background-size: cover;
    /* or "contain" or specific size */
}

.left-section {
    position: relative;
    overflow: hidden;
    /* Optional, to hide overflow from ::after */
}

.header-container {
    min-height: 150px;
    /* adjust based on your design */
    padding: 10px 20px;
    width: 100%;
}

.header-container img {
    max-height: 60px;
    /* adjust based on design */
    object-fit: contain;
}

.left-section::after {
    content: "";
    /* background-image: url('../assets/imgs/Layer.png'); */
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 90%;
    height: 90%;
    z-index: 0;
    opacity: 0.1;
    /* optional for semi-transparent layer */
}

.left-section img {
    max-width: 100%;
    height: auto;
}

#supplier-div {
    width: 38% !important;
    position: absolute;
    bottom: 0;
}

img.supplier-img {
    width: 12%;
}

.right-section {
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    padding: 2rem;
}

.sign-in {
}

.sign-in {
    padding: 11px 40px;
    display: flex;
    background-color: #007814;
    color: white;
    border-radius: 13px;
    border: none;
}

.login-box {
    width: 100%;
    max-width: 76%;
}

.login-box input {
    padding: 10px;
    margin-bottom: 15px;
}

.btn-login {
    background-color: #005394;
    color: #fff;
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 4px;
}

.password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}

/* Common nav & dropdown header style */
.sidebar-menu .menu-item,
.dropdown-toggle-custom {
    padding: 0.5rem 1rem;
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

/* Dropdown item alignment (indented) */
.dropdown-content-custom {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding-left: 2.5rem;
    /* indent */
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

/* Dropdown item look */
.dropdown-item-custom {
    color: #fff;
    font-size: 0.92rem;
    text-decoration: none;
    padding: 0.3rem 0;
}

span#grid-location {
    margin-left: 15px;
    cursor: pointer;
}

.dropdown-item-custom:hover {
    text-decoration: underline;
}

/* Dropdown toggle spacing */
.dropdown-custom {
    display: flex;
    flex-direction: column;
}

.dropdown-custom.active .dropdown-content-custom {
    max-height: 400px;
    padding-top: 0.3rem;
}

.menu-item,
.dropdown-toggle-custom {
    padding: 0.4rem 0;
}

.logout-dropdown-wrapper:hover #logout-dropdown {
    display: block;
}

div#logout-dropdown {
    display: block;
    top: 110% !important;
    left: -14vh !important;
}

img.img-user {
    width: 79%;
}

.hidden {
    display: none !important;
}

@media (max-width: 768px) {
    .left-section {
        display: none;
    }

    .right-section {
        width: 100%;
    }
}
