/* autocomplete css change */
	.ac-message .ac-empty { padding: 6px 10px; opacity: .75; }
	.ui-autocomplete .ui-state-disabled { pointer-events: none; }

/* Content Container */
.content-container {
    display: flex;
    flex-direction: column;
    height: 100vh;
    width: 100%;
}

/* Content Header CSS */
.ch {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100px;
    width: 100%;
}

.ch-bar {
    display: grid;
    grid-template-columns: min-content auto min-content; /* Left for hamburger, middle for spacing, right for bookmark */
    align-items: center;
    height: 40px;
    width: 100%;
    padding: 0 10px;
}

.ch-logo, .ch-ribbon {
    display: flex;
    align-items: center;
}

.ch-logo {
    justify-content: flex-start; /* Aligns logo to the left */
    width: 250px;
    height: auto;
}

.ch-logo a {
    width: 100%;
    height: auto;
}

.ch-logo img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.ch-search {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
}

.ch-searchbar {
	height: 30px;
	border-radius: 5px;
	border: thin;
	border-color: black;
	width: 400px;
}

/* searchbar v2 */
    .ch-search-v2 {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-grow: 1;
        gap: 8px;
    }
    .ch-searchbox-wrapper {
        position: relative;
        flex-grow: 1;
        max-width: 400px;
        width: 100%;
    }
    .ch-searchbar-v2 {
        width: 100%;
        padding-right: 2rem; /* space for the clear button */
        height: 36px;
        font-size: 14px;
        box-sizing: border-box;
		border-radius: 5px;
		border: thin;
		border-color: black;
    }
    .ch-clear-btn {
        position: absolute;
        right: 50px;
        top: 50%;
        transform: translateY(-50%);
        color: red;
        font-size: 22px;
        font-weight: bold;
		font-family: arial;
        cursor: pointer;
        user-select: none;
        display: none; /* Initially hidden */
    }
    #ch-search-btn-v2 {
		position: absolute;
		right: 0;
		top: 0;
		height: 100%;
		width: 40px;
		display: flex;
		align-items: center;
		justify-content: center;
		color: #878787;
		font-size: .8em;
		font-weight: bold;
		cursor: pointer;
		user-select: none;
		background-color: rgba(0 0 0 / 5%);
		border-top-right-radius: 5px;
		border-bottom-right-radius: 5px;;
    }


.ch-ribbon {
    justify-content: flex-end; /* Aligns ribbon to the right */
    flex-direction: row-reverse;
    gap: 10px;
    margin-right: 10px; /* Add some margin if needed */
}

.ch-ribbon-icon, .ch-search-icon{
    font-size: 2em;
}

.ch-ribbon-btn {
    position: relative;
    padding: 6px 12px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ch-ribbon-menu-bubble {
    position: absolute;
    top: 2px;
    right: 7px;
    transform: translate(50%, -50%);
    opacity: .9;
    border-radius: 15px;
    padding: 0 6px;
    min-width: 25px;
    height: 25px;
    line-height: 20px;
    font-size: 1.2em;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 2px #000;
}
.ch-ribbon-btn-span {
    position: absolute;
    top: 0;
    right: 5px; 
    transform: translate(50%, -50%);
    opacity: .9;
    border-radius: 10px; 
    padding: 0 6px;
    min-width: 20px;
    height: 20px;
    line-height: 20px;
    font-size: 0.75em;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 2px #000;
}

.ch-notification-border {
    border: 4px solid rgb(235, 235, 52) !important;
}

.ch-hamburger-container {
    display: none; /* Hide by default */
    grid-area: 1 / 1 / 2 / 2; /* Explicitly place in the first column */
}

.ch-hamburger-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 35px; /* Match container's width */
    height: 40px;
    color: white;
}

.ch-bookmark-container {
    display: flex; /* Keep using flex for internal alignment */
    justify-content: flex-end; /* Align to the right within its cell */
    align-items: center;
    grid-area: 1 / 3 / 2 / 4; /* Explicitly place in the third column */
    width: 35px; /* Adjust width as needed */
}

.ch-bookmark-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 35px; /* Match container's width */
    height: 40px;
    color: white;
}

.ch-cycle-btn-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 35px;
    height: 40px;
    margin-left: 10px; /* Add some spacing between the bookmark and cycle button */
}

.ch-cycle-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 35px;
    height: 35px;
    background-color: transparent; /* Adjust as needed */
    cursor: pointer;
}

.ch-button-container {
    display: none;
    justify-content: center;
    align-items: center;
    grid-area: 1 / 2 / 2 / 3;
    height: 40px;
    padding: 0 20px;
    gap: 10px;
}

.ch-message-container{
    display: flex;
    justify-content: center; 
    align-items: center;
    grid-area: 1 / 2 / 2 / 3;
    padding-left: 300px; /*offset to match main window, remove on @media below 1024 width when side menu hides */
}

.ch-header-message{
    font-size: 18px;
}

.ch-btn{
    height: 40px;
    color: white;
    border: none;
}
    /*ch menu button css */
	#ch-menu {
		position: relative; /*allow for component modal to position off this element */
	}
	.ch-menu-panel-modal {
		position: absolute;
		top: 103%; /* directly below the button */
		right: 0;
		background: black; /* placeholder, updates in themes.css */
		color: white; /* placeholder, updates in themes.css */
		border: 1px solid rgb(70, 70, 70); /* placeholder, updates in themes.css */
		border-radius: 5px;
		padding: 20px 25px 35px 25px;
		overflow-y: auto;
		transition: max-height 0.5s ease;
		z-index: 1001;
	}
	.ch-menu-panel-modal hr {
		margin: 8px 0;
		border-top: 1px solid rgb(255, 255, 255); /* placeholder, updates in themes.css */
	}
	.ch-menu-section-title {
		font-size: 18px;
		text-decoration: underline;
	}
	.ch-menu-select-btn {
		background: none;
		font-size: 1.5rem;
		border: 0;
		width: 100%;
		height: 20px;
		text-align: left;
        display: flex;
        flex-direction: row;
        gap: 10px;
        margin-bottom: 5px;
	}
	.ch-menu-select-btn:hover, li.ch-menu-section-li:hover {
		background: rgb(40, 40, 40); /* placeholder, updates in themes.css */
	}
    .ch-menu-btn-span {
        transform: translate(0%, 5%);
        opacity: .9;
        border-radius: 10px; 
        padding: 0 6px;
        min-width: 20px;
        height: 20px;
        line-height: 20px;
        font-size: 0.75em;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 0 2px #000;
    }

	.ch-menu-customer-info p {
		margin-bottom: 2px;
	}
	.ch-menu-btn {
		margin-top:2px;
	}
    .ch-menu-section-ul { 
        margin-left: 5px;
        padding: 5px 0 0 0 !important;
        font-size: 1.1em;
        list-style-type: none; 
    }
    li.ch-menu-section-li {
        width: 100%;
        height:20px;
    }
    a.ch-menu-section-bookmark {
        text-decoration: none;
        color: white; /* placeholder, updates in themes.css */
    }
    /* Fullscreen backdrop for menu modal*/
    #ch-menu-backdrop {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 999; /* just behind the modal */
        background: transparent;
    }
@media (min-width: 501px) {
    .ch-menu-panel-modal {
        width: 300px;
        max-height: calc(100vh - 60px);
    }
}

@media only screen and (max-width:1600px) {
    
}

@media only screen and (max-width:1024px) {
    .ch-hamburger-container {
        display: flex; /* Show the hamburger */
    }

    .ch-button-container {
        display: flex;/* Show the bar buttons */
    }

    .ch-logo {
        width: 125px; /* Set width to 125px which is half of the 250px */
    }

    .ch-logo img {
        max-width: 100%; /* Allow the image to fill the container */
        height: auto; /* Keep height auto to maintain aspect ratio */
    }
    .ch-searchbar {
        width: 300px;
    }
    .ch-ribbon {
        gap: 6px;
    }
    .ch-ribbon-btn {
        padding: 4px 10px;
        width: 40px;
        height: 40px;
    }
    .ch-ribbon-btn-span {
        border-radius: 8px; 
        padding: 0px 3px;
        min-width: 16px;
        height: 16px;
        line-height: 16px;
        font-size: 0.75em;
    }

    /* Content Header No Search*/
    .ch-ns {
        height: 80px;
    }
    .ch-message-container{
        padding-left: 0px; /*offset to match main window, remove on @media below 1024 width when side menu hides */
    }
    
    .ch-header-message{
        font-size: 1.5rem;
    }
    
}

@media only screen and (max-width:768px) {

    .ch-logo {
        display: none;
    }

    .ch {
        flex-direction: column;
        justify-content: flex-start; /* Aligns items to the start of the flex container */
        align-items: flex-end; /* Aligns items to the end (right side) */
        padding-top: 5px;
    }

    .ch-ribbon {
        order: -1; /* Places the ribbon above the search bar */
        width: 100%; /* Allows the ribbon to take the full width, if needed */
        justify-content: flex-start; /* Aligns the ribbon's content to the right */
    }

    .ch-search {
        order: 0; /* Ensures the search bar is placed below the ribbon */
        width: 100%; /* Adjust this if you want to control the search bar's width */
        justify-content: center; /* Centers the search bar's contents */
        align-items: center; /* Useful if there are multiple items within the search container */
        padding: 5px;
    }

    .ch-searchbar {
        width: 300px;
    }
	.ch-search-v2 {
        order: 0;
        width: 100%;
		margin-left: 8px;
        padding: 5px;
	}

    .ch-ribbon{
        gap: 5px;
    }

    .ch-ribbon-icon, .ch-search-icon{
        font-size: 1.5em;
    }

    .ch-ribbon-btn {
        width: 30px;
        height: 30px;
    }

    .ch-ribbon-btn-span {
        border-radius: 5px; 
        padding: 0px 3px;
        min-width: 10px;
        height: 10px;
        line-height: 10px;
        font-size: 0.7em;
    }
    .ch-ribbon-menu-bubble {
        padding: 0 3px;
        min-width: 20px;
        height: 20px;
        line-height: 20px;
        font-size: .9em;
    }

    /* Content Header No Search*/
    .ch-ns{
        height: 50px;
    }


}
@media only screen and (max-width: 500px) {
    .ch-menu-panel-modal {
        right: 0;
        width: 350px;
        height: calc(100vh - 50px); /* again adjust depending on header */
        max-height: none;
    }
}

@media only screen and (max-width:420px) {
    .ch-searchbar {
        width: 200px;
    }

}

/* Content Body CSS */
.cb {
    flex-grow: 1;
    margin-left: 300px;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
    color: white;
    padding-bottom: 50px;
    text-align: center;
}

@media only screen and (max-width:1024px) {
    .cb {
		width:100%;
		margin-left: 0px;
    }
}

/*Sidemenu CSS*/
.sm {
    display: block;
    padding: 15px;
    padding-top: 5px;
    padding-bottom: 25px;
}

.sm-container {
    display: block;
    position: fixed;
    top: 140px;
    left:0px;
    width: 300px;
    height: calc(100% - 140px);
    margin: 0 auto;
    direction: ltr;
    overflow: scroll;
    z-index: 100;
    transition: 0.3s;
}

.sm-ft {
    height: calc(100% - 180px);
}

.sm-container::-webkit-scrollbar {
    width: 0;
    background: transparent;
}

.sm-section {
    padding-top: 5px;
}

.sm-section .form-group {
    margin: 5px;
}

.sm-btn, .rsm-btn, .ch-menu-btn {
    color: black;
    margin-bottom: 5px;
    margin-left: 5px;
}

.sm hr, .sm h1, .sm h2, .sm h3, .sm h4, .sm h5, .sm h6, 
.cb-filter-modal hr, .cb-filter-modal h1, .cb-filter-modal h2, .cb-filter-modal h3, .cb-filter-modal h4, .cb-filter-modal h5, .cb-filter-modal h6, 
.rsm-container hr, .rsm-container h1, .rsm-container h2, .rsm-container h3, .rsm-container h4, .rsm-container h5, .rsm-container h6{
    margin-top: 5px;
    margin-bottom: 5px;
}

.sm-bar{
    display: block;
    position: fixed;
    top: 140px;
    left: 267px;
    width:0px;
    height: calc(100% - 140px);
    z-index: 99;
}

.sm-section-ul { 
    margin-left: 5px;
    padding: 0px;
    font-size: 1em;
    list-style-type: none; 
}

.sm-section-a { 
    text-decoration: none; 
}
    
.sm-customer-info p{
    margin: 0px;
    margin-left: 5px;
    font-size: 1em;
}

@media only screen and (max-width:1600px) {
    .sm-container, .sm-bar{
        top:140px;
        height: calc(100% - 140px);
    }

    .sm-ft {
        top:140px;
        height: calc(100% - 180px);
    }

}
@media only screen and (max-width:1024px) {
    .sm-container {
        width: 0px;
    }
    .sm {
        display: none;
    }

    /* Sidemenu No Search */
    .sm-ns{
        top: 120px;
        height: calc(100% - 120px);
    }

    .sm-ns .sm-ft{
        height: calc(100% - 160px);
    }
    
}
@media only screen and (max-width:768px) {
    /* Sidemenu No Search */
    .sm-ns{
        top: 90px;
        height: calc(100% - 90px);
    }

    .sm-ns .sm-ft{
        height: calc(100% - 130px);
    }
}

/* Modal CSS */
.sm-modal {
    position: fixed;
    z-index: 10000;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.7);
    display: none;
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
}

.sm-modal-wrapper {
	position:relative;
	width: 900px;
    height: calc(100% - 50px);
    margin: 50px auto;	
	text-align: left;
	border: 2px white solid;
	background: black;
}

.sm-modal-content {
	background-color: rgb(0,0,0);
	height: 100%;
	width: 100%;
    padding: 5px;
    overflow-y: scroll;
}

.sm-modal-iframe {
	width:100%;
	height:100%;
	border:0px;
	background-color: rgb(0,0,0);
	text-align:center;
}

.sm-modal-close {
	position: absolute;
	top: 3px;
	right: 3px;
}

.sm-modal-close::before {
	content: "";
	position: absolute;
	top: 5px;
	left: 5px;
	right: 5px;
	bottom: 5px;
	background-color: black;
	z-index: -1;
}

.sm-modal-close a {
	font-weight: bolder;
	font-size: large;
	color: #920002;
	text-decoration: none;
}

.ch-header-modal {
    height: 120px;
	width: 100%;
	top: 0;
	background-color: #fff;
	position: fixed;
	display: block;
}

#cust_search{
    border: 1px solid black;
}

@media only screen and (max-width:1600px) {
	.ch-header-modal {
		height: 80px;
    }
}

@media only screen and (max-width:768px) {
	.contentheader {
		height: 80px;
	}

    .ch-header-modal {
        height: 80px;
    }

    .contentarea {
        top: 80px;
    }

    .sm-modal-wrapper {
        width: calc(100% - 20px);
        height: calc(100% - 20px);
        margin: 10px;
    }

}

@media (max-width: 768px) {
    /* Ensure the modal covers the full viewport */
    .sm-modal {
        width: 100vw;
        height: 100vh;
        top: 0;
        left: 0;
    }

    .sm-modal-wrapper {
        width: 90vw;
        height: 90vh;
        margin: 5vh auto;
    }
}

/* Net Pricing CSS */
/* Loading spinner */
.glyphicon.spinning {
    animation: spin 1s infinite linear;
    -webkit-animation: spin2 1s infinite linear;
}

@keyframes spin {
    from { transform: scale(1) rotate(0deg); }
    to { transform: scale(1) rotate(360deg); }
}

@keyframes spin2 {
    from { -webkit-transform: rotate(0deg); }
    to { -webkit-transform: rotate(360deg); }
}

/* Footer Css */
.ft-container {
    display: flex;
    justify-content: center;
    align-items: center;
    color: black;
    text-align: center;
    flex-shrink: 0;
    width: 100%;
    height: 40px;
    bottom: 0;
    left: 0;
    margin-top: auto;
    padding: 15px;
}

.social-media-container {
    display: flex;
    justify-content: center;
}

.social-media {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.social-media a {
    color: black;
    margin: 0 10px;
    text-decoration: none;
    transition: color 0.3s ease;
}

/* @media only screen and (max-width:768px) {
    .ft-container {
        height: 50px;
    }
}

@media only screen and (max-width:1024px) {
    .ft-container {
        height: 80px;
    }
} */



/* Marketing Window Css */
.mk-container {
    position: relative;
    max-width: 900px;
    margin: auto;
    margin-top: 20px;
    /* background: black; 
    border-radius: 15px; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border: 10px solid black; */
    overflow: hidden;
}

/* Aspect Ratio Container */
.aspect-ratio-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    /* background: black; */
}

/* Marketing Frame */
.marketing-frame {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none; 
    border-radius: 5px;
    object-fit: contain;
}

/* Marketing Modal CSS */
.mk-modal-dialog {
    max-width: 600px;
}

.mk-modal-content {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
}

.mk-modal-header {
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 15px;
}

.mk-modal-title {
    font-size: 24px;
    font-weight: bold;
}

.mk-modal-close {
    font-size: 1.5rem;
    color: #000;
}

.mk-modal-body {
    padding-top: 15px;
}

.mk-modal-p {
    color: black;
}

.mk-modal-footer {
    border-top: 1px solid #e9ecef;
    padding-top: 15px;
}

/* View Modal Overlay */
.view-modal-overlay {
    display: none;
    position: fixed;
    z-index: 10000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Darkened background */
    overflow-y: auto; /* Allow scrolling if modal content overflows */
}

/* View Modal */
.view-modal {
    position: fixed;
    z-index: 10001;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 20px;
    border-radius: 8px;
    width: 90%; /* Adjust width for mobile */
    max-width: 400px; /* Limit width on larger screens */
}

/* View Modal Content */
.view-modal-content {
    position: relative;
    text-align: left;
}

/* Modal Title */
.view-header {
    text-align: center;
    font-size: 1.5em; /* Scalable font size */
    margin-bottom: 10px;
}

/* Close Button */
.view-close {
    position: absolute;
    right: 10px;
    top: 10px;
    cursor: pointer;
    font-size: 1.5em;
    font-weight: bold;
    color: #920002;
}

/* Modal Body */
.view-body {
    font-size: 1em; /* Adjust font size for readability */
    line-height: 1.5; /* Improved readability */
    margin-bottom: 20px;
}

/* Footer */
.view-footer {
    font-size: 0.9em;
    color: #666;
    text-align: center;
}

/* Buttons */
.dismiss-btn {
    display: block;
    margin: 0 auto;
    padding: 10px 20px;
    font-size: 1em;
    cursor: pointer;
    text-align: center;
}

/* Responsive Adjustments */
@media screen and (max-width: 480px) {
    .view-modal {
        padding: 15px; /* Reduce padding on smaller screens */
        width: 95%;
    }

    .view-modal-title {
        font-size: 1.2em; /* Smaller font for very small screens */
    }

    .dismiss-btn {
        font-size: 0.9em; /* Adjust button size */
        padding: 8px 16px;
    }
}

/* Overlay */
.uni-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 100vh;                  /* fallback */
    min-height: 100dvh;                 /* modern browsers */
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    display: flex; 
    justify-content: center;
    align-items: center;
    overflow: auto; /* scroll if needed */
    padding-top: 10px
}

/* Modal Wrapper */
.uni-modal-wrapper {
    display: flex;
    justify-content: center;
    min-height: 100%;
}

/* Modal Content (no fixed width/height) */
.uni-modal-content {
    position: relative;
    display: inline-block;   /* shrink-wrap around content */
    background: #fff;
    max-width: 90%;         /* prevent oversized on large screens */
    max-height: 90%;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: auto;         /* scroll if the content is still too big */
}

/* Close Button */
.uni-modal-close {
    position: absolute;
    top: 0;
    right: 0;
    background-color: transparent;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    color: red;
    font-size: 24px;
}

/* X icon */
.uni-modal-close i {
    font-size: 24px;
    color: red;
}

/* Iframe - no fixed width/height here */
.uni-modal-iframe {
    display: block;
    border: none;
    border-radius: 8px;
    /* Let JS decide final width/height. 
    But keep max constraints to avoid modal going off-screen. */
    max-width: 100%;
    max-height: calc(100dvh - 20px);
}

/* Uni Modal CSS */
/* Modal Container */
.uni-modal-container {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column; /* Ensure child elements stack vertically */
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
    animation: fadeIn 0.3s ease-in-out;
    max-height: 100%;
    max-height: 100dvh;
}

/* Header Styles */
.uni-modal-header {
    background: #f1f1f1; /* Light grey header */
    padding: 20px;
    border-bottom: 1px solid #ddd;
    text-align: center;
}

.uni-modal-header h3 {
    font-size: 18px;
}

.uni-modal-header .close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #333;
}

/* Body Styles */
/* Custom Scrollbar for .uni-modal-body */
.uni-modal-body {
    padding: 15px;
    overflow-y: auto; /* Scrollable content */
    flex: 1; /* Body takes up the available space */
    scrollbar-width: thin; /* For Firefox */
    scrollbar-color: #d1d1d1 #ffffff; /* Scrollbar color and track color */
}

/* WebKit Browsers */
.uni-modal-body::-webkit-scrollbar {
    width: 8px; /* Width of the scrollbar */
    height: 8px; /* Height for horizontal scrollbar (optional) */
}

.uni-modal-body::-webkit-scrollbar-track {
    background: #ffffff; /* Background of the scrollbar track */
    border-radius: 4px;
}

.uni-modal-body::-webkit-scrollbar-thumb {
    background-color: #d1d1d1; /* Color of the scrollbar thumb */
    border-radius: 4px; /* Roundness */
    border: 2px solid #ffffff; /* Creates padding around the thumb */
}

.uni-modal-body::-webkit-scrollbar-thumb:hover {
    background-color: #b1b1b1; /* Darker shade when hovered */
}

@media (max-width: 768px) {
    .uni-modal-content {
        width: 100%;
        max-width:100%;
        margin: 0;
    }
    .uni-modal-body {
        padding: 10px;
    }
}

@media (max-width: 480px) {
    .uni-modal-body {
        padding: 5px;
    }
}

/* Footer Styles */
.uni-modal-footer {
    background: #f1f1f1;
    padding: 20px;
    display: flex;
    justify-content: center;
    border-top: 1px solid #ddd;
    gap: 10px;
    flex-shrink: 0; /* Prevent the footer from shrinking */
}

/* Info Button CSS */
.info-icon{
    font-size: 20px;
    cursor: pointer;
    margin-top: 50%;
}

/* Overlay */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 9999;
    display: none;
}

/* Overlay Close Button */
.overlay-close {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    z-index: 10000;
}

.overlay-close i {
    font-size: 24px;
    color: red;
}

/* Overlay Content */
.overlay-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
}

/* Info Button */
.ch-info-btn-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 35px;
    height: 40px;
    margin-left: 10px;
    cursor: pointer;
}

/* Hidden Info Icons (Initially Hidden) */
.hidden-info-icon {
    font-size: 18px;
    color: white;
    margin-left: 10px; /* Adjust spacing */
    margin-top: -3px;
    cursor: pointer;
    position: absolute;
    z-index: 10005; /* Ensures icons are above overlay */
    padding: 5px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
    display: none; /* Initially hidden */
}

/* Show icons only when overlay is active */
body.overlay-active .hidden-info-icon {
    display: block;
}

/* Prevent body scrolling when overlay is active */
body.overlay-active {
    overflow: hidden;
}

/* Ensure overlay doesn't scroll */
.overlay {
    position: fixed;
    overflow: hidden; /* Prevent internal scrolling */
}

/* Modal Styling */
.info-modal {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #ccc;
    padding: 15px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 10010; /* Above overlay */
    display: none; /* Initially hidden */
    max-width: 300px;
    border-radius: 5px;
}

.info-modal-body {
    padding: 5px;
}
.info-modal-body h3{
    margin: 0px;
    color: black;
    font-size: 1.5em;
}
.info-modal-body p{
    margin: 0px;
    color: black;
    font-size: 1em;
}

/* Modal Content */
.info-modal-content {
    position: relative;
    padding: 10px;
}

/* Close Button */
.info-modal-close {
    position: absolute;
    top: 5px;
    right: 10px;
    font-size: 18px;
    cursor: pointer;
    color: red;
}

/* Toast CSS */
#toast-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 10000;
}

.toast {
    background: white;
    color: #333;
    border-left: 5px solid black;
    border-radius: 4px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
    padding: 16px 20px 16px 16px;
    margin-top: 10px;
    min-width: 300px;
    max-width: 400px;
    font-family: sans-serif;
    animation: slideIn 0.3s ease;
    position: relative;
}

.toast .toast-title {
    font-weight: bold;
    margin-bottom: 5px;
}

.toast .toast-close {
    position: absolute;
    top: 8px;
    right: 10px;
    cursor: pointer;
    font-size: 18px;
    color: #888;
}
/* Background colors by type */
.toast-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.toast-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.toast-info {
    background-color: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

.toast-warning {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
}
  
@keyframes slideIn {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
}