
/* Components */
.container-flex {
	display: flex;
	flex-direction: row;
	width: 100%;
}
:root {
  --menu-height: 0px; /* Default when menu is missing */
}

.container-flex {
  margin-top: var(--menu-height);
}

main {
	width: 80%;
	flex: 2;
}

.container__main-content {
	padding: 40px;
	padding-top: 20px;
	position: relative;
}

/* File container */
.file__container {
	padding: 1rem;
	border: 1px dashed var(--border-main-clr);
	border-radius: var(--border-radius);
}

.file {
	width: 12.5rem;
	height: auto;
}

.container__heading {
	margin-bottom: 1rem;
}

/* Header */
.header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 1rem 1.5rem;
	background-color: var(--header-bg);
}



/* Breadcrumbs */
.breadcrumb {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.breadcrumb i {
	font-size: 1.25rem;
	/* 20px */
	color: var(--text-light);
	line-height: 1.25rem;
}

.breadcrumb__item {
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--text-light);
	text-decoration: none;
	line-height: 1.25rem;
	cursor: pointer;
}

.breadcrumb__item:not(.item--active):hover {
	cursor: pointer;
}

.item--active {
	font-weight: 600 !important; 
	color: var(--blue-clr) !important;
	cursor: pointer;
}

.app__link {
    text-decoration: none; 
}

.app__link.item--active {
    text-decoration: underline !important; 
    font-weight: 500 !important; 
	text-underline-offset: 4px;
}

/*------- Form -------*/

/* Filter */
.filter {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 0.9rem 4rem;
}

.filter__item {
	display: grid;
	align-items: center;
	grid-template-columns: 7.5rem 1fr;
	gap: 2rem 0.375rem;
	width: 100%;
}

.filter__item label,
.form__item label {
	font-size: 0.875rem;
	line-height: normal;
	font-weight: 500;
	color: var(--label-main-clr);
	overflow-wrap: break-word;
}

.filter__item ul li {
	padding: 8px 4px;
	font-size: 0.875rem;
	line-height: 1.25rem;

}

/* Form Components */

.input,
.select,
.textarea {
	border: 1px solid var(--border-main-clr);
	padding: 0.5rem;
	border-radius: 0.25rem;
	outline: none;
}

select {
	-webkit-appearance: none;
	-moz-appearance: none;
	line-height: normal;
	padding: 0.5rem 2rem 0.5rem 0.5rem;
}

.textarea:focus,
.input:focus,
.select:focus {
	outline: none;
	border: 1px solid var(--border-main-clr);
}

.select-wrapper {
	position: relative;
	display: inline-block;
}

.select-icon {
	position: absolute;
	pointer-events: none;
	z-index: 112;
	background-color: inherit;
	width: 1rem;
    right: 6px; 
    top: 60%;
    transform: translateY(-60%);
    cursor: pointer;
}

.select-icon i {
	color: var(--text-light);
	font-size: 1.125rem;
	line-height: 1.4;
}

.select__field option {
	font-size: 1rem;
	line-height: 1.5rem;
}

/* Input*/

input:focus,
select:focus,
textarea:focus {
	outline: none;
	border: 1px solid var(--blue-clr);
	box-shadow: 0px 0px 0px 3px rgba(0, 110, 255, 0.24), 0px 2px 4px 0px rgba(0, 0, 0, 0.16);
}

input:disabled {
	cursor: not-allowed;
	background-color: var(--disabled);
}

input[type="text"]:read-only,
input[type="email"]:read-only,
input[type="number"]:read-only {
	cursor: not-allowed;
	background-color: var(--disabled);
}

input[type="checkbox"]:disabled {
	cursor: not-allowed;
	background-color: var(--disabled);
}



/* Added 22.05.24 */

.input {
	position: relative;
	font: 13px Erply Ladna, sans-serif;
	font-size: 13px;
	line-height: 1.25rem;
	width: 100%;
	z-index: 5;
	padding: 9px 6px;
	border: 1px solid var(--border-main-clr);
	border-radius: var(--border-radius);
	background-color: var(--body);
	outline: none;
}

/* Select field with pill tags*/
.pill-select-wrapper {
    position: relative;
  z-index: 110;
  height: auto;
  display: flex;
  flex-wrap: wrap;
}

.pill-select-input {
    border: 1px solid var(--border-main-clr);
  position: relative;
  min-height: 40px;
  height: auto;
  cursor: pointer;
  padding: 9px 6px;
  width: 100%;
  z-index: 77;
  border-radius: var(--border-radius);
  outline: none;
  background-color: var(--body);
}

.pill-selected-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    bottom: 8px; 
    left: 8px;
    right: 8px; 
    padding: 0;
    pointer-events: none; /* Allows clicks to pass through to the input */
}

.pill-select {
    display: none;
    position: absolute;
    width: 100%;
    top: 100%;
    left: 0;
    background-color: white;
    border: 1px solid var(--border-main-clr);
    border-top: none;
    z-index: 2;
    max-height: 200px;
    overflow-y: auto;
}

.pill-selected-tag {
    background-color: var(--blue);
    color: white;
    border-radius: 20px;
    padding: 5px 10px;
    margin-right: 5px;
    font-size: 14px;
    cursor: pointer;
    pointer-events: auto; /* Enables clicking on the tag */
}

.pill-remove-tag {
    margin-left: 8px;
    cursor: pointer;
    color: rgba(29, 36, 51, 1);
}


/* Ensuring the wrapper and select do not show a focus outline */
.pill-select-input {
    outline: none; 
    width: 100%;  
}

.pill-select-input:focus {
    border: 1px solid var(--blue-clr);
	box-shadow: 0px 0px 0px 3px rgba(0, 110, 255, 0.24), 0px 2px 4px 0px rgba(0, 0, 0, 0.16);
}

/* Ensure no focus styles are applied to the container */
.pill-select-wrapper, .pill-select {
    outline: none; 
	box-shadow: none;
}

/* pills */
.pill-selected-tag {
	background-color: var(--blue);
	color: rgba(29, 36, 51, 1);
	border-radius: 20px;
	padding: 5px 10px;
	display: flex;
	align-items: center;
	margin-right: 5px;
	font-size: 14px;
	font-weight: 450;
	margin-bottom: 5px;
	position: absolute;
	left: 0;
	width: auto;
	margin: 4px;
	margin-top: 5px;
	height: 28px;
	z-index: 106;
}

/* custom select end*/

.checkbox,
.radio {
	margin-right: 0.5rem;
	cursor: pointer;
}

.form {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 0.9rem 4rem;
	width: 100%;
	max-width: 100%;
}


.form__item {
	display: grid;
	align-items: center;
	grid-template-columns: 7.5rem 1fr;
	gap: 2rem 0.375rem;
	width: 100%;
}

/* Layout for form header */

.form__actions {
	display: flex;
	gap: 10px;
}

.form__header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	color: var(--main-txt-clr);
	border-bottom: 1px solid var(--border-light-clr);
	margin-bottom: 2rem;
}

.form__header-grey {
	background-color: var(--header-bg);
}


.form__header h1, .form__header h2 {
	margin-top: 1rem;
	margin-bottom: 1rem;
}

.form__header-buttons {
	display: flex;
	gap: 0.6rem;
	align-items: center;
}

.item--checkbox {
	justify-self: start;
}

/*Date range, two fields same width as one regular*/

.date--range {
    display: flex;
    align-items: center;
    gap: 1rem; 
    width: 100%;
}

.date--range label {
    flex: 0 0 auto;
    width: 110px; 
    text-align: right;
}

.date--range input {
    flex-grow: 1; 
    min-width: 160px; 
    max-width: 100%;
}

/*Fields narrow, even smaller than date range, in table header for example*/

.fields--narrow {
    display: flex;
    align-items: center;
    /*gap: 0.5rem;*/
    width: 100%;
    max-width: 12rem; 
}

.fields--narrow label {
    flex: 0 0 auto;
    text-align: right;
    white-space: nowrap; 
}

/*Regular fields*/


/*Regular fields*/

.field {
	padding: 9px 6px;
	border: 1px solid var(--border-main-clr);
	border-radius: var(--border-radius);
	background-color: var(--body);
	outline: none;
}

.field__input {
	width: 100%;
	min-width: 12rem;
	
}

.input--transparent {
	width: 100%;
	border: none;
	background-color: initial;
	padding: 4px 6px;
	border-radius: var(--border-radius);
}

.input--dashed {
	width: 100%;
	border: 1px dashed var(--border-sec-clr);
	background-color: initial;
	padding: 4px 6px;
	border-radius: var(--border-radius);
}


/* Select */

.select {
	position: relative;
	border-radius: var(--border-radius);
	display: inline-block;
	z-index: 4; /*4.06*/
	padding: 0;
}

.select__field {
	padding: 9px 6px;
	border-radius: var(--border-radius);
	background-color: var(--body);
	cursor: pointer;
	position: relative;
	z-index: 1; /*4.06*/
	border: 1px solid var(--border-main-clr);
	outline: none;
	width: 100%;
	min-width: 12rem;
}

/* The dropdown content is hidden until the field is clicked */
.select__content {
	display: none;
	position: absolute;
	width: calc(100% + 1rem);
	top: -0.5rem;
	left: -0.5rem;
	right: 0;
	padding: 3rem 0.5rem 0.5rem 0.5rem;
	background-color: var(--body);
	border: 1px solid var(--border-main-clr);
	border-radius: var(--border-radius);
	box-shadow: 0px 4px 12px rgba(38, 40, 42, 0.12);
}

.select__option {
	padding: 9px 6px;
	font-size: 0.875rem;
	line-height: 1.25rem;
}

.select__option:hover,
.select__option:focus,
.dropdown ul li:focus,
.dropdown ul li:hover {
	background-color: var(--table-row-hover);
	cursor: pointer;
}

/* Only show the dropdown content when active */
.select.active .select__content {
	display: block;
}

/*Multiselect*/

/* Dropdowns and Search */
.search--input,
.dropdown--input {
	width: 100%;
	border: 1px solid var(--border-main-clr);
	position: relative;
	min-height: 38px;
	height: auto;
	cursor: pointer;
	padding: 9px 6px;
	z-index: 12;
	z-index: 8;
}

.search,
.dropdown {
	position: absolute;
	top: -0.5rem;
	left: -0.5rem;
	width: calc(100% + 1rem);
	height: auto;
	padding: 3rem 0.5rem 0.5rem 0.5rem;
	background-color: var(--body);
	border: 1px solid var(--border-main-clr);
	border-radius: var(--border-radius);
	box-shadow: 0px 4px 12px rgba(38, 40, 42, 0.12);
}

/*
.search--input:focus + .select-icon + .search {
  display: block;
  z-index: 10; 
}*/

div:has(.search--input):focus-within > .search {
  display: block;
  z-index: 99; 
}

div:has(.search--input):focus-within > .field__input {
  z-index: 100 !important; 
}

.form__item:has(.search--input:focus) {
  z-index: 99;
}

.dropdown {
  z-index: 1; 
}

/* FIX FOR Z issue */
/*active field icon */
.flex.relative:focus-within .select-icon {
    z-index: 100;
}

/* icon inactive fields */
.select-icon {
    z-index: 8;
}

.multiselect-with-pills .dropdown {
	padding: 0.5rem;
}

/* Can be modified to possibly design the multiselect to be more fitting and universal */
.dropdown__label {
	line-height: 1.25rem;
    width: 100%; 
}
/* ADDED FOR SELECT WITH PILLS */
.dropdown ul {
    position: relative; 
}

.multiselect-row__select-all {
	border-bottom: 1px dashed var(--border-main-clr);
}

.multiselect-row__select-all label {
	font-weight: 700;
}

.search ul,
.dropdown ul {
	padding: 0;
	list-style: none;
	max-height: 200px;
	overflow-y: scroll;
}

.search li {
	display: flex;
	flex-direction: column;
	padding: 0.25rem;
	font-size: 0.875rem;
	line-height: 1.25rem;
}

.dropdown li {
	display: flex;
	flex-direction: row;
	gap: 0.5rem;
}

.search li:hover {
	background-color: var(--table-row-hover);
	cursor: pointer;
}

.search li span {
	font-size: 0.875rem;
	color: var(--text-light);
}
/* Search field with combined button */
/* Search field container */
.search-field-container {
	align-items: center;
	margin-bottom: 1rem;
}

/* Base search field */
.search-field {
	position: relative;
	display: flex;
	align-items: center;
	width: 100%;
}

.search-field__input {
	width: 100%;
	padding: 9px 10px;
	border: 1px solid var(--border-main-clr);
	font-size: 16px;
	transition: border-color 0.3s;
	box-sizing: border-box;
	background-color: var(--body);
}

/* Modifier for default border radius */
.search-field--default .search-field__input {
	border-radius: 4px;
}

.search-field--default .search-field__button {
	border-radius: 0 4px 4px 0;
}

/* Modifier for rounded corners */
.search-field--rounded .search-field__input {
	border-radius: 99px;
}

.search-field--rounded .search-field__button {
	border-radius: 0 99px 99px 0;
}

.search-field__input:focus {
	border-color: var(--blue-clr);
	outline: none;
}

.search-field__button {
	position: absolute;
	right: 0;
	top: 0;
	bottom: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 60px;
	border: none;
	background: var(--btn-purple);
	cursor: pointer;
	outline: none;
	z-index: 8; /* Maria testing as per chat 02.07 (was 6) */
	border-left: 1px solid var(--border-main-clr);
	transition: background-color 0.3s;
}

.search-field__button:hover {
	background-color: rgba(139, 92, 233, 1);
}

.search-field__button .icon-Search {
	color: #fff;
	font-size: 24px;
	line-height: 1;
	display: inline-block;
}

/* Additional hidden input style */
.hidden--input {
	display: none;
}



/* Style multiselect */

.multiselect-wrapper {
	position: relative;
	z-index: 110;
	height: auto;
	display: flex;
	flex-wrap: wrap;
}

.multiselect-tags {
	position: absolute;
	top: auto;
	left: 0;
	right: auto;
	align-items: center;
	gap: 5px;
	z-index: 600;
	display: flex;
	flex-wrap: wrap;
	padding-top: 3px;
	padding-bottom: 3px;
	margin-left: 8px;
	margin-right: 8px;
	cursor: pointer;
	height: 100%;
}

.selected-multiselect-tag {
	background-color: var(--blue);
	color: rgba(29, 36, 51, 1);
	border-radius: 20px;
	padding: 4px 6px;
	display: flex;
	align-items: center;
	font-size: 15px;
	font-weight: 450;
	width: auto;
	margin: 0;
	margin-right: 2px;
	height: 24px;
	z-index: 106;
}

.remove-tag {
	cursor: pointer;
	margin-left: 5px;
	color: rgba(29, 36, 51, 1);
	font-size: 16px;
	font-weight: 400;
}

.field .dropdown--input {
	z-index: 105;
	width: 100%;
	flex-grow: 1;
	max-height: 300px;
	overflow-y: auto;
}

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

	.filter__item label {
		width: 100%;
		text-align: left;
	}

	.filter__item .dropdown--input {
		width: 100%;
	}

	.multiselect-tags {
		margin-right: 20px;
		margin-left: 10px;
	}

	.selected-multiselect-tag {
		font-size: 12px;
		height: 20px;
	}

	.dropdown--input {
		padding-bottom: 20px;

	}
}

/* Modifier for label in front */

.form__label-front {
	min-width: 600px;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 0.7rem 4rem;
	margin-bottom: 2.5rem;
}

.form__label-front .form__item {
	display: grid;
	grid-template-columns: 120px 1fr;
	gap: 2rem 0rem;
}

/* Modifier for label above */

.form__label-above {

	display: grid;

	gap: 0.7rem 4rem;
	margin-top: 0.5rem;
}

.form__label-above .form__item {
	gap: 0.5rem;
	display: grid;
	grid-template-columns: 1fr;

}

.form__label-long {
	max-width: 600px;
}



/* Textarea*/

.textarea {
	padding: 1rem;
	border: 1px solid var(--border-main-clr);
	border-radius: var(--border-radius);
	color: var(--text-light);
	background-color: var(--yellow-clr);
	resize: vertical;
	min-height: 3.75rem;
	width: 100%;
}

.textarea:focus {
	border: 1px solid var(--dark-yellow-clr);
	outline: 1px solid var(--dark-yellow-clr);
	background-color: var(--light-yellow-clr);
}

.textarea--white {
	border-radius: var(--border-radius);
	border: 1px solid var(--border-main-clr);
	padding: 1rem;
	resize: vertical;
	transition: background-color 0.3s, border-color 0.3s;
	color: var(--main-txt-clr);
	background-color: var(--textarea-bg);
	min-height: 3.75rem;
	width: 100%;
}

.textarea--white:focus,
.textarea--white:not(:placeholder-shown) {
	background-color: var(--textarea-bg);
}

/*19.09.24*/

/* Styles for the combined input-select-textarea class */

.combined-input-select-textarea {
	display: flex;
	flex-direction: column;
	position: relative;
}

/* Styles for when the label is above the select and textarea */
.form__label-above .combined-input-select-textarea .custom-select-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    right: 2px; /*Not sure why it moved, added for now*/
    z-index: 2;
    margin-top: 27px;
    border: none;
}

/* Styles for when the label is in front of the select and textarea */
.label-in-front .combined-input-select-textarea .custom-select-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    right: 2px; /*Not sure why it moved, added for now*/
    z-index: 2;
    margin-top: 2px;
    border: none;
}

.combined-select {
	border: none;
	border-bottom: 1px solid var(--border-main-clr);
	margin-left: 1px;
	margin-right: 1px;
	padding: 14px 16px;
	padding-right: 30px;
	border-radius: 8px 8px 0 0;
	background-color: var(--header-bg);
	appearance: none;
	box-sizing: border-box;
	font-size: 1rem;
}

.combined-input-select-textarea .combined-textarea {
	border: 1px solid var(--border-main-clr);
	padding: 60px 10px 10px 10px;
	border-radius: 8px;
	background-color: var(--textarea-bg);
	font-size: 1rem;
	resize: vertical;
}


.combined-select:focus
{
	outline: none;
	border: none;


	box-shadow: 0px 0px 0px 3px rgba(0, 110, 255, 0.24), 0px 2px 4px 0px rgba(0, 0, 0, 0.16);
}

.combined-input-select-textarea:focus-within .combined-textarea {
	border: 1px solid var(--blue-clr);
	box-shadow: 0px 0px 0px 3px rgba(0, 110, 255, 0.24), 0px 2px 4px 0px rgba(0, 0, 0, 0.16);
}

.combined-textarea:focus {
	outline: none;
	border: 1px solid var(--blue-clr);
	box-shadow: 0px 0px 0px 3px rgba(0, 110, 255, 0.24), 0px 2px 4px 0px rgba(0, 0, 0, 0.16);
}


/*Swap fields*/

.swap--fields {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 5px;
    position: relative;
}

.swap--fields .input {
    padding: 10px 20px;
    border: 1px solid var(--border-main-clr);
    background: var(--body);
    width: 100%;
    z-index: 1;

}

/* Button styling */
.swap--fields .button {
    width: 30px;
    height: 30px;
    border-radius: 50%;  /* Make the button round */
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--body);
    border-left: 1px solid var(--border-main-clr);
    border-right: 1px solid var(--border-main-clr);
    border-top: none;
    border-bottom: none;
    margin-left: -15px;
    margin-right: -15px;
    z-index: 2;
}

/* Icon inside the button */
.swap--fields .button--swap i {
    font-size: 18px;
    color: var(--label-main-clr);
}


/* Larger version */
.swap--fields--large .input {
    padding: 16px 30px; 
    font-size: 1em;   
}

.swap--fields--large .button {
    width: 40px;   
    height: 40px; 
    margin-left: -20px; 
    margin-right: -20px;
}

.swap--fields--large .button--swap i {
    font-size: 24px; /* Increased icon size */
}

.swap--fields--large .input:focus {
    border: 2px solid var(--blue-clr); /* Thicker border on focus */
}



/* Default input focus effect */
.swap--fields .input:focus {
    border: 1px solid var(--blue-clr);
}

/* When the left input is focused, apply focus styles to the left side of the button */
.left-focused {
    border-left-color: var(--blue-clr) !important;
    
	box-shadow: inset 3px 0 2px rgba(0, 110, 255, 0.3); /* Right highlight */
}

/* When the right input is focused, apply focus styles to the right side of the button */
.right-focused {
    border-right-color: var(--blue-clr) !important;
    box-shadow: inset -3px 0 2px rgba(0, 110, 255, 0.3); /* Left highlight */
}


/* COMPACT FORM*/

.form.compact {
	gap: 0.9rem 2rem;
}

.form__item.compact {
    display: block;
    width: 100%;
    margin: 0px 0;
}

.form__item.compact input::placeholder  {
    text-transform: uppercase;
}

.field__input.compact {
    width: 100%;
    padding: 8px;
}

.select-wrapper.compact,
.custom-select-wrapper.compact {
    display: block;
}

.select__field.compact,
.custom-select.compact {
    width: 100%;
}

.select__field.compact option:disabled {
    color: #898a8b; 
}

/* gray color to the select field when the first option is selected */
.select__field.compact:has(option:checked[value="1"]) {
    color: #898a8b; 
}

/* FORM VALIDATION ERROR STATE */
/* Error state for the input field */
.form__item--error .field__input {
    border: 1px solid rgb(204, 46, 53); 
    border-radius: 4px; 
}

/* Focus state for input field with error */
.form__item--error .field__input:focus {
    outline: none;
    border: 1px solid rgb(204, 46, 53); 
    box-shadow: 0px 0px 0px 3px rgba(204, 46, 53, 0.24), 0px 2px 4px 0px rgba(0, 0, 0, 0.16);
}

.form__item--error {
    row-gap: 0rem !important; /* Only affects vertical spacing */
}


/* Error message container */
.form__error-message {
    margin-bottom: 8px; 
    text-align: left;
	font-style: normal;
	font-weight: 450;
	line-height: 16px;
	letter-spacing: -0.052px;
	display: flex;
    align-items: center;
    color: rgb(204, 46, 53);
    font-size: 14px;
    padding-left: 2px;
    gap: 4px;
    justify-content: flex-start; 
    width: 100%; 
	grid-column: 1 / -1;
	margin-top: 4px;
}

/* Error message icon */
.form__error-message i {
    font-size: 22px; 
    color: rgb(204, 46, 53);
    flex-shrink: 0;
    vertical-align: middle;
	font-weight: 450;
}

.select-wrapper {
    display: flex;
    flex-direction: column;
    position: relative;
    width: 100%;
    gap: 4px; 
}

.select-wrapper:has(.form__error-message) .select-icon {
    top: 25px; 
}
.select-wrapper:has(.form__error-message) .field__input {
	border: 1px solid rgb(204, 46, 53); 
}

/* IMAGE UPLOAD FIELD */

.upload-field {
	border: 2px dashed var(--border-main-clr);
	padding: 20px;
	text-align: center;
	position: relative;
	border-radius: 8px;
	max-width: 550px;
	margin: 0 auto;
	cursor: pointer;
	transition: border-color 0.3s ease;
	width: 100%;
}

.upload-field.dragover {
	border-color: var(--border-sec-clr);
	background-color: var(--table-row-hover);
}

.upload-field__input {
	display: none;
}

.upload-field__label {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}

.upload-field__icon i {
	font-size: 28px;
	color: var(--icon-main-clr);
}

.upload-field__text {
	font-size: 14px;
	color: var(--main-txt-clr);
}

.upload-field__link {
	color: #007bff;
	cursor: pointer;
}

.upload-field__size {
	font-size: 12px;
	color: #777;
	margin-top: 5px;
}

.upload-field:hover {
	border-color: var(--border-sec-clr);
	background-color: var(--table-row-hover);
}


/* Smaller upload field */
.upload-field--small {
	padding: 16px;
	max-width: 200px;
}

.upload-field--small .upload-field__icon i {
	font-size: 20px;
}

.upload-field--small .upload-field__text {
	font-size: 14px;
}

.upload-field--small .upload-field__size {
	font-size: 14px;
}

.upload-field--small #previewFileNameSmall {
	display: inline-block;
	max-width: 120px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.upload-field--small #previewWrapperSmall {
	display: none;
	align-items: center;
	gap: 10px;
	font-size: 10px;
}

/*Horizontal upload field*/

.upload-field--horizontal {
	padding: 8px;
	width: auto;
	display: flex;
	align-items: center;
	overflow: hidden;
	justify-content: center;
	min-width: 400px;

}

.upload-field--horizontal .upload-field__text {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-grow: 1;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;

}

.upload-field--horizontal .upload-field__icon {
	font-size: 20px;
	margin-top: 8px;
	color: var(--icon-main-clr);
}

.upload-field--horizontal .upload-field__link {
	margin-right: 10px;
}

.upload-field--horizontal .previewWrapper {
	margin-top: 0;
	margin-right: 6px;
	padding: 0 4px;
}

.previewFileName, .removeImageButton i {
	color: #0E0023;
	font-size: 12px;
}

.visible {
	display: inline-block;
}

.upload-field__preview .previewWrapper {
	display: none;
	align-items: center;
	background-color: #dcf9ff;
	border-radius: 4px;
	width: auto;
	justify-content: center;
}

.upload-field__preview .previewWrapper.visible {
	display: flex;
}

.removeImageButton {
	display: none;
}

.removeImageButton.visible {
	display: inline-block;
}



/*Login Fields*/

.form__group--floating {
	position: relative;
	margin-bottom: 20px;
	width: 100%;
}

.form--floating {
	width: 100%;
	/*max-width: 400px;*/
	align-items: center;
	padding: 20px;
	padding-left: 20px;
	padding-right: 20px;
}

.form-container {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
}

.login-form {
	width: 400px;
	border-radius: 9px;
	border: 1px solid var(--border-main-clr);
	background: var(--body);
}

.form__input--floating {
	border: 1px solid var(--border-main-clr);
	border-radius: 4px;
	outline: none;
	transition: background-color 0.3s, border-color 0.3s;
	padding: 30px 20px 14px;
	height: 60px;
	background-color: var(--body);
	position: relative;
	margin: 0;
	overflow: hidden;
	cursor: pointer;
	width: 100%;
	min-width: 340px;
}

/* input focused or filled */
.form__input--floating:focus,
.form__input--floating:not(:placeholder-shown) {
	background-color: var(--body);
	padding: 30px 20px 14px;
}

.form__input--floating:focus+.form__label--floating,
.form__input--floating:not(:placeholder-shown)+.form__label--floating {
	transform: translateY(-8px) scale(0.9);
	font-weight: 550;
	font-size: 15px;
}

/* Floating label styles */
.form__label--floating {
	position: absolute;
	left: 14px;
	top: 16px;
	background: var(--body);
	transition: transform 0.3s, color 0.3s;
	padding: 0 4px;
	transform-origin: left top;
	pointer-events: none;
	background-color: transparent;
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--field-label-clr);
}

/* Textarea styles adjusted for floating label */
.form__textarea--floating {
	width: 100%;
	border: 1px solid var(--border-main-clr);
	border-radius: 4px;
	min-height: 120px;
	padding: 1rem;
	resize: vertical;
	transition: background-color 0.3s, border-color 0.3s;
	color: var(--text-light);
	background-color: var(--body);
}

.form__textarea--floating:focus,
.form__textarea--floating:not(:placeholder-shown) {
	background-color: var(--body);

}

/*Login button*/
.login__btn {
	display: block;
	padding: 12px;
	border-radius: 4px;
	font-weight: 600;
	border: none;
	width: 100%;
	cursor: pointer;
	text-align: center;
	justify-content: center;

}

.login__btn-wrapper {
	justify-content: center;
	align-items: center;
	display: flex;
}

.login__btn--primary {
	background-color: var(--blue-clr);
	cursor: pointer;
	color: white;
}

.login__btn--primary:hover {
	background-color: #1562CE;
}

.login__btn--disabled,
.login__btn--disabled:hover {
	background: rgba(213, 215, 218, 1);
	color: rgba(28, 30, 33, 0.45);
	cursor: not-allowed;
}


/* Header */

.login-form .form__header {
	padding: 30px;
	margin-top: 0;
	border-top-left-radius: 9px;
	border-top-right-radius: 9px;
	position: relative;
	border: none;
	border-bottom: 1px solid var(--border-main-clr);
	overflow: hidden;
}

.form__header h2 {
	z-index: 3;
}

/* Login Tabs */

.login-form .tabs {
	display: flex;
	justify-content: space-between;
	width: 100%;
	border-bottom: none;
	margin-bottom: 0;
	padding: 0;
	margin: 0;
	padding-left: 20px;
	padding-right: 20px;
	border: none;
}

.login-form .tabs .tabs__item {
	flex: 1;
	text-align: center;
	margin: 0;
	width: auto;
	z-index: 6;
	border: 1px solid var(--border-main-clr);
	padding: 16px;
	border-radius: 4px;
	color: var(--field-label-clr);
}

.login-form .tabs .tabs__item:hover {
	border: none;
	padding: 16px;
	border-radius: 4px;
	color: var(--blue-clr);
}

.login-form .tabs .tabs__item .item--active {
	border-bottom: 1px solid var(--blue-clr) !important;
	border: none;

}

/* Login button purple version */
.login__btn--purple {
	background-color: #9f70fd;
	border-radius: 50px;
	width: 250px;
	color: white;
	cursor: pointer;
}

.login__btn--purple:hover {
	background-color: rgba(139, 92, 233, 1);
}

/*Footer*/
.form__footer {
	margin-top: 20px;
	padding: 30px;
	justify-content: center;
	align-items: center;
	text-align: center;
	border-bottom-left-radius: 9px;
	border-bottom-right-radius: 9px;
	border: none;
	border-top: 1px solid var(--border-main-clr);
}

/*Terms checkbox*/

.login-form .item--checkbox {
	justify-content: center;
	align-items: center;
	display: flex;
	gap: 16px;
}

/* Quantity counter*/

.quantity-counter {
	display: flex;
	align-items: center;
	justify-content: left;

}

.quantity-counter__button {
	background-color: var(--body);
	color: var(--text-light);
	width: 30px;
	height: 30px;
	border-radius: 50%;
	display: flex;
	justify-content: center;
	align-items: center;
	line-height: 1;
	cursor: pointer;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	margin: 8px;

}

.quantity-counter__input {
	width: 30px;
	height: 30px;
	text-align: center;
	border: 1px solid transparent;
	border-radius: 4px;
	margin-right: 8px;
	margin-left: 8px;
	color: var(--label-main-clr);
	font-size: 0.875rem;
	font-weight: 500;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	line-height: 1.2;
	margin: 0;
	background-color: var(--border-main-clr);

}

.quantity-counter__input:focus {
	outline: none;
}

.quantity-counter__button i {
	font-size: 16px;
}

.quantity-counter__button:hover {
	border: 1px solid var(--border-main-clr);
}

.quantity-counter__button:disabled {
	cursor: not-allowed;
	opacity: 0.5;
}

.quantity-counter__input::-webkit-inner-spin-button,
.quantity-counter__input::-webkit-outer-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.quantity-counter__input[type=number] {
	-moz-appearance: textfield;
}

/* Quantity counter inside pill */

.quantity-counter--pill {
	justify-content: space-between;
	border: 1px solid var(--border-main-clr);
	background-color: var(--body);
	border-radius: 20px;
	padding: 5px;
	max-width: 140px;
}

.quantity-counter--pill .quantity-counter__button,
.quantity-counter--pill .quantity-counter__input {
	border: none;
	margin: 0;
}

.quantity-counter--pill .quantity-counter__button:hover {
	border: 1px solid var(--border-main-clr);
	background-color: var(--body);
}

.quantity-counter--pill .quantity-counter__input {
	border-radius: 4px;
}

.quantity-counter--pill .quantity-counter__button {
	margin: 0 2px;
}


@media (max-width: 768px) {

	/*Form*/

	.form {
		grid-template-columns: 1fr;
		gap: 0.9rem;
	}

	.form__item,
	.form__label-front .form__item {
		grid-template-columns: 1fr;
		gap: 0.5rem;
	}

	.form__label-front .form__item {
		margin-bottom: 1rem;
	}

	.form__label-front .form__item input {
		width: calc(100% - 300px);
	}

	.field,
	.textarea {
		padding: 0.5rem;
	}

	.form__item label,
	.field__input,
	.textarea {
		font-size: smaller;
	}

	.form__label-front,
	.form__label-above {
		display: grid;
		grid-template-columns: 1fr;
		gap: 0.5rem;

	}
	
	.date--range {
		flex-direction: column;
		gap: 1rem;
	}
	
	.field__input {
		min-width: initial;
		width: 100%;
	}

}

/* CHECKBOX */

/* Hides tnative checkbox visually, remains accessible */
.control input[type="checkbox"] {
	opacity: 0;
	position: absolute;
	left: 0;
	width: 1px;
	height: 1px;
	margin: -1px;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	overflow: hidden;
	z-index: -1;
}

.item--checkbox label {
	margin-top: 8px;
	padding-left: 40px;
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--label-main-clr);
}

/* General styling for checkbox labels */

.control {
	display: block;
	position: relative;
	cursor: pointer;
	font-size: 18px;
}

.control__indicator {
	position: absolute;
	top: 0;
	left: 0;
	height: 18px;
	width: 18px;
	background: var(--border-main-clr);
	border-radius: 4px;
	cursor: pointer;
}

.control:hover .control__indicator,
.control input:focus+.control__indicator {
	background: #CCCCCC;
}

.control input:checked+.control__indicator {
	background: var(--btn-purple);
}

/* Disabled state */
.control input:disabled+.control__indicator,
.control input:disabled:hover+.control__indicator {
	background: #E6E6E6;
	opacity: 0.6;
	cursor: not-allowed;
}

.control input:disabled {
	cursor: not-allowed;
}

/* Custom checkmark*/
.control__indicator:after {
	content: '';
	position: absolute;
	display: none;
	left: 7px;
	top: 2px;
	width: 3px;
	height: 9px;
	border: solid white;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

.control input:checked+.control__indicator:after {
	display: block;
}

.control--checkbox input:disabled~.control__indicator:after {
	border-color: #7B7B7B;
}

/* Targeting labels of disabled checkboxes specifically */
.control.control--checkbox.disabled {
	color: #888888;
}

.control.control--checkbox input:disabled+.control__indicator+label {
	color: #888888;

}

/*NEW CLASS FOR CHECKMARK AND LABEL IN OWN BLOCKS*/


.extra-checkbox-class .checkbox-container {
    position: relative;
    padding-left: 0;
	
}

.extra-checkbox-class .control--checkbox {
    opacity: 0;
    position: absolute;
    width: 100%; 
    height: 100%;
    cursor: pointer;
    z-index: 2; 
}

.extra-checkbox-class .control__indicator {
    position: relative; 
    width: 18px;
    height: 18px;
    background-color: var(--border-main-clr);;
    border-radius: 4px;
    cursor: pointer;
    z-index: 1; 
}

.extra-checkbox-class .control__indicator:hover {
	background-color: #CCCCCC;
}

.extra-checkbox-class .control__indicator:after {
    content: '';
    position: absolute;
    display: none;
    left: 7px;
    top: 2px;
    width: 3px;
    height: 9px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
	background-color: var(--btn-purple);
}

.extra-checkbox-class .control--checkbox:checked + .control__indicator:after {
    display: block;
}

.extra-checkbox-class .control:hover .control__indicator,
.extra-checkbox-class .control input:focus + .control__indicator {
    background: #CCCCCC;
}

.extra-checkbox-class .checkbox-label {
    display: block; 
    margin-bottom: 8px; 
	padding-left: 0px;
}

.extra-checkbox-class .control--checkbox:checked + .control__indicator {
    background-color: var(--btn-purple); 
}

/*CENTERED CHECKBOX*/

.centered-checkbox .checkbox-container {
    display: flex;
    justify-content: center; 
    align-items: center; 
}

.centered-checkbox .control--checkbox {
    position: absolute;
    width: 100%; 
    height: 100%; 
    opacity: 0;
    z-index: 2; 
}

.checkbox-inline-center {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

/* RADIO */
.control input[type="radio"] {
	opacity: 0;
	position: absolute;
	left: 0;
	width: 1px;
	height: 1px;
	margin: -1px;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	overflow: hidden;
	z-index: -1;
}

.item--radio label {
	margin-top: 8px;
	padding-left: 40px;
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--label-main-clr);
}

/* General styling for radio labels */
.control--radio {
	display: block;
	position: relative;
	cursor: pointer;
	font-size: 18px;
}

.control--radio .control__indicator {
	position: absolute;
	top: 0;
	left: 0;
	height: 18px;
	width: 18px;
	background: var(--border-main-clr);
	border-radius: 50%;
	cursor: pointer;
}

.control--radio:hover .control__indicator,
.control--radio input:focus+.control__indicator {
	background: #CCCCCC;
}

.control--radio input:checked+.control__indicator {
	background: var(--btn-purple);
}

/* Disabled state */
.control--radio input:disabled+.control__indicator,
.control--radio input:disabled:hover+.control__indicator {
	background: #E6E6E6;
	opacity: 0.6;
	cursor: not-allowed;
}

.control--radio input:disabled {
	cursor: not-allowed;
}

/* Custom radio checkmark */
.control--radio .control__indicator:after {
	content: '';
	position: absolute;
	display: none;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: white;
}

.control--radio input:checked+.control__indicator:after {
	display: block;
}

.control--radio input:disabled:checked+.control__indicator:after {
	display: block;
}

/* Labels of disabled radios */
.control--radio.disabled {
	color: #888888;
}

.control--radio input:disabled+.control__indicator+label {
	color: #888888;
}

/* Tabs */

.tabs {
	padding-top: 1rem;
	display: flex;
	gap: 1rem;
	border-bottom: 1px solid var(--border-main-clr);
	padding-left: 1.5rem;
	flex-wrap: wrap;

}

.tabs__start {
	justify-content: flex-start;
}

.tabs__end {
	justify-content: flex-end;
}

.tabs__item {
	position: relative;
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--text-light);
	padding-bottom: 1rem;
	justify-content: center;
	text-decoration: none;
}

.tabs__item::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 0.125rem;
	background-color: currentColor;
	transform: scaleX(0);
	transform-origin: bottom right;
	transition: transform 0.2s ease-out;
}

.tabs__item:hover {
	color: var(--link-main-clr);
}

/* Hover state */
.tabs__item:hover::after {
	color: var(--link-main-clr);
	transform: scaleX(1);
	transform-origin: bottom left;
}

/**
 * Tabs on desktop, accordion on mobile
*/

label.tabs__item {
	order: 1;
	display: block;
	padding: 1rem 2rem;
	font-weight: bold;
	transition: background ease 0.2s;
	cursor: pointer;
}

label.tabs__item::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 0.125rem;
	background-color: currentColor;
	transform: scaleX(0);
	transform-origin: bottom right;
	transition: transform 0.2s ease-out;
}

label.tabs__item:hover {
	color: var(--link-main-clr);

}

/* Hover state */
.tabs__label:hover::after {
	color: var(--link-main-clr);
	transform: scaleX(1);
	transform-origin: bottom left;
}


.tabs .tab {
	order: 99;
	flex-grow: 1;
	width: 100%;
	display: none;
	padding: 1rem;
	background-color: var(--body);
}


.tabs input[type="radio"] {
	display: none;
}

.tabs input[type="radio"]:checked+label {
	background-color: var(--body);
	color: var(--blue-clr)
}

.tabs input[type="radio"]:checked+label+.tab {
	display: block;
}

@media (max-width: 45em) {

	.tabs .tab,
	label.tabs__item  {
		order: initial;
	}

	label.tabs__item  {
		width: 100%;
		margin-right: 0;
		border-top: 1px solid #ccc;
		padding-top: 1rem;
		display: flex;
		align-items: center;
		justify-content: center;
		border: 1px solid var(--border-main-clr);
		border-radius: var(--border-radius);
		cursor: pointer;
	}

	/* Remove border accordion version */
    .tabs:has(label.tabs__item) {
    border-bottom: none;
}
}
@media (max-width: 768px){
	.tabs {
	gap: 0.8rem;
	padding-left: 1rem;
	}
}

/* Base Styles */
.accordion__container {
	display: flex;
	flex-direction: column;
}

.accordion__label {
	padding: 1rem 2rem;
	cursor: pointer;
	font-weight: bold;
	transition: background ease 0.2s;
	border-top: 1px solid #ccc;
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	border: 1px solid var(--border-main-clr);
	border-radius: var(--border-radius);
}

.accordion__content {
	padding: 1rem;
	background-color: var(--body);
	display: none;
}

.accordion__input {
	display: none;
}

.accordion__input:checked+.accordion__label {
	background-color: var(--body);
}

.accordion__input:checked+.accordion__label+.accordion__content {
	display: block;
}

/* Reset rotation when any accordion input is not checked */
.accordion__container .accordion__input:not(:checked) + .accordion__label .icon-Chevron-Down {
    transform: rotate(0deg);
}

/* Rotate the icon when the associated input is checked */
.accordion__container .accordion__input:checked + .accordion__label .icon-Chevron-Down {
    transform: rotate(180deg);
}

/* Ensure transitions apply to the chevron icon */
.accordion__label .icon-Chevron-Down {
    transition: transform 0.3s ease;
}

/* Responsive Adjustments */
@media (max-width: 45em) {
	.accordion__label {
		width: 100%;
	}
}


/* Accordion 

.accordion__header {
 display: flex;
 justify-content: space-between;
 align-items: center;
 width: 100%;
 padding: 1rem;
 border: 1px solid var(--border-main-clr);
 border-radius: var(--border-radius);

}

/* Show/hide filter 
.accordion__toggle {
 display: flex;
 justify-content: center;
 padding: 1rem;
 border: 1px solid var(--border-main-clr);
 border-radius: var(--border-radius);
}

/* Table */
/* Outer Container for Tables */

.table__container {
	display: block;
	max-height: 800px;
	overflow-y: auto;
	border: 1px solid var(--border-main-clr);
	border-radius: 0 0 0.25rem 0.25rem;
	padding: 0;
	background-color: var(--body);
	width: 100%;
}

/* Flex Table Styles */
.table__flex {
	display: block;
	max-height: 800px;
	overflow-y: auto;
	border: 1px solid var(--border-main-clr);
	border-radius: 0 0 0.25rem 0.25rem;
	padding: 0;
	background-color: var(--body);
	width: 100%;

}

.table__container .table__header  {
	display: flex;
	white-space: nowrap;
}

.table__filter {
    display: flex;
    flex-direction: row;
    align-items: center; 
    flex-wrap: nowrap; 
}

.table__head {
	background-color: var(--table-head-bg);
	border-bottom: 1px solid var(--border-sec-clr);
	border-radius: 0;
	position: sticky;
	top: 0;
	z-index: 1;
	font-weight: 500;
	font-size: .875rem;
}

.table__header {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.5rem 1.5rem;
	align-items: center;
}

.table__title {
	line-height: 1;
}

.table__row {
	display: flex;
	width: 100%;
}

.table__cell {
	display: flex;
	align-items: center;
	flex-grow: 1;
	flex-shrink: 0;
	flex-basis: 0;
	min-width: 50px;
	/*overflow-x: hidden;*/ /*Removed to fix z-index issue in table with inputs 02.01.25*/
}

.search--cell{
	position: sticky;
    z-index: 111 !important; 
}

.table__cell select {
	cursor: pointer;
}
.table__cell .field__input {
	min-width: unset;
}
/* remove border from last row*/
.table__body .table__row:last-child {
	border-bottom: none;
}

.table__body .table__row:hover {
	background-color: var(--table-row-hover);
	cursor: pointer;
}

.table__head .table__cell {
	padding: 0.75rem 0.5rem;
	font-weight: 600;
}

.table__body .table__row {
	border-bottom: 1px solid var(--border-main-clr);
	background-color: var(--body);
}

.table__body .table__cell {
	padding: 1rem 0.5rem;
	font-size: 0.875rem;
}

.cell--small {
	justify-content: center;
	width: 50px;
	flex: 0 0 50px;
}

/* Responsive behavior */
@media (max-width: 768px) {

	.table__container {
		display: block;
	}

	.table__cell {
		flex-basis: 50%;
		min-width: 100px;
		justify-content: center;
	}

	.cell--small {
		justify-content: center;
		width: 100%;
	}

	.table__row {
		flex-wrap: wrap;
	}

	.table__filter {
		flex-direction: column;
	}

	.table__filter .dropdown2 {
		border: none;
	}

	.table__header {
		justify-content: space-between;
	}

	.table__pgn {
		gap: 0.5rem;
	}

}

@media (max-width: 480px) {
	.table__row {
		display: grid;
		grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
	}

	.table__cell {
		flex-basis: 100%;
		min-width: 0;
	}

	.table__cell--icon {
		padding: 0;
	}
}

/* Pagination */
.table__pgn {
	display: flex;
	justify-content: space-between;
	align-items: center;
	border: 1px solid var(--border-main-clr);
	border-radius: 4px 4px 0 0;
	border-bottom: none;
	padding: 0.5rem 1.5rem;
	
}

.table__pgn .flex {
	display: flex;
	align-items: center;
}

.table__pgn .btn,
.table__pgn .field {
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
}

.table__pgn .btn span,
.table__pgn .btn i,
.table__pgn .field {
	line-height: normal;
	vertical-align: middle;
}

.table__pgn .btn .icon-Chevron-Rightmost,
.table__pgn .btn .icon-Chevron-Leftmost,
.table__pgn .btn .icon-Chevron-Left-Small,
.table__pgn .btn .icon-Chevron-Right-Small {
	font-size: 22px;
	padding: 0;
	font-weight: normal;

}

.table__pgn #Page {
	font-weight: 600;
}

@media (max-width: 768px) {
	.table__pgn {
		flex-wrap: wrap;
	}

}
.pgn__label {
	font-size: 0.875rem;
  	line-height: normal;
 	font-weight: 500;
  	color: var(--label-main-clr);
  	overflow-wrap: break-word;
}

/* Html table*/

 .table {
 	border-spacing: 0;
 	width: 100%;
 	background-color: var(--body);
 	display: table;
 	border-collapse: collapse;
 }

 .table td {
 	padding: 1rem .5rem 1rem 1rem;
 	font-size: .875rem;
 	min-width: 4rem;
 	vertical-align: middle;
 }

 .table thead {
 	background-color: var(--table-head-bg);
 	border-bottom: 1px solid var(--border-sec-clr);
 	border-radius: 0;
 	position: sticky;
 	top: 0;
 	z-index: 1;
 }

.thead__initial thead {
 	position: initial;
 }

 .table tr {
 	border-bottom: 1px solid var(--border-main-clr);
 }

 .table tr:last-child {
 	border-bottom: none;
 }

 .table th {
 	padding: 0.2rem 0.8rem;
 	text-align: start;
 	height: 2.5rem;
 	font-weight: 500;
 	font-size: .875rem;
 	vertical-align: middle;
 }

.table tbody tr:hover {
	background-color: var(--table-row-hover);
}

.table thead {
	background-color: var(--table-head-bg);
}

 .table td select {
 	cursor: pointer;
 }
/* Buttons */
button {
	border: none;
	background-color: transparent;
	cursor: pointer;
}

.btn {
	border-radius: var(--border-radius);
	font-weight: 600;
	cursor: pointer;
	font-size: 0.875rem;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: normal;
	text-wrap: nowrap;
	padding: 0.625rem 0.75rem;
	gap: 4px;
}

.form__header-buttons .btn{
	padding: 0.625rem 1.25rem;
}

.btn a {
	text-decoration: none;
	color: inherit;
	font-weight: 600;
}

.btn i {
	font-size: 1rem;
	line-height: inherit;
	display: flex;
	align-items: center;
	font-weight: normal;
}

.btn__prev,
.btn__next {
	width: 2rem;
	height: 1.5rem;
	border: none;
	font-size: 1.25rem;
	background-color: transparent;
	cursor: pointer;
}

.btn__submit {
	color: #FFFFFF;
	background-color: #9f70fd;
	border: 1px solid #9f70fd; 
}

.btn__primary {
	color: #FFFFFF;
	border: 1px solid var(--blue-clr);
	background-color: var(--blue-clr);
	cursor: pointer;
}

.btn__primary i,
.btn__submit i
 {
	color: #FFFFFF;
}

.btn__secondary {
	border: 1px solid rgba(210, 212, 214, 1);
	color: var(--selected-option-text-color);
	background-color: var(--body);
}

.btn__secondary--dark {
	border: 1px solid var(--btn-secondary-dark);
	color: var(--btn-secondary-dark-txt);
	background-color: var(--btn-secondary-dark);
}

.btn__secondary--dark i{
	color: var(--btn-secondary-dark-txt);
}

.btn__neutral {
	color: rgba(40, 46, 52, 1);
	border: 1px solid rgb(224, 225, 226);
	background-color: rgb(224, 225, 226);
}

.btn__trasparent{
	color: var(--main-txt-clr);
	border: none;
	background-color: transparent;
}

.btn__neutral i {
	color: rgba(40, 46, 52, 1);
}

.btn--square {
	aspect-ratio: 1;
	height: 40px;
	width: 40px;
	align-items: center;
    justify-content: center;
}
/*from 40 to 30?*/
.btn--xsmall.btn--square {
	padding: 0.1rem 0.1rem;
  	font-size: 12px;
  	height: 30px;
  	width: 30px;
}
.btn--xsmall.btn--square.action-button--back {
  height: 40px;
  width: 40px;
}

/* Scale icon size properly */
.btn--square i {
    font-size: 1.4rem; /* Ensure it doesn't look oversized */
}
/* original #CE3010 */
.btn__delete {
	color: white;
	background-color: var(--btn-delete);
	border: 1px solid var(--btn-delete);
	justify-content: center;
	align-items: center;
	gap: 4px;
	transition: all 0.2s ease-in-out;
}

.btn__delete i {
	color: white;
}

.btn__delete:hover {
	border: 1px solid var(--btn-delete-hover);
	background-color: var(--btn-delete-hover);
	box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
	
}

.btn__delete i {
	color: white;
}

/* Btn action */

.btn__action {
	background-color: transparent;
	color: var(--blue-clr);
	display: flex;
	align-items: center;
	border: none;
	cursor: pointer;
	position: relative;
	gap: 2px
}

.btn__action i {
	color: var(--blue-clr);
	font-size: 1.3rem;
	margin-right: 2px;
	font-weight: bolder;
}

.btn__action::after {
	content: '';
	position: absolute;
	bottom: 0px;
	left: 0;
	width: 0;
	height: 2px;
	background-color: #1562CE;
	transition: width 0.3s ease;
}

.btn__action:hover::after {
	width: 100%;
}

.btn__action--grey i {
	color: var(--text-light);
}

.btn__action--grey::after {
	background-color: var(--text-light);
}

.btn__action--grey {
	color: var(--text-light);
}

.btn__action--red {
	color: var(--btn-delete);
}

.btn__action--red i {
	color: var(--btn-delete);
}

.btn__action--red::after {
	background-color: var(--btn-delete);
}

.btn__action--green {
  color: var(--btn-green);
}

.btn__action--green i {
  color: var(--btn-green);
}

.btn__action--green::after {
  background-color: var(--btn-green);
}

.btn__purple {
	color: #FFFFFF;
	background-color: #9f70fd;
}

button:disabled {
	cursor: not-allowed;
	background-color: var(--disabled);
	color: #888;
	border: 1px solid var(--disabled);
}

button:disabled i {
	color: #888;
}

.btn__action:disabled {
	background-color: var(--body);
	border: 1px solid transparent;
}

.btn__action:disabled::after {
    content: none; 
   
}

/*Button hovers*/

button:disabled:hover {
	cursor: not-allowed;
	background-color: var(--disabled);
	color: #888;
	border: 1px solid var(--disabled);
}

.button:hover {
	cursor: pointer;
}

.btn__purple:hover {
	background-color: rgba(139, 92, 233, 1);
	box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
}

.btn__submit:hover {
	background-color: rgba(139, 92, 233, 1);
	box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
}

.btn__secondary:hover {
	background-color: var(--btn-hover);
	
	border: 1px solid var(--btn-hover);
	box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
}



.btn__secondary--dark:hover {
	border: 1px solid var(--btn-secondary-dark-hover);
	background-color: var(--btn-secondary-dark-hover);
	box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
}


.btn__neutral:hover {
	background-color: #E7F1FF;
  border: 1px solid #E7F1FF;
	box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
	
}


.btn__primary:hover {
	background-color: #1562CE;
	box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
}

.btn__delete:hover {
	border: 1px solid var(--btn-delete-hover);
	background-color: var(--btn-delete-hover);
}

.btn__delete:hover i {
	color: white;
}

/*Adjustments for table buttons, because of the background hovers*/

/* Button sizes */

.btn--xsmall {
	padding: 0.1rem 0.1rem;
	font-size: 12px;
}

.btn--small {
	padding: 0.25rem 0.5rem;
	font-size: 0.75rem;
}

.btn--medium {
	padding: 0.625rem 0.75rem;
	font-size: 0.875rem;
}

.btn--large {
	padding: 0.75rem 1.4rem;
	font-size: 1rem;
	max-height: 46px;
}

.btn--small i {
	font-size: .75rem;
	line-height: normal;
}

/* If button has really long text, allow wrapping into two rows*/

.btn--wrap-text {
    white-space: normal; 
    word-break: break-word; 
    text-align: left; 
    display: flex;
    align-items: center;
    max-width: 230px; 
}
.btn--wrap-text i {
    flex-shrink: 0; 
    margin-right: 5px; 
}

/* Button group*/

.button-group {
	display: flex;
}

.button-group__btn {
	display: inline-block;
	padding: 10px 20px;
	margin: 0;
	border: 1px solid #ddd;
	border-right: none;
	background-color: #fff;
	color: rgba(100, 103, 106, 1);
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	font-size: 14px;
	transition: background-color 0.3s, color 0.3s;
	font-weight: 600;
	line-height: 20px;	
}

.button-group__btn:first-child {
	border-radius: 4px 0 0 4px;
}

.button-group__btn:last-child {
	border-right: 1px solid var(--border-main-clr);
	border-radius: 0 4px 4px 0;
}

.button-group__btn:hover {
	background-color: var(--blue-clr);
	color: #fff;
	border-color: transparent;
}

/* Extra class for rounded button group */

.button-group--rounded .button-group__btn {
	border: none;
	border-radius: 99px;
	flex: 1;

}

/* Avatar */
.item__avatar {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.avatar {
	display: grid;
	position: relative;
	place-items: center;
	width: 3.5rem;
	height: 3.5rem;
	border: 1px solid var(--border-main-clr);
	border-radius: 100%;
	background-color: var(--body);
}

.font-lg {
	font-size: 1.125rem;
}

.text-light-400 {
	font-weight: 400;
	color: var(--text-light);
}

/*Aside card on right*/
aside.card {
	width: 366px;
	height: 100%;
}

.card {
	border: 1px solid var(--border-main-clr);
	border-radius: 8px;
}

.card__header {
	font-size: 1rem;
	padding: 16px 24px;
	color: var(--main-txt-clr);
	background-color: var(--table-head-bg);
	border-top-left-radius: 8px;
	border-top-right-radius: 8px;
}

#Close {
	cursor: pointer;
}


/* Aside card next to form */
aside.card {
	display: none;
}

/* When the checkbox is checked, display the aside card */
#toggleCardVisibility:checked~aside.card {
	display: block;
}

.item__header {
	width: 100%;
	padding: 24px;
}

.card__item {
	display: flex;
	flex-direction: column;
	padding: 8px 24px;
	gap: 1rem;
}

.card__item .input-group {
	width: 200px;
}

.card__subitem {
	display: grid;
	gap: 1rem;
	grid-template-columns: 100px 1fr;
	padding: 8px 0;
}

.card__subitem_2 {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	padding: 1rem 0;
}

.pill {
	background-color: var(--blue);
	border-bottom: 1px solid rgb(0 0 0 / 6%);

}

.pill span {
	color: rgba(29, 36, 51, 1);
}

/* Base grid block */
.card-grid {
	display: grid;
	grid-auto-flow: dense;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 0.6rem;
	margin: 1rem;
	max-width: 1200px;
}

.card-grid__card {
	display: flex;
	flex-flow: column;
	margin: 0.25em;
	padding: 0.75em;
	background-repeat: no-repeat;
	border: 1px solid var(--border-main-clr);
	box-shadow: var(--shadow);
	border-radius: 0.5em;
	overflow: auto;
}

.card-grid__card:has(figure) {
	grid-column: span 2;
	grid-row: span 2;
	background: var(--blue);
	justify-content: center;
	align-items: center;

}

.card-grid__card figure {
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 0;
}

.card-grid__card:has(h2 + h3) {
	grid-column: span 2;
	background: var(--purple);
}

figure {
	width: 100%;
	object-fit: cover;
}

figcaption {
	text-align: center;
}

img {
	max-width: 100%;
}

/* SIDEBAR BASE STYLES */


.sidebar .item--active {
	text-decoration: none !important;
  	font-weight: normal !important;
	background-color: var(--system-clr-light-active);
	border-radius: 4px;
}

.sidebar .sidebar__item:hover {
  background-color: var(--system-clr-light-hover);
  border-radius: 4px;
  text-decoration: underline !important;
  color: var(--blue-clr) !important;
  text-underline-offset: 4px;
}

.sidebar .item--active:hover {
	background-color: var(--system-clr-light-active);
}

/*Old menus toggling logic left in for backup*/

/* aside-menu 1 when its radio button is checked */
#aside_menu_1:checked~#sub_menu_1 {
	display: block;
	transform: translateX(0);
}

/* sub-menu 2 when its radio button is checked */
#aside_menu_2:checked~#sub_menu_2 {
	display: block;
	transform: translateX(0);
}

/* sub-menu 3 when its radio button is checked */
#aside_menu_3:checked~#sub_menu_3 {
	display: block;
	transform: translateX(0);
}

/* sub-menu 4 when its radio button is checked */
#aside_menu_4:checked~#sub_menu_4 {
	display: block;
	transform: translateX(0);
}

/* sub-menu 5 when its radio button is checked */
#aside_menu_5:checked~#sub_menu_5 {
	display: block;
	transform: translateX(0);
}

/* sub-menu 6 when its radio button is checked */
#aside_menu_6:checked~#sub_menu_6 {
	display: block;
	transform: translateX(0);
}

/* sub-menu 7 when its radio button is checked */
#aside_menu_7:checked~#sub_menu_7 {
	display: block;
	transform: translateX(0);
}

/* sub-menu 8 when its radio button is checked */
#aside_menu_8:checked~#sub_menu_8 {
	display: block;
	transform: translateX(0);
}

/* sub-menu 9 when its radio button is checked */
#aside_menu_9:checked~#sub_menu_9 {
	display: block;
	transform: translateX(0);
}

/* sub-menu 10 when its radio button is checked */
#aside_menu_10:checked~#sub_menu_10 {
	display: block;
	transform: translateX(0);
}

/* sub-menu 11 when its radio button is checked */
#aside_menu_11:checked~#sub_menu_11 {
	display: block;
	transform: translateX(0);
}

/* sub-menu 12 when its radio button is checked */
#aside_menu_12:checked~#sub_menu_12 {
	display: block;
	transform: translateX(0);
}

/* Add active state when submenu is visible */
.sidebar:has(#aside_menu_1:checked) label[for="aside_menu_1"],
.sidebar:has(#aside_menu_2:checked) label[for="aside_menu_2"],
.sidebar:has(#aside_menu_3:checked) label[for="aside_menu_3"],
.sidebar:has(#aside_menu_4:checked) label[for="aside_menu_4"],
.sidebar:has(#aside_menu_5:checked) label[for="aside_menu_5"],
.sidebar:has(#aside_menu_6:checked) label[for="aside_menu_6"],
.sidebar:has(#aside_menu_7:checked) label[for="aside_menu_7"],
.sidebar:has(#aside_menu_8:checked) label[for="aside_menu_8"],
.sidebar:has(#aside_menu_9:checked) label[for="aside_menu_9"],
.sidebar:has(#aside_menu_10:checked) label[for="aside_menu_10"],
.sidebar:has(#aside_menu_11:checked) label[for="aside_menu_11"],
.sidebar:has(#aside_menu_12:checked) label[for="aside_menu_12"],
.sidebar:has(#aside_menu_13:checked) label[for="aside_menu_13"],
.sidebar:has(#aside_menu_14:checked) label[for="aside_menu_14"],
.sidebar:has(#aside_menu_15:checked) label[for="aside_menu_15"],
.sidebar:has(#aside_menu_16:checked) label[for="aside_menu_16"],
.sidebar:has(#aside_menu_17:checked) label[for="aside_menu_17"],
.sidebar:has(#aside_menu_18:checked) label[for="aside_menu_18"],
.sidebar:has(#aside_menu_19:checked) label[for="aside_menu_19"],
.sidebar:has(#aside_menu_20:checked) label[for="aside_menu_20"] {
  background-color: var(--system-clr-light-hover) !important;
  color: var(--blue-clr) !important;
  text-decoration: underline !important;
  text-underline-offset: 4px;
  border-radius: 4px;
}

/* Cancel .item--active styling if other submenu is open */
.sidebar:has(input[name="aside_menu"]:checked:not(#aside_menu_reset)):not(:has(#aside_menu_1:checked)) label[for="aside_menu_1"].item--active,
.sidebar:has(input[name="aside_menu"]:checked:not(#aside_menu_reset)):not(:has(#aside_menu_2:checked)) label[for="aside_menu_2"].item--active,
.sidebar:has(input[name="aside_menu"]:checked:not(#aside_menu_reset)):not(:has(#aside_menu_3:checked)) label[for="aside_menu_3"].item--active,
.sidebar:has(input[name="aside_menu"]:checked:not(#aside_menu_reset)):not(:has(#aside_menu_4:checked)) label[for="aside_menu_4"].item--active,
.sidebar:has(input[name="aside_menu"]:checked:not(#aside_menu_reset)):not(:has(#aside_menu_5:checked)) label[for="aside_menu_5"].item--active,
.sidebar:has(input[name="aside_menu"]:checked:not(#aside_menu_reset)):not(:has(#aside_menu_6:checked)) label[for="aside_menu_6"].item--active,
.sidebar:has(input[name="aside_menu"]:checked:not(#aside_menu_reset)):not(:has(#aside_menu_7:checked)) label[for="aside_menu_7"].item--active,
.sidebar:has(input[name="aside_menu"]:checked:not(#aside_menu_reset)):not(:has(#aside_menu_8:checked)) label[for="aside_menu_8"].item--active,
.sidebar:has(input[name="aside_menu"]:checked:not(#aside_menu_reset)):not(:has(#aside_menu_9:checked)) label[for="aside_menu_9"].item--active,
.sidebar:has(input[name="aside_menu"]:checked:not(#aside_menu_reset)):not(:has(#aside_menu_10:checked)) label[for="aside_menu_10"].item--active,
.sidebar:has(input[name="aside_menu"]:checked:not(#aside_menu_reset)):not(:has(#aside_menu_11:checked)) label[for="aside_menu_11"].item--active,
.sidebar:has(input[name="aside_menu"]:checked:not(#aside_menu_reset)):not(:has(#aside_menu_12:checked)) label[for="aside_menu_12"].item--active,
.sidebar:has(input[name="aside_menu"]:checked:not(#aside_menu_reset)):not(:has(#aside_menu_13:checked)) label[for="aside_menu_13"].item--active,
.sidebar:has(input[name="aside_menu"]:checked:not(#aside_menu_reset)):not(:has(#aside_menu_14:checked)) label[for="aside_menu_14"].item--active,
.sidebar:has(input[name="aside_menu"]:checked:not(#aside_menu_reset)):not(:has(#aside_menu_15:checked)) label[for="aside_menu_15"].item--active,
.sidebar:has(input[name="aside_menu"]:checked:not(#aside_menu_reset)):not(:has(#aside_menu_16:checked)) label[for="aside_menu_16"].item--active,
.sidebar:has(input[name="aside_menu"]:checked:not(#aside_menu_reset)):not(:has(#aside_menu_17:checked)) label[for="aside_menu_17"].item--active,
.sidebar:has(input[name="aside_menu"]:checked:not(#aside_menu_reset)):not(:has(#aside_menu_18:checked)) label[for="aside_menu_18"].item--active,
.sidebar:has(input[name="aside_menu"]:checked:not(#aside_menu_reset)):not(:has(#aside_menu_19:checked)) label[for="aside_menu_19"].item--active,
.sidebar:has(input[name="aside_menu"]:checked:not(#aside_menu_reset)):not(:has(#aside_menu_20:checked)) label[for="aside_menu_20"].item--active {
  background-color: transparent !important;
  font-weight: normal !important;
  color: inherit !important;
  box-shadow: none !important;
  text-decoration: none !important;
}

/*If user has submenus opening down, remove item--active style from other menu items (even if user is on this page)
User must see only one highlighted page at a time to avoid confusion*/
.sidebar:has(input[id^="aside_menu_down_"]:checked) label[for="aside_menu_1"].item--active,
.sidebar:has(input[id^="aside_menu_down_"]:checked) label[for="aside_menu_2"].item--active,
.sidebar:has(input[id^="aside_menu_down_"]:checked) label[for="aside_menu_3"].item--active,
.sidebar:has(input[id^="aside_menu_down_"]:checked) label[for="aside_menu_4"].item--active,
.sidebar:has(input[id^="aside_menu_down_"]:checked) label[for="aside_menu_5"].item--active,
.sidebar:has(input[id^="aside_menu_down_"]:checked) label[for="aside_menu_6"].item--active,
.sidebar:has(input[id^="aside_menu_down_"]:checked) label[for="aside_menu_7"].item--active,
.sidebar:has(input[id^="aside_menu_down_"]:checked) label[for="aside_menu_8"].item--active,
.sidebar:has(input[id^="aside_menu_down_"]:checked) label[for="aside_menu_9"].item--active,
.sidebar:has(input[id^="aside_menu_down_"]:checked) label[for="aside_menu_10"].item--active,
.sidebar:has(input[id^="aside_menu_down_"]:checked) label[for="aside_menu_11"].item--active,
.sidebar:has(input[id^="aside_menu_down_"]:checked) label[for="aside_menu_12"].item--active,
.sidebar:has(input[id^="aside_menu_down_"]:checked) label[for="aside_menu_13"].item--active,
.sidebar:has(input[id^="aside_menu_down_"]:checked) label[for="aside_menu_14"].item--active,
.sidebar:has(input[id^="aside_menu_down_"]:checked) label[for="aside_menu_15"].item--active,
.sidebar:has(input[id^="aside_menu_down_"]:checked) label[for="aside_menu_16"].item--active,
.sidebar:has(input[id^="aside_menu_down_"]:checked) label[for="aside_menu_17"].item--active,
.sidebar:has(input[id^="aside_menu_down_"]:checked) label[for="aside_menu_18"].item--active,
.sidebar:has(input[id^="aside_menu_down_"]:checked) label[for="aside_menu_19"].item--active,
.sidebar:has(input[id^="aside_menu_down_"]:checked) label[for="aside_menu_20"].item--active {
  background-color: transparent !important;
  color: inherit !important;
  text-decoration: none !important;
}

.sidebar__submenu-heading {
  font-size: 1.2rem;
}

#LogoutBtn {
	width: 180px
}

.action-button--back {
	border: 1px solid var(--border-main-clr);
  	visibility: visible;
	height: 40px;
	width: 40px;
}

.action-button--back i {
	font-size: 20px;
}

.sidebar:has(
  input[name="aside_menu"]:checked:not(#aside_menu_reset):not([id^="aside_menu_down_"])
) .action-button--back {
  display: none;
}

#sidebarMenuMobileNav {
	display: none;
}

#sidebarMenuMobileNav i {
	font-size: 22px;
}

/* Sidebar overlay styles */
/* Semi-transparent overlay */
.sidebar-overlay {
 
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: transparent;
    z-index: 100; 
    display: none; 
}

/* Show sidebar and overlay when toggled */
#toggleSidebar:checked ~ .sidebar {
    transform: translateX(0);
}

#toggleSidebar:checked ~ .sidebar-overlay {
    display: block;
}

#toggleSidebar:checked ~ .sidebar,
#sidebarMenuMobileNavButton:checked ~ .sidebar {
  display: flex !important;
}

#toggleSidebar:checked ~ .sidebar-overlay,
#sidebarMenuMobileNavButton:checked ~ .sidebar-overlay {
  display: block !important;
}

.sidebar__item {
	font-size: 1rem;
	cursor: pointer;
	text-decoration: none;
	display: block;
	font-weight: 400;
	width: 100%;
	align-items: center;
	background-color: var(--system-clr-bg-default);
	padding: 12px 8px;
	margin-bottom: 4px;
	color: var(--main-txt-clr);
}

.sidebar__title {
	font-size: 1.2rem;
	text-decoration: none;
	display: block;
	align-items: center;
	background-color: var(--system-clr-bg-default);
	padding: 0rem 0.2rem;
	font-weight: 700;
	line-height: 1;
	word-wrap: break-word; 
    overflow-wrap: break-word; 
    white-space: normal;  
	max-width: 200px;
}

.sidebar-mobile_nav--title-wrapper {
	display: flex;
  margin-right: auto;
}

.sidebar-mobile_nav--upper .sidebar__title {
	white-space: nowrap;  
}

.divider {
  width: 1px;
  height: 1rem;
  background-color: var(--border-main-clr); 
  margin: 0 0.5rem;
  flex-shrink: 0;
  display: inline-block;
}

/* Base styles for sub-menus */
.sub-menu {
	display: none;
	position: absolute;
	top: 0;
	left: 100%;
	padding: 1.5rem;
	padding-top: 0.8rem;
	width: 22.5rem;
	height: 100vh;
	background-color: var(--system-clr-bg-default);
	box-shadow: 16px 0 48px -20px rgba(0, 0, 0, 0.16);
	z-index: 50;
	overflow-y: auto;
	transition: transform 250ms cubic-bezier(0.62, 0.3, 0.43, 0.81);
	border-right: 1px solid var(--border-main-clr);
	border-left: 1px solid var(--border-light-clr);	
}

/* Hide radio buttons */
.sidebar__item-input {
	display: none;
}

/* Hide submenus by default */
.sub-menu {
  display: none;
}

#aside_menu_1:checked ~ .sidebar-content #sub_menu_1 {
  display: block;
}
#aside_menu_2:checked ~ .sidebar-content #sub_menu_2 {
  display: block;
}
#aside_menu_3:checked ~ .sidebar-content #sub_menu_3 {
  display: block;
}
#aside_menu_4:checked ~ .sidebar-content #sub_menu_4 {
  display: block;
}
#aside_menu_5:checked ~ .sidebar-content #sub_menu_5 {
  display: block;
}
#aside_menu_6:checked ~ .sidebar-content #sub_menu_6 {
  display: block;
}
#aside_menu_7:checked ~ .sidebar-content #sub_menu_7 {
  display: block;
}
#aside_menu_8:checked ~ .sidebar-content #sub_menu_8 {
  display: block;
}
#aside_menu_9:checked ~ .sidebar-content #sub_menu_9 {
  display: block;
}
#aside_menu_10:checked ~ .sidebar-content #sub_menu_10 {
  display: block;
}
#aside_menu_11:checked ~ .sidebar-content #sub_menu_11 {
  display: block;
}
#aside_menu_12:checked ~ .sidebar-content #sub_menu_12 {
  display: block;
}
#aside_menu_13:checked ~ .sidebar-content #sub_menu_13 {
  display: block;
}
#aside_menu_14:checked ~ .sidebar-content #sub_menu_14 {
  display: block;
}
#aside_menu_15:checked ~ .sidebar-content #sub_menu_15 {
  display: block;
}
#aside_menu_16:checked ~ .sidebar-content #sub_menu_16 {
  display: block;
}
#aside_menu_17:checked ~ .sidebar-content #sub_menu_17 {
  display: block;
}
#aside_menu_18:checked ~ .sidebar-content #sub_menu_18 {
  display: block;
}
#aside_menu_19:checked ~ .sidebar-content #sub_menu_19 {
  display: block;
}
#aside_menu_20:checked ~ .sidebar-content #sub_menu_20 {
  display: block;
}



.sidebar-group .sidebar__item {
	  margin: 0; 
}

.sidebar-group .sub-menu_down {
  display: none;
}

.sidebar-group input:checked ~ .sub-menu_down {
  display: block;
  padding: 0.5rem 1.2rem;
}

/* When radio is checked, apply enhanced style */
.sidebar__item-input:checked ~ .sidebar__item,
.sidebar__item-input:checked ~ .sub-menu_down {
  /*background-color: var(--system-clr-light-hover);*/
  border-radius: 0.5rem;
}

.sidebar__item-input:checked ~ .sub-menu_down {
  display: block;
}

/* But remove that for this specific group */
.sidebar-group input[type="radio"]:checked + label {
  border-radius: 4px 4px 0 0; /* still top-rounded */
}

.sidebar-group .sub-menu_down {
  border-radius: 0; /* flat bottom */
}


.sidebar__item-input:checked ~ .sidebar__item {
	box-shadow: none;
}


/*Theme toggle*/
.theme-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: transparent;
    z-index: 1000;
}

.theme-toggle i {
	font-size: 28px;
}

.theme-toggle i {
    opacity: 0;
}

.theme-toggle i,
.theme-toggle-button {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.theme-toggle i.ready,
.theme-toggle-button.ready {
    opacity: 1;
    pointer-events: auto;
}

.theme-toggle-wrapper {
  position: relative;
  width: 52px;
  height: 32px;
  background-color: var(--theme-toggle-bg);
  border-radius: 999px;
  cursor: pointer;
}

/* Shared toggle button (the ball) */
.theme-toggle-button {
  position: absolute;
  top: 2px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: var(--system-clr-bg-default);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: left 0.3s ease;
  cursor: pointer;
}

/* Default position (left) for dark icon */
.theme-toggle-dark .theme-toggle-button {
  left: 2px;
}

/* Move it to right side in light mode */
.theme-toggle-light .theme-toggle-button {
  left: calc(100% - 30px); /* 100% - width - margin */
}

.theme-toggle-button i {
  font-size: 18px;
  color: var(--theme-toggle-i); 
}

/* Allow the wrapper to receive all clicks */
.theme-toggle-wrapper {
  pointer-events: auto;
  cursor: pointer;
}

/* Let children be visible but NOT block the wrapper click */
.theme-toggle-button,
.theme-toggle-button *,
.theme-toggle-light,
.theme-toggle-dark {
  pointer-events: none !important;
}

/*Language switcher*/
.sidebar-switcher-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

/* Left block */
.language-toggle-group {
  display: flex;
  flex-direction: column;
  border-radius: 8px;
  background-color: transparent;
  transition: background-color 0.3s ease;
  flex-grow: 1;
}

/* Label */
.sidebar-language-toggle-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  cursor: pointer;
}

/* Sidebar Language options  */
.sidebar-language-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 12px;
  font-size: 0.875rem; /* same as .sidebar-label and store list */
  font-weight: 500;
  border-radius: 6px;
  color: var(--sidebar-label);
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.sidebar-language-option i {
  font-size: 18px;
  text-decoration: none; 
  display: inline-block; 
}

.sidebar-language-option:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.sidebar-language-option:hover i {
  text-decoration: none;
}

.sidebar-language-option.active,
.sidebar-language-option.active i {
	color: var(--blue-clr);
}

.sidebar-language-options {
  display: none !important;
  flex-direction: column;
  padding: 0 0.75rem;
  gap: 8px;
}

/* Show when checkbox is checked */
.sidebar-settings-wrapper input#sidebarLanguageToggle:checked ~ .sidebar-switcher-row .language-toggle-group .sidebar-language-options {
  display: flex !important;
}
.theme-toggle-wrapper {
  flex-shrink: 0;
  padding-top: 8px; 
}

.sidebar-settings-wrapper input#sidebarLanguageToggle:checked ~ .sidebar-switcher-row .language-toggle-group {
  background-color: var(--system-clr-light-hover);
  border-radius: 0.5rem;

  padding-bottom: 0.5rem;
}
/* Remove default spacing */
.sidebar-group .sidebar__item {
  margin: 0;
} 

/* Hide by default */
.sidebar-group .sub-menu_down {
  display: none;
  border-radius: 0;
  padding: 0;
  background: transparent;
}

/* Unified background & rounded corners only on group when open */
.sidebar-group input:checked ~ .sidebar__item,
.sidebar-group input:checked ~ .sub-menu_down {
  background-color: var(--system-clr-light-hover);
 
}

/* Top corners only on label */
.sidebar-group input[type="radio"]:checked + label.sidebar__item {
  border-radius: 0.5rem 0.5rem 0 0;
	color: var(--blue-clr) ;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Flat bottom corners on submenu */
.sidebar-group input:checked ~ .sub-menu_down {
  border-radius: 0 0 0.5rem 0.5rem;
}

/* No box-shadow on label */
.sidebar__item-input:checked ~ .sidebar__item {
  box-shadow: none;
}


.sidebar-language-option i {
  font-size: 1rem;
  margin-left: 0.5rem;
  color: var(--blue-clr);
}

.sidebar-language-option:hover {
  background-color: var(--system-clr-light-hover);
  text-decoration: none;
  color: var(--main-txt-clr);
}

.sidebar-language-option.active {
  background-color: var(--blue-clr-light, rgba(59, 130, 246, 0.08));
  color: var(--blue-clr);
}

.sidebar-language-option.active i {
  display: inline-block;
  font-size: 1rem;
}

/*Sidebar Third Levels*/
.sidebar__third-level-menu {
	border-bottom: 1px solid var(--border-light-clr);
	padding-bottom: 0.5rem;
}

.sub-menu_down .sidebar__third-level-menu {
  border-bottom: none;
  padding-bottom: 0.5rem;
}

.sidebar__third-level-menu ul {
	list-style: none;
}

.sidebar__third-level-menu ul li {
	font-size: 0.875rem;
	margin-bottom: 0.5rem;
}

.sidebar__third-level-menu ul li a {
	text-decoration: none;
}

.sidebar__third-level-menu ul li:hover {
	text-decoration: underline;
	cursor: pointer;
	text-underline-offset: 4px;
}

.sidebar__sub-heading {
	font-weight: 600;
	margin-bottom: 1.25rem;
	font-size: 1.375rem;
}

.sidebar__third-level-heading {
	font-weight: 500;
	margin-bottom: 0.75rem;
	font-size: 1.125rem;
	margin-top: 0.5rem;
}

/* Overriding style for sidebar labels when their corresponding input is checked 
.sidebar .sidebar__item-input:checked+.sidebar__label {
	color: #333;
	text-decoration: none;
	background: transparent; /*!importan
	border-radius: 0;
	font-weight: normal;
}

/* Active menu items 
.sidebar__item-input[type="radio"]:checked+label {
	color: #0062E0;
	text-decoration: underline;
	text-underline-offset: 4px;
	font-weight: 500;
}
*/


.sidebar-mobile_nav--upper {
	border-bottom: 1px solid var(--border-main-clr);
	width: 100vw;
	height: 60px;
	display: none;
	z-index: 202;
	position: fixed;
	gap: 6px;
}

.sidebar-mobile_nav--upper .sidebar__version-container {
	padding-left: 0px;
}



.sidebar-mobile_nav--upper .badge i {
	font-size: 26px;
}


/* Default: Desktop view */
.sidebar .logo__link-left,
.sidebar .theme-toggle {
	display: flex;
  justify-content: flex-start;;
  align-items: center;
  margin-top: auto;
}

.sidebar .logo__link-left i {
	font-size: 18px;
}

.sidebar-mobile_nav--upper .mobile-header-elements {
    display: none; 
}

#userInitials {
	color: #000203;
}

.sidebar .top-row {

	margin-top: 8px;

	align-items: center;

	gap: 4px;
	display: flex
}

.top-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sidebar__title-wrapper {
  display: flex;
  gap: 2px;
}

.sidebar__version-container {
  display: flex;
  align-items: flex-start;
  gap: 4px;
  padding: 0px;
  margin: 0px;
  border-radius: 4px;
  width: 100%;
  padding-left: 0.4rem;
  margin-top: 0.2rem;
  margin-bottom: 1rem;
}

.sidebar__version-container .badge {
	text-decoration: none;
}

.sidebar .app__badge i {
	font-size: 28px;

}

.sidebar-label, .sidebar-label .client-code_nr, .switch-account-title{
  font-size: 0.875rem;
  line-height: normal;
  font-weight: 500;
  color: var(--sidebar-label);
  overflow-wrap: break-word;
  margin-right: 0.2rem
}


.location-list .location-item{
	display: flex;
	padding: 4px 8px;
	border-radius: 4px;
	font-size: 0.875rem;
  font-weight: 500;
	
}

.enhanced-dropdown {
  padding: 0.5rem;
  background: var(--system-clr-light-hover);
  border-radius: 0.5rem;
  /*box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);*/
}

.dropdown-search {
  width: 100%;
  padding: 0.4rem 0.6rem;
	background: var(--system-clr-bg-default);
  font-size: 0.9rem;
  border: 1px solid var(--border-main-clr);
  border-radius: 0.3rem;
  box-sizing: border-box;
  outline: none;
}

.dropdown-search:focus {
  border-color: var(--primary-color, #3b82f6);
border-radius: 0.3rem;
}

.location-list {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 200px;
  overflow-y: auto;
}

.location-item {
  padding: 0.5rem;
  border-radius: 0.3rem;
  cursor: pointer;
  transition: background 0.2s ease;
}

.location-item:hover {
  background: #f0f4ff;
}

.sidebar_stick-to-bottom .companyName, 
.sidebar_stick-to-bottom .company-name,
.user-links .company-name,
.company-name{
	font-size: 15px;
  	line-height: 18px;
  	font-weight: 650;
}

.sandbox-nav__link {
  display: flex;
  border-radius: 4px;
  align-items: center;
  justify-content: left;
  padding: 8px 4px;
  width: 100%;
  text-decoration: none;
  gap: 10px;
  cursor: pointer;
  }

.sandbox-nav__link span {
	line-height: 1.6;
  font-size: 1rem;
}

.sidebar .sandbox-nav__link i {
	font-size: 22px;
	color: var(--main-txt-clr);
	
}

/* -------------- Desktop Styles (Sticky Sidebar) -------------- */
.sidebar {
	position: sticky;
	top: var(--menu-height) !important;
	padding-top: 0;
	padding-left: 0.5rem;
	padding-right: 0.5rem;
	display: flex;
	width: 20%;
	padding-bottom: 8px;
	max-width: 264px;
	border: 1px solid var(--system-clr-border-min);
	border-top: none;
  	background-color: var(--system-clr-bg-default);
    left: 0;
    height: calc(100vh - var(--menu-height)) !important;
    flex-direction: column;
	z-index: 1000;
}

/* Sidebar title should NEVER scroll behind */
.sidebar-header {
    position: sticky;
    top: var(--menu-height);
    z-index: 201;
    background-color: var(--body);
}

/* Sidebar middle section must scroll */
.sidebar-wrapper {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.sidebar-content {
  flex-grow: 1;
  overflow-y: auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding-top: 0.5rem;
}

#sidebarOptions i, #switchAccount {
	font-size: 18px;
	cursor: pointer;
}

.location-item:hover {
	color: var(--blue-clr);
  background-color: var(--system-clr-light-hover) !important;
  cursor: pointer;
}
.location-item:hover .account-name {
	color: var(--blue-clr);
}
.submenu_back-button,
.only-mobile {
  display: none;
}

/* Default state is hidden */
.sidebar-extra-section {
  display: none;
}

/* When checkbox is checked, show it */
.sidebar-user-wrapper input#toggleSidebarOptions:checked ~ .sidebar-extra-section {
  display: block;
}

.sidebar-user-wrapper input#toggleSidebarOptions:checked ~ .sidebar-extra-wrapper {
  background: var(--system-clr-light-hover);
  border-radius: 0.5rem;
  display: block;
}

/* Smooth icon rotation */
#sidebarOptions i {
  transition: transform 0.3s ease;
}

/* Rotate the icon when checkbox is checked */
#toggleSidebarOptions:checked ~ div #sidebarOptions {
  transform: rotate(180deg);
}

.sidebar-user-wrapper:has(#toggleSidebarOptions:checked) .sidebar-extra-section {
  display: block;
}

/* Rotating colours for accounts */
/* Rotating colours for accounts */
/* 1. Light Grey */
.location-list .location-item:nth-child(6n+1) .name-initial {
    background-color: rgba(211, 211, 211, 0.3); /* Light Grey */
    border: 1px solid rgba(211, 211, 211, 0.3);
}

/* 2. Light Blue */
.location-list .location-item:nth-child(6n+2) .name-initial {
    background-color: rgba(173, 216, 230, 0.3); /* Light Blue */
    border: 1px solid rgba(173, 216, 230, 0.3);
}

/* 3. Light Green */
.location-list .location-item:nth-child(6n+3) .name-initial {
    background-color: rgba(144, 238, 144, 0.3); /* Light Green */
    border: 1px solid rgba(144, 238, 144, 0.3);
}

/* 4. Neutral (very light grey/white) */
.location-list .location-item:nth-child(6n+4) .name-initial {
    background-color: rgba(255, 255, 255, 0.2); /* Neutral */
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* 5. Light Grey (repeat) */
.location-list .location-item:nth-child(6n+5) .name-initial {
    background-color: rgba(211, 211, 211, 0.3);
    border: 1px solid rgba(211, 211, 211, 0.3);
}

/* 6. Light Blue (repeat) */
.location-list .location-item:nth-child(6n+6) .name-initial {
    background-color: rgba(173, 216, 230, 0.3);
    border: 1px solid rgba(173, 216, 230, 0.3);
}

.sidebar .sidebar__close-btn {
	display: none;
}

/*Media*/
@media (max-width: 1024px) {


.sidebar .sidebar__close-btn {
	display: flex;
}


	.sidebar__version-container {
		margin-bottom: 0rem;
	}

	.sub-menu {
		padding: 1rem;
		height: calc(100vh - 40px); 
		padding-bottom: 40px;
	}
	
	#sidebarMenuMobileNav {
		display: block;
		font-size: 1.5rem;
		text-align: left;
	}

	#sidebarMenuMobileNavButton {
		cursor: pointer;
	}

	.sidebar_menu-nav {
		display: block;
		margin-top: 0;

	}
	
	#toggleSidebar:checked ~ .sidebar {
		transform: translateX(0) !important;
	}

	.sidebar {
		transform: translateX(-100%);
		transition: transform 0.3s ease;
		display: none !important;
	}

	/* When mobile checkbox is checked, show it */
	#sidebarMenuMobileNavButton:checked ~ .sidebar {
		display: block !important;
		transform: translateX(0);
		height: 100vh;
	}

	#sidebarMenuMobileNavButton:checked ~ .sidebar-overlay {
		display: block;
	}

	#sidebarMenuMobileNavButton:checked ~ .sidebar {
		transform: translateX(0);
	}
	

	/* Optional: hide using the overlay or close button */
	.sidebar__close-btn {
		cursor: pointer;
	}

	/* Toggle the sidebar visibility based on the checkbox state */
	#toggleSidebar:checked~.sidebar {
		display: block;
		transform: translateX(0);
	}

	.sidebar .top-row {
		display: none;
		flex: 0;
	}

	.sidebar__close-btn {
		display: flex; 
		align-items: center;
		justify-content: center;
		cursor: pointer;
		margin-left: auto;
		border: 1px solid var(--border-main-clr);
		height: 30px;
		width: 30px;
	}

	.sidebar__close-btn i {
		font-size: 26px;
	}


    .sidebar .hide-on-mobile {
        display: none; 
    }

	.theme-toggle {
		display: none;
		top: 4px;
		right: 10px;
	}

    .sidebar-mobile_nav--upper .mobile-header-elements {
        display: flex; 
        align-items: center;
        gap: 0.5rem; 
		
    }
	.mobile-header-elements .company-name {
		display: block;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
		max-width: 150px;
		font-weight: 600;
		line-height: 1.2;
	}

	.mobile-header-elements .sandbox-nav__link i {
		font-size: 22px;
  		color: var(--main-txt-clr)
	}

    .sidebar-mobile_nav--upper {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.5rem;
		background-color: var(--system-clr-bg-default);
	}
    

	/* Overrides absolute positioning */
    
	.container_mobile-nav .theme-toggle {
		width: auto; 
		display: flex; 
		position: static; 
	}

	  #toggleSearchMobile:checked ~ .theme-toggle {
    display: none !important;
  }

	#logoHomeDesktop {
		display: none;
		visibility: hidden; 
		position: absolute; 
	}

	#logoHomeMobile {
		margin-right: auto;
		font-size: 18px;
	}

    .mobile-header-elements .theme-toggle {
		margin-right: auto;
        display: flex;
        gap: 0.5rem;
		margin-top: 0px;
    }


	.sidebar-mobile_nav--upper .sidebar__title {
		font-size: 1rem;
		padding: 0px;
	}

	.sidebar .sidebar__title {
		display: none;
	}	
	


	.sidebar .top-row .badge {
		display: none;
	}	

	.only-mobile {
		display: block;
	}

	.top-level-menu.only-mobile .icon-Close {
		display: inline-block !important;
		margin-left: auto;
		justify-content: flex-end;
  	}

	.submenu_back-button {
		display: block;
		text-align: center;
		margin-bottom: 0.5rem;
	}

	.submenu_back-button ~ .sidebar__close-btn {
    display: none !important;
  }

  .topnav-right .company-name {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 150px;}

 .menu__app-title {
	max-width: 150px;

	}

	/*
	body:has(.menu__case) .submenu_back-button{
		margin-top: 50px;
	}

	body:has(.menu__case) .top-level-menu {
		margin-top: 50px;
	}*/

	body:not(:has(.menu__case)) .submenu_back-button {
		margin-top: 0;
	}

  /* Show submenus fullscreen on mobile */
  .sub-menu {
    position: fixed;
   /* top: var(--menu-height, 40px);*/
    left: 0;
    width: 100vw;
    height: calc(100vh - var(--menu-height, 40px));
    background: var(--system-clr-bg-default);
    z-index: 2000;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.3s ease;
	
  }

  .sidebar {
		display: none;
		flex-direction: column;
		/*height: calc(100vh - var(--menu-height)) !important;*/
		width: 100%;
		max-width: 100vw;
		position: fixed;
		left: 0;
		margin-top: 60px !important;
		overflow-y: hidden;
    	height: 100vh; /* <- FULL viewport height */

  }

  #toggleSidebar:checked ~ .sidebar {
    display: flex; 
  }

	/* Default: show the close button */
	.sidebar__close-btn.only-mobile {
	display: inline-flex;
	text-decoration: none;
	}

	/* Hide first level Close button if any submenu is open */
	.menu__app:has(.menu__app-submenu.submenu--open) .sidebar__close-btn.only-mobile {
	display: none;
	}
}

/* On desktop, always visible inside sidebar at bottom */
@media (min-width: 769px) {
  .sidebar_stick-to-bottom {
    display: flex;
    flex-direction: column;
    position: static;
    height: auto;
    padding: 0;
    background: none;
	background-color: var(--system-clr-bg-default);
	margin-top: auto;
	padding-bottom: 4px;
	flex-shrink: 0;
	border-top: 1px solid var(--system-clr-border-min);
	z-index: 202;
	bottom: 0.5rem;
	left: 0.5rem;
  }

  #toggleUserDetails:checked ~ aside.sidebar .sidebar_stick-to-bottom {
    position: static;
    height: auto;
    overflow: visible;
  }
}

@media (max-width: 1024px) {
  .sidebar-content {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    overflow-y: auto;
    min-height: 0;
	max-height: 50vh;
  }

  .sidebar_stick-to-bottom {
    flex-shrink: 0;
	position: fixed;
	width: 95vw;
    background-color: var(--system-clr-bg-default);
    padding: 0rem 0.5rem;
    border-top: 1px solid var(--system-clr-border-min);
	bottom: 0px;
	padding-bottom: 70px
  }
}

/* Sliding animation from the top */
@keyframes slideIn {
	from {
		transform: translateY(-800px);
		opacity: 1;
	}

	to {
		transform: translateY(0);
		opacity: 1;
	}
}


@media (min-width: 1024px) and (max-width: 1230px) {

	.sidebar-user-wrapper .logout-row{
flex-direction: column;
	}
}


.sub-menu {
	animation: slideIn 0.3s forwards;
}

/* Details tags*/

.details {
	margin-bottom: 1em;
}

.details__summary {
	cursor: pointer;
	border-radius: 99px;
	background-color: white;
	font-size: 1.1rem;
	color: #0E0023;
	font-weight: 600;
	margin: 10px;
	display: flex;
	padding: 9px;
	justify-content: center;
	align-items: center;
	gap: 10px;
	box-shadow: 0px 1px 2px 0px rgba(25, 12, 79, 0.30), 0px 0px 0px 1px rgba(39, 19, 124, 0.10), 0px 0px 0px 3px rgba(25, 12, 79, 0.10);
	max-width: 160px;
	min-width: 160px;
}

.details__summary:hover,
.details__summary:focus {
	background-color: #e7effe;
}

.details__description {
	font-size: 1rem;
	color: #333;
	line-height: 1.5;
	margin-top: 0.5em;
	background-color: var(--body);
	box-shadow: none;
	max-width: 600px;
	padding: 20px;
}

.details__container {
	display: flex;

}

.details .details__summary::marker {
	display: none;
}

/* Pill shaped input field with button inside*/

.input-wrapper {
	position: relative;
	width: 350px;
	border-radius: 20px;
	background: var(--body);
	box-shadow: 0 1px 0 rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.input-wrapper__input {
	border: 1px solid var(--border-main-clr);
	border-radius: 20px;
	width: 350px;
	height: 42px;
	color: var(--text-light);
	font-size: 14px;
	padding: 10px 20px;
	outline: none;
	background: var(--body);
}

.input-wrapper__button {
	border-radius: 20px;
	width: 88px;
	height: 38px;
	position: absolute;
	top: 50%;
	right: 2px;
	transform: translateY(-50%);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	color: white;
	font-size: 14px;
	padding: 0;
	border: none;
	outline: none;
	z-index: 2;
}

.input-wrapper__button.btn--purple {
	background: #7F63F8;

	box-shadow: 0px 0px 0px 2px rgba(106, 76, 237, 0.1),

		0px 0px 0px 1px rgba(61, 22, 235, 1),

		0px 1px 2px 0px rgba(24, 8, 94, 1),

		0px 4px 8px -4px rgba(24, 8, 94, 0.1);
}

.input-wrapper__button.btn--white {
	color: #0e0023;
	font-weight: 600;
	background: #F1EDF3;
	box-shadow: 0 1px 2px rgba(25, 12, 79, .3), 0 0 0 1px rgba(39, 19, 124, .1), 0 0 0 3px rgba(25, 12, 79, .1);
}

.input-wrapper__button.btn--blue {
	background: var(--blue-clr);
	box-shadow: 0 4px 8px -4px rgba(0, 0, 255, 0.10), 0 1px 2px rgba(0, 0, 255, 0.06), 0 0 0 1px rgba(0, 0, 255, 0.1);
}


.input-wrapper__button>span,
.input-wrapper__button>p,
.input-wrapper__button>div {
	margin: 0;
	padding: 0;
}

/* Button grid*/

.buttons__grid {
	display: grid;
	align-items: center;
	gap: 20px;
	grid-template-columns: repeat(2, 1fr);
	max-width: 700px;
	margin-bottom: 2rem;


}

.button-section {
	margin: 0;
	padding: 12px;
	display: flex;
	flex: 1;
	position: relative;
	border: 1px solid var(--border-main-clr);
	border-radius: 9px;
	background-color: var(--btn-card-clr);
	box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.08);
}

.buttons-content {
	width: 100%;
	display: flex;
	gap: 10px;
	align-items: center;

}

.buttons-content .badge i {
	font-size: 24px;
}

.buttons-content .badge {
	min-width: 48px;
	min-height: 48px;
	display: flex;
	justify-content: center;
	align-items: center;
	border-radius: 4px;
}


/* Specific styles for the adjusted badge inside buttons-content */
.buttons-content .badge--adjusted {
    min-height: unset !important;
    display: inline-flex; 
    align-items: center;
    text-align: center;
    border-radius: 99px;
	min-width: 30px;
}



@media (max-width: 768px) {

	.buttons__grid {
		display: flex;
		flex-direction: column;
	}

	.button-section {
		width: 100%
	}

	;
}

/* Badge */

.badge-blue {
	background: var(--app-bg-1, linear-gradient(136deg, #0F6AEB 1.71%, #2DEAFF 100%));
}

.badge-pink {
	background: var(--app-bg-2, linear-gradient(136deg, #B115FF 1.71%, #FFC28A 100%));
}

.badge-purple {
	background: var(--app-bg-4, linear-gradient(136deg, #482BFF 1.71%, #D7B3F3 100%));
}

.badge-green {
	background: var(--app-bg-4, linear-gradient(136.01deg, #19827B 1.71%, #EDFF7E 100%));
}

.badge-teal {
	background: var(--app-bg-4, linear-gradient(136.01deg, hsl(189, 91%, 59%) 1.71%, #35c05f  100%));
}

.badge-yellow {
    background: var(--app-bg-5, linear-gradient(136.01deg, hsl(49, 88%, 61%) 1.71%, hsl(24, 98%, 56%) 100%));
}

.badge-light {
	background: var(--system-clr-light-active);
}

.badge i {
	color: white;
}

.badge.important {
	background-color: #ff000b;
	border: 2px solid transparent;
}

/*BADGE SELECT - MAKE SELECTION FROM BADGE*/

.badge-select__wrapper {
    position: relative;
    display: inline-block;
    width: auto;
}


.badge-select__wrapper .custom-select {
    width: auto;
    min-width: 120px; 
    padding: 5px 30px 5px 12px;
    font-size: 0.875rem;
    font-weight: 600;
    border: 1px solid transparent; 
    border-radius: 99px;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    text-align: center;
}

.badge-select__wrapper i {
	color: #000203;
	margin-right: 4px;
}

.badge-select__wrapper:focus {
	 border-color: rgba(0, 98, 224, 1);
    box-shadow: 0 0 0 2px rgba(91, 155, 213, 0.2);
}

/*BUTTONS*/

.buttons-text p {
	font-size: 14px;
	text-align: left;
	margin: 0;
}

.button-label {
	font-size: 16px;
	line-height: 24px;
	text-align: left;
	font-weight: 650;
	color: var(--label-main-clr);
}

.button--outlined {
	transition: 0.2s ease;
}

.button--outlined:hover,
.button--outlined:active,
.button--outlined:focus {
	background: var(--btn-hover);
	cursor: pointer;
	color: #45474D;
}

/* Arrow icon */
.buttons-content .icon-Chevron-Right {
	margin-left: auto;
	color: var(--Light-text-subtle, #45474D);
	font-size: 20px;
}

.text-blue-500 {
	font-weight: 500;
	color: var(--blue-clr);
}

.text-blue-500 i {
	font-weight: 500;
	color: var(--blue-clr);
	font-size: 24px;
}

#showCard {
	justify-content: center;
	align-items: center;
	cursor: pointer;
}

/* Status badges*/

.badges {
	display: flex;
	gap: 1rem;
}

.badge {
	align-items: center;

	white-space: nowrap;
	width: auto;
	position: relative;
	overflow: hidden;
	text-overflow: ellipsis;
	color: #595959;
	word-break: break-word;
	letter-spacing: -0.28px;
	display: inline-flex;
	justify-content: center;
	gap: 4px;
	padding: 4px 8px;
	border-radius: 99px;
	font-size: 14px;
	line-height: initial;
	font-weight: 500;
	box-shadow: none;
}
.app__badge {
	cursor: pointer;
	text-decoration: none;
}

.app__badge:hover {
	border: 2px solid var(--blue-clr);
	background: var(--system-clr-light-active);
}

.app__badge:hover i {
  color: var(--blue-clr);
}

.menu__app .badge {
	text-decoration: none;
}

.update__badge {
	margin-top: 2px;
}

.sidebar .app__badge {
  width: 40px;
  height: 40px;
  border-radius: 4px;
  padding: 0;
  box-sizing: border-box;
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
}
.badge--complete {
	color: #1D2433CC;
	background-color: #ecf0fc;
}

.badge--error {
	color: #E0593E;
	background-color: #fde3df;
}

.badge--progress {
	color: #0369A1;
	;
	background-color: #dcebff;
}

.badge--success {
	color: #047857;
	background-color: #e4fded;
}

.badge--warning {
	color: #e09a0d;
	background-color: #fdf0d7;
}

.badge__purple {
	color: #fff;
	background-color: var(--btn-secondary-dark);
	background-color: var(--badge-purple);
}

.badge__update {
	color: #000;
	background-color: #abeeff;
	text-decoration: none;
}

.sidebar a .badge__update {
	color: #000;
}

.sidebar__version-container .badge__purple {
	font-weight: 600;
	font-size: 0.8rem;          
	letter-spacing: 0.5px;       
	padding: 0.4em 0.9em;        
	border: none;
	border-radius: 999px;
	cursor: pointer;
	line-height: 1;
}

/* Container Styles */
.text-block {
	background-color: #ffffff;
	border-radius: 8px;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
	padding: 1.5rem;
	max-width: 600px;
	margin: 20px auto;
}

.text-block p {
	line-height: 1.75;
	text-align: left;
	margin-bottom: 1rem;
}

/* Headings inside Text Block */
.text-block h3 {
	color: #2a2a2a;
	margin-top: 0;
	margin-bottom: 0.5rem;
	padding-bottom: 0.25rem;
}


.text-block hr {
	border: none;
	height: 1px;
	/* Thin line */
	background-color: #ccc;
	margin: 2rem 0;
}

.dashboard__button {
	max-height: 320px;
	padding: 20px;
	background-color: #fff;
	border-radius: 8px;
	overflow-y: scroll;
	transition: all 0.2s ease;
}

.dashboard__button:hover {
	box-shadow: 0px 6px 24px 0px rgba(0, 0, 0, 0.08), 0px 0px 2px 0px rgba(0, 0, 0, 0.10);
}

.dashboard {
	display: grid;
	grid-template-columns: 3fr 1fr;
	gap: 32px;
	margin: 24px;
}

.dashboard-container {
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 100%;
}


/* Stepper */

.step .number,
.step .icon {
	width: 30px;
	height: 30px;
	border-radius: 50%;
	display: flex;
	justify-content: center;
	align-items: center;
	margin-right: 10px;
	transition: background-color 0.3s;
	font-size: 14px;
}

.step .number {
	background: var(--body);
	border: 1px solid var(--border-main-clr);
	color: var(--text-light);
	font-weight: 630;
}


.steps {
	list-style: none;
	padding: 0;
	position: relative;

}

.step {
	display: flex;
	align-items: center;
	margin-bottom: 10px;
	cursor: pointer;
	transition: background-color 0.3s;
}

.step:hover .number {
	color: var(--blue-clr);
	border-radius: 99px;
	background: var(--body);
	display: flex;
	justify-content: center;
	align-items: center;
	margin-right: 10px;
}

.step .icon {
	display: none;
	justify-content: center;
	align-items: center;
	color: var(--body);
	width: 30px;
	height: 30px;
}

.step .icon-Checkmark {
	font-size: 22px;
	color: var(--text-light);
}

.step.done .number {
	display: none;
}

.steps::before {
	content: '';
	position: absolute;
	left: 14px;
	top: 20px;
	bottom: 20px;
	width: 1px;
	background: var(--border-main-clr);
	z-index: 0;
}

.step {
	display: flex;
	align-items: center;
	margin-bottom: 10px;
	cursor: pointer;
	position: relative;
	z-index: 1;
	border-bottom: none;
}


.step.done .icon {
	display: flex;
	background: var(--blue);
}

.onboarding-steps ul li {
	border-bottom: none;
	justify-content: left;
}

.onboarding-steps ul li p {
	margin-left: 10px;
}

.onboarding-steps ul li:first-child {
	margin-top: 0;
	border-top: none;
}

.step .blue-text {
	color: var(--blue-clr);
	text-align: right;
	font-size: 14px;
	font-style: normal;
	font-weight: 630;
	line-height: 20px;

}

.step-text {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	margin: 0;
}

.step-text .blue-text {
	align-self: flex-start;
	margin-top: 4px;
	color: var(--blue-clr);
	font-size: 14px;
	font-style: normal;
	font-weight: 630;
	line-height: 20px;
}


.step.done .number {
    display: none !important;
}

.step.done .icon {
    display: flex !important;
    background: var(--blue);
    color: #fff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    justify-content: center;
    align-items: center;
}


/* Object position example */

.object-position-container {

	overflow: hidden;
	margin: 10px;
	border: 1px solid #ccc;
	position: relative;
}

.object-position-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.box {
	background-color: var(--purple);
	color: white;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 10px;
}


.content p {
	background-color: var(--border-main-clr);
}

.overflow-example {
	width: 200px;
	height: 100px;
	margin: 10px;
	padding: 5px;
	border: 1px solid #ccc;
	color: #333;

}

/*Modal*/

.modal {
	position: fixed;
	min-height: 100vh;
	width: 100%;
	top: 0;
	left: 0;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 5000;
	overflow: auto;
}

#modal-title {
	margin-bottom: 1rem;
}

.modal-content h2 {
	margin-bottom: 1rem;
}

.modal-close {
	font-size: 18px;
	text-decoration: none;
	color: inherit;
	position: absolute;
	right: 1rem;
	top: 4px;
}

/*Modal header*/
.modal__header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	color: var(--main-txt-clr);
}

.modal__header-buttons {
	display: flex;
	gap: 0.6rem;
}


/* Base modal styles */

/*Removed to fix url bug, 19.08 Maria*/
/*
.modal:target {
	display: flex;
}*/


/* Modal content variations */
.modal-content {
	background-color: var(--body);
	width: 75%;
	max-width: 1000px;
	height: 75%;
	overflow-y: auto;
	padding: 32px;
	border-radius: 8px;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	border: 1px solid var(--border-light-clr);
	transition: transform 1s;
	position: absolute;
	top: 50%;
		left: 50%;
		-ms-transform: translateX(-50%) translateY(-50%);
		-webkit-transform: translate(-50%, -50%);
		transform: translate(-50%, -50%);
}

/* Small modal */
.modal--small .modal-content {
	width: 400px;
	max-height: 40%;
	height: auto;
}

/* Medium modal */
.modal--medium .modal-content {
	width: 500px;
	max-height: 40%;
}

/* Large modal */
.modal--large .modal-content {
	width: 700px;
	max-height: 50%;
}


/* Overlays */
.modal-overlay {
	left: 0;
	position: absolute;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, var(--overlay-bg-opacity));
	backdrop-filter: none;
}

/* Modifier to disable blur */
.modal__overlay--add-blur {
	backdrop-filter: blur(var(--overlay-blur));
}

.modal-no-overlay .modal-overlay {
	background-color: transparent;
	border: 1px solid var(--border-main-clr);
	backdrop-filter: none;
	
}

/* Responsive adjustments */
@media (max-width: 600px) {
	.modal-content {
		width: 90%;
		max-width: 90%;
		padding: 10px;
		max-height: 90%;
		border-radius: 5px;
		position: relative;
		height: auto;
		top: auto;
		left: auto;
		transform: none;
	}
}

/*Delete modal*/

.box-card {
	border: 1px solid rgba(128, 128, 128, 0.5);
	border-radius: 5px;
	height: auto;
	padding: 2rem;
	background-color: white;
	box-shadow: 1px 1px 11px rgba(128, 128, 128, 0.3);
}

.confirm-modal {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	text-align: center;
	background-color: #fff;
	z-index: 5000;
	animation: pop-in .15s;
	animation-iteration-count: 1;
	animation-fill-mode: forwards;
}

.modal-wrapper {
	z-index: 11;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
}

.modal__text-delete {
	text-align: center;
	font-weight: 400;
}

/*Dialog*/

dialog, .dialog {
	background-color: var(--body);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	border: 1px solid var(--border-light-clr);
    border-radius: 8px;
    padding: 20px;
    max-width: 90%;
    font-size: 16px;
}

dialog::backdrop, .dialog::backdrop {
    background-color: rgba(0, 0, 0, var(--overlay-bg-opacity));
	backdrop-filter: blur(var(--overlay-blur)); 
}

/* For removing blur */
.dialog--no-blur::backdrop {
    backdrop-filter: none;
}

/*Tooltip*/

/* Tooltip Container */
.tooltip {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.tooltip::before {
    content: attr(data-tip);
    position: absolute;
    white-space: normal;
    visibility: hidden;
    opacity: 0;
    background-color: var(--tooltip-bg);
    color: var(--main-txt-clr);
    text-align: center;
    padding: 8px 12px;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    min-width: 300px; 
    max-width: 450px; 
    word-wrap: break-word;
    box-sizing: border-box;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%);
}

.tooltip:hover::before,
.tooltip:focus::before {
    visibility: visible;
    opacity: 1;
}

@media (min-width: 500px) {

	.tooltip::before {
		margin-left: 0;
		right: 100%;
		left: auto;
		transform: translateX(50%);
	}

	.tooltip::before {
		margin-left: 0;
		left: 100%;
		right: auto;
		transform: translateX(-50%);
	}
}


@media (max-width: 600px) {
	.tooltip::before {
		bottom: 100%;
		font-size: 12px;
		padding: 4px 8px;
	}
}

@media (max-width: 400px) {

	/* Option to disable tooltips on very small devices */
	.tooltip::before {
		display: none;
	}
}

/* Base styles for the toggle switch */

.toggle-switch {
	position: relative;
	display: inline-block;
	width: 40px;
	height: 20px;

}

.toggle-switch__checkbox {
	opacity: 0;
	width: 0;
	height: 0;
}

.toggle-switch__label {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #CCCCCC;
	transition: .4s;
	border-radius: 20px;

}

.toggle-switch__label:before {
	position: absolute;
	content: "";
	height: 14px;
	width: 14px;
	left: 3px;
	bottom: 3px;
	background-color: white;
	transition: .4s;
	border-radius: 50%;
}

.toggle-switch__icon {
	display: none;
	position: absolute;
	top: 50%;
	left: 75%;
	transform: translate(-50%, -50%);
	content: '';
	color: var(--btn-purple);
	font-size: 14px;
	transition: all .8s ease;
}

/* Style for checkbox checked */
.toggle-switch__checkbox:checked+.toggle-switch__label {
	background-color: var(--btn-purple);
}

.toggle-switch__checkbox:checked+.toggle-switch__label:before {
	transform: translateX(20px);

}

.toggle-switch__checkbox:checked+.toggle-switch__label .toggle-switch__icon {
	display: block;
}

/* APP INTERNAL UPPER MENU*/

.menu__app {
	display: flex;
	align-items: center;
	width: 100%;
	padding: 0.2rem 0.8rem;

	border-bottom: 1px solid var(--system-clr-border-min);
	background-color: var(--system-clr-bg-default);
	flex-wrap: wrap;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap; 
  gap: 0.5rem;
  position: relative; /* For submenu positioning context */
}


.topnav-left,
.topnav-right {
  flex: 0 0 auto; 
}

.topnav-center {
  flex: 1 1 0; /* Flexible width */
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0.5rem 1rem;
  min-width: 0;
  max-width: 1400px;
}

.menu__app .item--active {
	text-decoration: underline;
  	text-underline-offset: 4px;
}

.menu__app-title {
	font-size: 1.2rem;
	line-height: 1.1; /* ✅ slightly taller line height */
	padding-top: 2px;
	padding-bottom: 2px;

	/* existing ellipsis styles */
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;

	max-width: 300px;
	display: block;
}

.menu__app .theme-toggle {
	position: relative;
	top: 0px;
	right: 0px
}

.app__link {
	position: relative;
	color: var(--main-txt-clr);
	white-space: nowrap;
	text-decoration: none;
	font-size: 1rem;
  cursor: pointer;

  font-weight: 400;
  
}

.menu__app {
    position: relative;
}

/* Submenus */

.app__link {
  position: relative; /* anchor the submenu here */
}
.menu__app-submenu {
  display: none;
  z-index: 1000;
  background-color: var(--system-clr-bg-default);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  gap: 2rem;
  padding: 1rem 0;
  border-top: 1px solid var(--system-clr-border-min);
  border-radius: 0 0 8px 8px;
  min-width: 360px;
  width: max-content;
  position: fixed;
  top: 59px;
}

menu__app {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  /* your existing styles */
}

.menu__app-submenu.submenu--open {
  display: flex;
}

.menu__app-submenu {
  display: none;
}

.menu__app-submenu.submenu--open {
  display: flex;
}

.menu__app-submenu.submenu--fullwidth {
  position: fixed;;
  top: 59px;
  left: 0;
  right: 0;
  width: 100vw;
  max-width: none;
  z-index: 1000;
  border-radius: 0px;
}

.menu__app-submenu.submenu--fullwidth.submenu--open {
  display: flex;
}

.submenu-column {
    display: flex;
    flex-direction: column;
    min-width: 180px;
	padding: 0rem 1rem;
}


.submenu-column {
  padding: 0 1rem;
}

.submenu-column + .submenu-column {
  border-left: 1px solid var(--border-light-clr);;
}

.menu__app__submenu-heading {
	font-weight: 500;
  margin-bottom: 0.75rem;
  font-size: 1.125rem;
 
}

.app__link-title:hover {
	color: var(--blue-clr)
}

.submenu-column:last-child {
	border-right: none;
}

.app__link-title .item--active {
	color: var(--blue-clr)
}

/* Submenu list styling */
.menu__app-submenu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu__app-submenu-list li, .menu__app-submenu-list li a {
  margin-bottom: 0.5rem;
  text-decoration: none;
	font-size: 0.875rem;
}

.menu__app-submenu-list li:hover {
	text-decoration: underline;
	text-underline-offset: 4px;
}

.app__link-title {
  text-decoration: none;
}


/* User section opening on right*/

.menu__app-extension-wrapper {
	display: none;
  	left: auto;
  	right: 0px;
  	position: absolute;
  	overflow-x: auto;
  	overflow-y: auto;
  	width: 700px; 
  	border: none;
	border-top-width: medium;
    border-top-style: none;
    border-top-color: currentcolor;
  	border-top: 1px solid var(--system-clr-border-min);
  	background-color: var(--system-clr-bg-default);
  	box-shadow: 0px 12px 24px -8px rgba(0, 0, 0, 0.16);
 	z-index: 2000;
  	padding: 8px;
  	top: 59px;
	padding-bottom: 1rem;
}

#toggleUserMenu:checked ~ .menu__app-extension-wrapper {
  display: block;
}

.location-dropdown {
  display: flex;
  flex-direction: column;
  gap: 0.5rem; 
  padding: 0;  
  margin-top: 0.5rem;

}

.store-dropdown-wrapper {
  position: relative; /* makes the dropdown anchor to this */
  display: inline-block;
}

.store-dropdown {
  position: absolute;
  top: 100%; /* directly under the trigger */
  left: 0;
  z-index: 3000;
  width: 250px;
  background: var(--system-clr-bg-default);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  padding: 1rem;
  border: 1px solid var(--system-clr-border-min);
}
.account-switch-wrapper {
  position: relative;
  overflow: visible; /* allow dropdown to overflow */
  margin-bottom: 4px;
}

.menu__app-extension-wrapper {
  overflow: visible; /* important if this wraps everything */
}

.extension-grid .location-dropdown {
  position: absolute;
  top: 85%;
  right: 0;
  z-index: 3000;
  width: 220px;
  background: var(--location-dropdown-bg);
  border-top: none;
   /*box-shadow: 0px 8px 12px -4px rgba(0, 0, 0, 0.12);*/
  padding: 0.5rem;
  border-radius: 0 0 4px 4px;
}

.extension-grid .location-list {
	overflow-y: auto;
	max-height: 300px;
}

.location-dropdown.hidden {
  display: none;
}

/* Base styles */
.menu__app .theme-toggle {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.menu__app .btn--square {
	height: 42px;
	width: 42px;
}

.menu__app .app__badge {
	height: 42px;
	width: 42px;
	border-radius: 4px;
}


.menu__app .app__badge i {
  font-size: 26px;
}

.menu__app .badge i {
  font-size: 26px;
}

.menu__app-extension .extension-grid {
	display: grid;
  	margin-right: 0;
  	grid-template-columns: 1fr 1fr 1fr;
  	padding-top: 0;
	gap: 0.5rem
}

.extension-grid .user-links {
	border-right: 1px solid var(--system-clr-border-min);
	padding-right: 0.5rem;
	min-width: 230px
}
.extension-grid .user-links:last-child {
	border-right: none;
}

.extension-grid .accordion__label {
	padding: 0;
}

.user-links_border-b-1 {
	border-bottom: 1px solid var(--system-clr-border-min);
}

/*Language*/

.menu__app-extension .extension-grid  .sandbox-nav__link i {
	color: var(--main-txt-clr);
	font-size: 20px;
}

.menu__app-extension .extension-grid  .sandbox-nav__link:hover i {
	color: var(--blue-clr);
}

.language-switch i {
	font-size: 20px;
}

.btn_language-change .icon-Checkmark {
  display: none;
  margin-left: 5px;
  color: #2767E3;
  font-size: 20px;
}
.btn_language-change {
 	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 8px;
	padding: 8px 12px;
  	text-decoration: none;
}
.btn_language-change.active {
  color: #2767E3;
}

.btn_language-change.active .icon-Checkmark {
    display: inline-block;
} 

.btn_language-change:hover {

	color: #2767E3;
}

.btn_language-change:hover i {
	color: #2767E3;
}

.app__link:hover {
	color: var(--link-main-clr);
}

.menu__app-extension .extension-grid .language-btn i {
  color: var(--system-clr-text-default); 
}

/* Optional: style active checkmark separately */
.menu__app-extension .extension-grid .language-btn.active .icon-Checkmark {
  color: var(--system-clr-accent); 

}

.menu__app-extension .extension-grid .language-btn.active {
	background-color: var(--blue-clr-light, rgba(59, 130, 246, 0.08));
}

.language-btn .icon-Checkmark {
  display: none;
}

.language-btn.active .icon-Checkmark {
  display: inline-block; 
  margin-left: 4px; 
  color: #2767E3;
}


.language-btn.active {
  
  color: #2767E3;
}

/* Default: Hidden */
.menu__extra-section {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--body);
    border-top: 1px solid var(--system-clr-border-min);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    z-index: 300;
}



/* Show when .nameWrapper is focused */
.menu__dropdown:focus-within .menu__extra-section {
    display: block;
}

/* Ensure clicking outside closes it */
.menu__item.name-initial {
    cursor: pointer;
    outline: none; 
}
.name-initial span {
    opacity: 0; 
    color: transparent; 
}

.name-initial span.ready { 
    opacity: 1; 
    visibility: visible; 
    color: #000203; 
}

.menu__extra-section {
    transition: opacity 0.3s ease-in-out, transform 0.2s ease-in-out;
    opacity: 0;
    transform: translateY(-10px);
}

.menu__dropdown:focus-within .menu__extra-section {
    opacity: 1;
    transform: translateY(0);
}

.topnav-right {
	display: flex;
  	gap: 0.8rem;
  	align-items: center;
}

.topnav-right a {
	text-decoration: none;
	justify-content: center;
  	display: flex;
}

.topnav-right a i {
	font-size: 22px;
  	color: var(--main-txt-clr)
}

.topnav-right .theme-toggle {
	margin-right: 50px;
}

/* Base styles */
.topnav-right .theme-toggle,
.topnav-mobile-nav #userInitials {
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.topnav-right .company-name {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 200px; 
  font-weight: 600;
  line-height: 1.2;
}

/* Show full name on hover */
.topnav-right .company-name[title]::after {
  content: attr(title);
  display: none;
}

.topnav-right .company-name:hover {
  cursor: help;
}


.menu__app-extension-wrapper .sidebar-settings-wrapper  {
	border-right: 1px solid var(--system-clr-border-min);
	padding-right: 0.5rem
	
};

  .topnav-mobile-nav #userInitials {
    position: static;
    margin-left: auto;
  }

  .menu__app .theme-toggle {
    position: static;
    margin-left: auto;
  }

  

  .topnav-right .theme-toggle {
	margin-right: 0px;
  }

  #topnavMenu {
    display: flex;
    align-items: center;
    gap: 2rem;
  }

  .topnav-toggle-button {
    display: none;
  }

  .topnav-mobile-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
	padding-right: 0px;
    background: transparent;
    position: absolute;
    margin-top: 0.8rem;
    right: 0.5rem;
    z-index: 1000;
  }

  .topnav-mobile-nav .badge {
	display: none;
  }

  .topnav-toggle-button,
  .menu__app-mobile-title{
    display: none; /* hides hamburger + title on desktop */
  }

  #topnavMenu {
    display: flex !important;
  }



@media (max-width: 1024px) {
	.topnav-right .company-name {
		max-width: 150px;
	}

	.topnav-center .app__link .item--active{
	text-decoration: none !important;
	font-weight: normal !important;
	background-color: var(--system-clr-light-active)!important;
	border-radius: 4px;
	}

	.account-switch-wrapper {
		position: relative;
	overflow: visible;
	width: 91vw;
	}

	.extension-grid .account-switch-wrapper {
	position: relative;
	overflow: visible;
	width: 80vw;
	}
 
	.extension-grid .location-dropdown {
		width: 80vw;
		position: relative;
		margin-left: -0.5rem;
	}

	.extension-grid .location-dropdown .location-list {
		max-height: 180px;
		overflow-y: auto;
	}

	.topnav-center {
		gap: 0 ; 
		flex-direction: column;
		flex: none;
		display: flex;
		flex-wrap: wrap;
		justify-content: flex-start;
		min-width: 0;
		position: absolute;
		top: 3rem;
		width: 95vw;
  	}

	#topnavMenu {
		display: none;
	}

	#mobileTopnavToggle:checked ~ #topnavMenu {
		display: flex;
		flex-direction: column;
		position: fixed;
		top: 0;
		left: 0;
		width: 100vw;
		height: 100vh;
		background-color: var(--system-clr-bg-default);
		z-index: 999;
		overflow-y: auto;
	}

	.menu__app .theme-toggle {
		position: absolute;
		top: 0.5rem;
		right: 3.5rem; 
		z-index: 10;
	}

	.topnav-toggle-button i {
  		font-size: 22px;
	}

	.topnav-mobile-nav .badge i{
		font-size: 26px;
	}

	.topnav-toggle-button {
		display: block;
		cursor: pointer;
	}

	#mobileTopnavToggle:checked ~ #topnavMenu {
		display: flex;
		flex-direction: column;

		background: var(--system-clr-bg-default);
		align-items: flex-start;
		height: 100vh;
	}

	.app__link-title {
		font-size: 1rem;
		cursor: pointer;
		text-decoration: none;
		display: block;
		font-weight: 400;
		align-items: center;
		padding: 12px 8px;
		margin-bottom: 4px;
		color: var(--main-txt-clr);
		width: 90vw;
		border-radius: 4px;
	}

	#topnavMenu .badge,
	#topnavMenu .menu__app-title{
		display: none;
	}

	.menu__app-submenu {
		position: static; 
		width: 100%;
		margin-top: 0;
		box-shadow: none;
		border: none;
		border-radius: 0;
		flex-direction: column;
		padding: 0.5rem 1rem;
		background: var(--system-clr-bg-default);
		gap: 1rem;
	}

	.menu__app-submenu.submenu--open {
		display: flex;
	}

	.submenu-column {
		width: 100%;
	}

	.menu__app {
		padding: 0px;
		border-bottom: none;
	}
	#topnavMenu {
		display: none;
	}

	#topnavMenu {
		display: none;
	}

	/* stop body scroll when open */
	body.menu-open {
		overflow: hidden;
	}

  .topnav-mobile-nav {
	background: var(--system-clr-bg-default);
	margin-top: 0px;
    background-color: var(--system-clr-bg-default);
    background: var(--system-clr-bg-default);
    gap: 0.75rem;
    border-bottom: 1px solid var(--border-main-clr);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--system-clr-bg-default);
    padding: 0.5rem;
    height: 60px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
	width: 100vw;
  }

  .topnav-mobile-nav .badge {
	text-decoration: none;
  }

  #topnavMenu {
    display: none;
  }

  #mobileTopnavToggle:checked ~ #topnavMenu {
	display: flex;
    flex-direction: column;
    position: fixed;
    background-color: var(--system-clr-bg-default);
    top: 60px;
    left: 0;
    right: 0;
    height: calc(100vh - 600px0px);
    background: var(--system-clr-bg-default);
    overflow-y: auto;
    z-index: 999;
	width: 100vw;
	padding: 0.5rem;
  }

  .menu__app-mobile-title {
	font-size: 1rem;
	text-decoration: none;
	display: block;
	width: 100%;
	align-items: center;
	background-color: var(--system-clr-bg-default);
	padding: 0px;
	font-weight: 700;
	line-height: 1;
	word-wrap: break-word;
	overflow-wrap: break-word;
	white-space: normal;
	max-width: 100%;
  }

  .app__link {
		position: unset;
	}

  .menu__app-submenu {
    background: var(--system-clr-bg-default);
    padding: 0.5rem;
	padding-top: 0rem;
	display: none;
    flex-direction: column;
    background: var(--system-clr-bg-default);
    width: 100%;
    height: 100%;
    overflow-y: auto;
    position: absolute;
    top: -35px;
    left: 0;
    z-index: 20;

  }

  .menu__app-submenu.submenu--open {
    display: flex;
	height: 100vh;
	/*margin-top: 50px;*/
  }

  /* Hide top-level menu if a submenu is open */
  .menu__app-submenu.submenu--open ~ .top-level-menu {
    display: none !important;
  }

  .top-level-menu {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-bottom: 0.5rem;
  }

  .back-to-main.only-mobile {
    font-weight: bold;
    cursor: pointer;
	text-align: center;
  }

  .menu__app-submenu.submenu--fullwidth {
  	top: 70px;
	}

	.submenu-column + .submenu-column {
		border-left: none;
	}
		
	.submenu-column {
		padding: 0px;
	}

	.hide-on-mobile {
		display: none !important;
	}

	.menu__app-submenu {
		animation: slideIn 0.3s forwards;
	}

	.app__link-mobile-title {
		font-size: 1.2rem;
		line-height: 1;
	}

	.menu__app-extension .extension-grid {
		display: flex;
		flex-direction: column;
	}

	.menu__app-extension-wrapper {
		width: 100vw;
		height: 100vh;
		top: 59px;
		padding: 0.5rem;
		display: flex;
		
	}

	#LogoutBtn {
  width: 250px;
}

	.extension-grid .user-links {
		border-right: none;
	}

	.extension-grid {
		display: flex;
		flex-direction: column;
	}

	.extension-grid .user-links {
		order: 1;
		gap: 0.5rem;
	}

	.extension-grid .sidebar-settings-wrapper{
		order: 2;
	}

	.extension-grid .accordion .accordion__label {
		font-weight: normal;
		border-bottom: none;
		background-color: transparent;
		margin-left: 14px;
		
	}

	.extension-grid .sandbox-nav__link {
		padding: 1rem;
	}

	

	.extension-grid .extension-buttons {
		order: 3;
	}

	.user-links .mb-4 {
		margin-bottom: 0px;
	}

	.user-links .mt-4 {
		margin-top: 0px;
	}

	.user-links {
		padding: 1rem;
		padding-top: 0rem;
	}

	.extension-grid > div:nth-child(2) {
		padding: 1rem;
	}

	.user-links_border-b-1 .mr-4 {
		margin-right: 0px;
	}



	/* Default: Mobile view (accordion behavior active) */
	.menu__app-extension-wrapper .accordion__label {
	display: block;
	border: none;
	border-bottom: 1px solid var(--border-main-clr);
	background-color:  var(--system-clr-bg-default);
	border-radius: 0px;
	}

	.menu__app-extension-wrapper .accordion__label i {
	color: var(--main-txt-clr);
	font-size: 22px;
	}

	.menu__app-extension-wrapper .accordion__content  {
		background-color: var(--system-clr-bg-default);
		width: 90vw;
		
	}



	.app__link,
	a.app__link  {
		width: 100%;
		padding: 0px;
		border-radius: 4px;
		margin: 0px
	}

	.app__link:hover {
	background-color: var(--system-clr-light-hover);
	border-radius: 4px;
	text-decoration: underline !important;
	color: var(--blue-clr) !important;
	text-underline-offset: 4px;
	}

	.app__link-title {
	width: 100%;
	}

	 .topnav-center {
    display: none;
  }

  #mobileTopnavToggle:checked ~ #topnavMenu .topnav-center {
    display: flex;
    flex-direction: column;
  }

}

/* Alerts */

@keyframes shrinkAlert {
	0% {
		min-height: 60px;
		min-width: 80px;
	}

	100% {
		min-height: 60px;
		max-width: 400px;
	}
}

/* Common styles for all alerts */
.alert {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin: 1rem;
	padding: 0.8rem;
	border-radius: 8px;
	color: #303030;
	min-height: 60px;
	min-width: 90px;
	font-weight: 500;
	animation: shrinkAlert 0.3s forwards;
	transition: background-color 0.3s;
	cursor: pointer;
	z-index: 990;
	position: fixed;
	right: 20px;
}

/* No collapse animation */
.alert--no-collapse {
	animation: none;
}

/* Positioning classes */
.alert--position-bottom {
	bottom: 20px;
}

.alert--position-top {
	top: 20px;
}

/* Regular alerts */
.alert--error {
	background-color: #dc3545;
}

.alert--info {
	background-color: #40c4ff;
}

.alert--warning {
	background-color: #f1c40f;
}

.alert--success {
	background-color: #28a745;
}

/* Soft alerts */
.alert--error-soft {
	background-color: #f8d7da;
	position: relative;
}

.alert--info-soft {
	background-color: #d1ecf1;
	position: relative;
}

.alert--warning-soft {
	background-color: #fff3cd;
	position: relative;
}

.alert--success-soft {
	background-color: #d4edda;
	position: relative;
}

.alert--neutral-soft {
	background-color: #e2e3e5;
	position: relative;
}

/* Icons and text colors */
.alert i,
.alert__message {
	color: #303030;
}

.alert--error i,
.alert--success i,
.alert--error .alert__message,
.alert--success .alert__message {
	color: white;
}

/* Title icon display */
.alert__title i {
	display: block;
}

.alert:hover .alert__title i {
	display: none;
}

/* Close button styles */
.alert__close {
	display: none;
	cursor: pointer;
	position: absolute;
	right: 8px;
	top: 8px;
}


/* Do not hide the icon when close button is displayed */
.alert:hover .alert__title i {
	display: block;
	/* Ensure the icon remains visible */
}

.alert:hover .alert__close {
	display: block;
}

.alert--soft .alert__close {
	display: none;
	position: absolute;
	right: 8px;
	top: 8px;
}

.alert--soft:hover .alert__close {
	display: block;
}

.alert__close i {
	font-size: 20px;
}

/* Animation for no collapse alerts */
.alert--no-collapse {
	display: flex;
	max-width: 400px;
}

.alert--no-collapse .alert__expand i {
	font-size: 28px;
}

/* Expand and title styles */
.alert__expand {
	display: flex;
	align-items: center;
	justify-content: center;
	margin-right: 1rem;
	padding-right: 1rem;
	border-right: 1px solid #303030;
}

.alert--error .alert__expand,
.alert--success .alert__expand {
	border-right: 1px solid white;
}

.alert__expand,
.alert__title {
	display: flex;
	align-items: center;
	padding: 1rem;
	margin: 0;
	min-height: 50px;
}

.alert__message {
	margin: 0 1rem;
	flex-grow: 1;
	display: flex;
	align-items: center;
}

/* Responsive adjustments */
@media (max-width: 600px) {
	.alert {
		right: 0px;
		padding: 0.3rem;
		max-width: 100%;
		max-height: 200px;
		overflow-y: auto;
	}

	.alert .alert--no-collapse {
		padding: 0;
	}

	.alert__close {
		display: block;
		position: absolute;
		top: 8px;
		right: 8px;
	}

	.alert__message {
		margin: 0 0.5rem;
		flex-grow: 1;
		display: flex;
		align-items: center;
		font-size: 0.875rem;
		white-space: normal;
	}

	.alert--soft .alert__close {
		display: block;
	}
}

/* List with icon */

.list {
	list-style: none;
	padding-left: 0;
}

.list__item {
	display: flex;
	align-items: flex-start;
	margin-bottom: 0.5rem;
	line-height: 1.5;
}

.list__item i {
	margin-right: 0.5rem;
	align-self: center;
	font-size: 1.5rem;
	vertical-align: middle;
}

.list__text {
	display: inline;
}

/* LOADER */

/* Loader Container Styling */
.loader-container {
	position: relative;
	width: 300px;
	height: 200px;
	border: 1px solid var(--border-main-clr);
	border-radius: var(--border-radius);
	margin: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
}

.loader-container--inline {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 20px;
	font-size: 1.2em;
	height: auto;
	border: none;
}

.loader-container--parent {
	position: relative;
}

/* Loader Block */
.loader {
	max-width: 50px;
	width: 50px;
	height: 50px;
	margin: 0 auto;
	border: 5px solid var(--loader-clr, #ccc);
	animation: spin 1s linear infinite;
	border-top: 5px solid var(--loader-accent-clr, #333);
	border-radius: 50%;
}

@keyframes spin {
	0% {
		transform: rotate(0deg);
	}

	100% {
		transform: rotate(360deg);
	}
}

/* Modifier: Centered on screen */
.loader--center {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

/* Modifier: Top-right corner */
.loader--top-right {
	position: absolute;
	top: 10px;
	right: 10px;
}

/* Modifier: Top-left corner */
.loader--top-left {
	position: absolute;
	top: 10px;
	left: 10px;
}

/* Modifier: Bottom-left corner */
.loader--bottom-left {
	position: absolute;
	bottom: 10px;
	left: 10px;
}

/* Modifier: Bottom-left corner */
.loader--bottom-right {
	position: absolute;
	bottom: 10px;
	right: 10px;
}

/* Modifier: Fixed centered on screen */
.loader--fixed-center {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

/* Modifier: Inline */
.loader--inline {
	display: inline-block;
	margin: 0;
}

/* Modifier: Centered within parent */
.loader--center-parent {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}


/*Loader with background overlay*/

.loader-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: var(--overlay-bg);
	z-index: 9999;
	display: none;
}
/* Added by AS */
.loader-overlay--active {
	display: flex;
	align-items: center;
	justify-content: center;
}

.loader-overlay__spinner {
	width: 50px;
	height: 50px;
	border: 5px solid var(--loader-clr);
	border-top: 5px solid var(--loader-accent-clr);
	border-radius: 50%;
	animation: loader-overlay__spin 1s linear infinite;
}

/* Loader animation */
@keyframes loader-overlay__spin {
	0% {
		transform: rotate(0deg);
	}

	100% {
		transform: rotate(360deg);
	}
}

/* Draggable */
.draggable {
	position: absolute;
	cursor: move;
	display: block;
	width: 100%;
}

.dragzone {
	width: 100%;
	height: 100%;
	background-color: transparent;
	cursor: move;
}

.draggable--with-bg {
	background-color: var(--border-main-clr);
	padding: 1rem;
	border-radius: 8px;
	width: 100%;
}

/* Notification toast */

:root {
	--ch1: #05478a;
	--ch2: #0070e0;
	--cs1: #005e38;
	--cs2: #03a65a;
	--cw1: #c24914;
	--cw2: #fc8621;
	--ce1: #851d41;
	--ce2: #db3056;
}

.toast-panel {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	position: absolute;
	padding: 0 1rem;
	height: 100%;
	min-height: 20rem;
	min-width: 375px;
}

.toast-item {
	overflow: hidden;
	max-height: 0;
	opacity: 0;
	width: 100%;
	max-width: 20rem;
	transition: all 0.3s ease;
}

.toast-checkbox:checked~.toast-panel .toast-item {
	max-height: 0;
	opacity: 0;
}

#t-help:checked~.toast-panel #toast-help-item,
#t-success:checked~.toast-panel #toast-success-item,
#t-warning:checked~.toast-panel #toast-warning-item,
#t-error:checked~.toast-panel #toast-error-item {
	max-height: 15rem;
	opacity: 1;
}

.toast {
	background-color: #232b2b;
	background: var(--bg);
	color: #f5f5f5;
	padding: 2rem 2rem 1rem 2rem;
	text-align: center;
	border-radius: 2rem;
	position: relative;
	font-weight: 300;
	margin: 1.75rem 0 1rem;
	text-align: left;
	transition: all 0.3s ease;
}

.toast:before {
	content: "";
	position: absolute;
	min-width: 5.5rem;
	max-width: 7rem;
	width: auto;
	height: 6rem;
	background-repeat: no-repeat;
	background-size: 100% 100%, 100% 100%, 100% 100%, 100% 100%, 100% 100%, 100% 100%, 100% 100%, 100% 100%, 1.625rem 1.625rem, 1.625rem 1.625rem, 100% 100%, 100% 100%;
	background-position: 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, calc(100% - 1.75rem) 2.85rem, calc(100% - 1.75rem) 2.95rem, 0 0, 0 0;
	bottom: 0rem;
	left: 0rem;
	z-index: 0;
	border-radius: 0 0 0 2rem;
}

.toast:after {
	content: "";
	position: absolute;
	width: 3.5rem;
	height: 3.5rem;
	background: var(--clr);
	top: -1.75rem;
	left: 2rem;
	border-radius: 3rem;
	padding-top: 0.2rem;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 2.25rem;
}

.toast h3 {
	font-size: 1.35rem;
	margin: 0;
	line-height: 1.35rem;
	font-weight: 300;
	position: relative;
}

.toast h3:before,
.toast-icon:before {
	border: 0.5rem solid #fff0;
	width: 0;
	height: 0;
	position: absolute;
	content: "";
	left: -3.45rem;
	border-top: 1rem solid var(--clr);
	border-left: 1rem solid var(--clr);
	top: -0.4em;
	transform: rotate(-96deg) skewX(30deg);
	border-radius: 0.5rem;
}

.toast p {
	position: relative;
	font-size: 0.95rem;
	z-index: 1;
	margin: 0.25rem 0 0;
}

.close {
	position: absolute;
	width: 1.35rem;
	height: 1.35rem;
	text-align: center;
	right: 1rem;
	cursor: pointer;
	border-radius: 100%;
	background: none;
	border: none;
	font-size: 1.8rem;
	line-height: 1.35rem;
	color: #f5f5f5;
}

.close:hover {
	background: #f5f5f5;
	color: var(--clr);
}

.toast.help {
	--clr: var(--ch1);
	--bg: var(--ch2);
}

.toast.help:after,
.icon-help:after {
	content: "?";
}

.toast.success {
	--clr: var(--cs1);
	--bg: var(--cs2);
}

.toast.success:after,
.icon-success:after {
	content: "L";
	font-size: 1.7rem;
	font-weight: bold;
	padding-bottom: 0.5rem;
	transform: rotateY(180deg) rotate(-38deg);
	text-indent: 0.15rem;
}

.toast.warning {
	--clr: var(--cw1);
	--bg: var(--cw2);
}

.toast.warning:after,
.icon-warning:after {
	content: "!";
	font-weight: bold;
}

.toast.error {
	--clr: var(--ce1);
	--bg: var(--ce2);
}

.toast.error:after,
.icon-error:after {
	content: "+";
	font-size: 3rem;
	line-height: 1.2rem;
	transform: rotate(45deg);
}

.toast-icons {
	display: none;
	flex-direction: row;
	gap: 1rem;
}

.toast-icons.show {
	display: flex;
}

.toast-icon {
	width: 3.75rem;
	height: 3.75rem;
	border-radius: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	cursor: pointer;
	position: relative;
}

.toast-icon:before {
	left: 0.7rem;
	top: 2.4em;
	transform: rotate(-96deg) skewX(30deg);
}

.toast-icon:after {
	font-size: 2rem;
	font-weight: bold;
}

.icon-error:after {
	font-size: 3.6rem;
	line-height: 2rem;
	font-weight: 500;
	padding-top: 0.25rem;
	max-height: 2rem;
}

.icon-help {
	background: #0070e0;
	--clr: #0070e0;
}

.icon-success {
	background: #03a65a;
	--clr: #03a65a;
}

.icon-warning {
	background: #fc8621;
	--clr: #fc8621;
}

.icon-error {
	background: #db3056;
	--clr: #db3056;
}

.toast-checkbox {
	display: none;
}

/* Add card*/

.card--add-new {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 300px;
	height: 270px;
	border: 1px solid var(--border-main-clr);
	border-radius: 8px;
	background-color: var(--body);
	text-align: center;
	position: relative;
	overflow: hidden;
	cursor: pointer;
}


.card__link--add-new {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	color: var(--blue-clr);
	width: 100%;
	height: 100%;
	position: relative;
}

.card__icon-wrapper {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 300px;
	height: 270px;
}

.card__icon--add-new {
	font-size: 110px;
	color: var(--blue-clr);
	position: relative;
	z-index: 2;
}

.icon-overlay {
	position: absolute;
	top: -7px;
	left: 0;
	background: var(--icon-overlay-gradient);
	z-index: 3;
	pointer-events: none;
	width: 300px;
	height: 270px;
}

.card--add-new:hover {
	border: 1px solid var(--btn-hover);
	background: var(--btn-hover);
}

.card--add-new:hover .icon-overlay {
	display: none;
}

.card__label--add-new {
	font-size: 24px;
	font-weight: 600;
	line-height: 36px;
	letter-spacing: -0.02em;
	text-align: center;
	margin-bottom: 2rem;
	z-index: 2;
}

.card--add-new::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(to top right, var(--card-overlay-gradient-start), var(--card-overlay-gradient-end));
	z-index: 0;
	pointer-events: none;

}

.card__label {
	z-index: 9;
	margin-top: -3rem;	
}

/* Quote card - updating*/
.quote-card__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 14px;
	padding: 1rem;
	max-width: 100%;
}

.quote-card .card__item {
	display: flex;
	flex-direction: row;
	padding: 0;
	margin-top: 6px;
	font-size: 0.875rem;
	padding-bottom: 4px;
}

.quote-card .card__item label {
	font-weight: 500;
	color: var(--label-main-clr);
	margin-top: 0;
	padding: 0;
}

.quote-card .card__item .client__name {
	color: var(--blue-clr);
	font-weight: 500;
	padding-bottom: 4px;
}

.quote-card .card__footer {
	margin-top: auto;
	margin-left: -0.5rem;
	margin-right: -0.5rem;
	padding: 1rem;
	width: calc(100% + 1rem);
	margin-left: -0.5rem;
	margin-right: -0.5rem;
	border-bottom-left-radius: 8px;
	border-bottom-right-radius: 8px;
	background-color: var(--body);
	margin: -0.5rem;
	border-top: 1px dashed var(--border-main-clr);
	bottom: 0;

}

.quote-card .card__header {
	align-items: center;
	margin-left: -0.5rem;
	margin-right: -0.5rem;
	margin: -0.5rem;
	padding: 0.5rem;
	padding-bottom: 0;
	height: 50px;
}

.quote-card {
	display: flex;
	flex-direction: column;
	width: 300px;
	height: 270px;
	padding: 0.5rem;
	white-space: normal;
	line-height: 1rem;
	margin: 0;
}

.card__item {
	flex: 1 0 auto;
}

.card__footer .font-bold {
	white-space: nowrap;
}

.card-body {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 0.5rem;
	margin-top: 0.5px;
	margin-bottom: 0.5rem;

}

/* Stars raiting*/



.rating-container__rating {
	display: flex;
	width: 100%;
	justify-content: center;
	overflow: hidden;
	flex-direction: row-reverse;
	height: 50px;
	position: relative;
}

.rating-container__input {
	display: none;
}

.rating-container__label {
	cursor: pointer;
	width: 40px;
	height: 40px;
	margin-top: auto;
	background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='126.729' height='126.73'%3e%3cpath fill='%23e3e3e3' d='M121.215 44.212l-34.899-3.3c-2.2-.2-4.101-1.6-5-3.7l-12.5-30.3c-2-5-9.101-5-11.101 0l-12.4 30.3c-.8 2.1-2.8 3.5-5 3.7l-34.9 3.3c-5.2.5-7.3 7-3.4 10.5l26.3 23.1c1.7 1.5 2.4 3.7 1.9 5.9l-7.9 32.399c-1.2 5.101 4.3 9.3 8.9 6.601l29.1-17.101c1.9-1.1 4.2-1.1 6.1 0l29.101 17.101c4.6 2.699 10.1-1.4 8.899-6.601l-7.8-32.399c-.5-2.2.2-4.4 1.9-5.9l26.3-23.1c3.8-3.5 1.6-10-3.6-10.5z'/%3e%3c/svg%3e");
	background-repeat: no-repeat;
	background-position: center;
	background-size: 76%;
	transition: .3s;
}

.rating-container__input:checked~.rating-container__label,
.rating-container__input:checked~.rating-container__label~.rating-container__label {
	background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='126.729' height='126.73'%3e%3cpath fill='%23fcd93a' d='M121.215 44.212l-34.899-3.3c-2.2-.2-4.101-1.6-5-3.7l-12.5-30.3c-2-5-9.101-5-11.101 0l-12.4 30.3c-.8 2.1-2.8 3.5-5 3.7l-34.9 3.3c-5.2.5-7.3 7-3.4 10.5l26.3 23.1c1.7 1.5 2.4 3.7 1.9 5.9l-7.9 32.399c-1.2 5.101 4.3 9.3 8.9 6.601l29.1-17.101c1.9-1.1 4.2-1.1 6.1 0l29.101 17.101c4.6 2.699 10.1-1.4 8.899-6.601l-7.8-32.399c-.5-2.2.2-4.4 1.9-5.9l26.3-23.1c3.8-3.5 1.6-10-3.6-10.5z'/%3e%3c/svg%3e");
}

.rating-container__input:not(:checked)~.rating-container__label:hover,
.rating-container__input:not(:checked)~.rating-container__label:hover~.rating-container__label {
	background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='126.729' height='126.73'%3e%3cpath fill='%23d8b11e' d='M121.215 44.212l-34.899-3.3c-2.2-.2-4.101-1.6-5-3.7l-12.5-30.3c-2-5-9.101-5-11.101 0l-12.4 30.3c-.8 2.1-2.8 3.5-5 3.7l-34.9 3.3c-5.2.5-7.3 7-3.4 10.5l26.3 23.1c1.7 1.5 2.4 3.7 1.9 5.9l-7.9 32.399c-1.2 5.101 4.3 9.3 8.9 6.601l29.1-17.101c1.9-1.1 4.2-1.1 6.1 0l29.101 17.101c4.6 2.699 10.1-1.4 8.899-6.601l-7.8-32.399c-.5-2.2.2-4.4 1.9-5.9l26.3-23.1c3.8-3.5 1.6-10-3.6-10.5z'/%3e%3c/svg%3e");
}

/*Rating card itself*/

.rating-container__feedback {
	max-width: 360px;
	border: 1px solid var(--border-main-clr);
	width: 100%;
	padding: 30px;
	border-radius: 8px;
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
	align-items: center;
	text-align: center;
}

.rating-container__comment {
	font-weight: 500;

	text-align: center;
}

/* Timepicker */

.timepicker-input {
	width: 100%;
	border: 1px solid var(--border-main-clr);
	padding: 0.5rem;
	border-radius: 0.25rem;
	outline: none;
	background: var(--body);
}

.timepicker-container {
	max-width: 180px;
}

.timepicker-input:read-only {
	background: var(--body);
}

.timepicker-list {
	display: flex;
	width: fit-content;
	height: 9rem;
	position: absolute;
	top: auto;
	z-index: 5;
	background: var(--body);
	border: 1px solid var(--border-main-clr);
	border-top: none;
	box-shadow: rgb(0, 0, 0, 15%) 0px 4px 10px 0px;
	border-bottom-left-radius: 8px;
	border-bottom-right-radius: 8px;
}

.timepicker-hours,
.timepicker-minutes {
	display: flex;
	flex-flow: column;
	align-items: center;
	flex-basis: 50%;
	font-size: 18px;
	padding: 1rem;
	overflow-y: auto;
	scroll-behavior: smooth;
}

.timepicker-hours::-webkit-scrollbar,
.timepicker-minutes::-webkit-scrollbar {
	width: 0;
}

.timepicker-hours {
	border-right: 1px solid rgb(201, 203, 215);
}

.timepicker-hour,
.timepicker-minute {
	padding: .25rem 1rem;
	margin: 1px;
	border: 1px solid transparent;
	width: 3.5rem;
	text-align: center;
	cursor: pointer;
}

.picker-selected {
	border: 1px solid var(--blue-clr);
	background-color: var(--btn-hover);
	border-radius: .2rem;
}

.timepicker-input:read-only {
    background-color: var(--body) !important;
    color: inherit !important; 
}

/* Dropdown in form header */
/* Menu 
.parent,
.relative {
	position: relative;
	z-index: 122;
}

.parent>button {
	min-width: 130px;
	z-index: 122;
}

.parent>button:hover {
	cursor: pointer;
}

.parent .btn__action {
	display: flex;
	align-items: center;
	border: none;
	cursor: pointer;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: center;
	align-content: center;
}

.parent .btn__action div,
.btn__action * {
	color: var(--blue-clr);
}

.breadcrumbs-row .parent .submenu_holder {
	right: 0%;
	transform: translateX(0%);
	opacity: 0;
	visibility: hidden;
	transition: opacity 150ms, visibility 0ms;
	position: absolute;
	top: -.5rem;
	left: -.5rem;
	width: calc(100% + 1rem);
	height: auto;
	padding: 3.25rem .5rem .5rem;
	background-color: var(--body);
	border: 1px solid var(--border-main-clr);
	border-radius: var(--border-radius);
	box-shadow: 0 4px 12px rgba(38, 40, 42, .12);
	z-index: 108;
}

.breadcrumbs-row .parent .submenu {
	padding: 0.5rem;
	border-radius: 5px;
	min-width: 130px;
	gap: 0rem;
	background-color: #eeeff0;
}

.breadcrumbs-row .parent:hover .submenu_holder {
	opacity: 1;
	visibility: visible;
}

.parent .btn__action::after {
	height: 0;
}

.breadcrumbs-row .submenu a {
	color: #282e34;
	font-size: 13px;
	height: auto;
	white-space: nowrap;
	overflow: hidden;
	transition: none;
	border: 0;
	background: rgba(90, 187, 122, 0);
	border-radius: 5px;
	padding: 0 18px;
	line-height: 2.4rem;
	text-decoration: none;
	font-weight: 600;
}

.breadcrumbs-row .button {
	margin-right: 0;
	padding: 9px 1.25rem;
}

.breadcrumbs-row .submenu a:hover {
	background-color: #e2e1e1;
}*/

/*DATEPICKER*/

@media (min-width: 769px) {
  .calendar-container {
    position: relative;
  }
}

.customTimeframe-modal {
  display: block;
  position: absolute;
  top: 2.5rem;
  left: 0;
  width: auto;
  background: var(--body);
  border: 1px solid var(--border-main-clr);
  box-shadow: rgba(23, 34, 113, 7%) 0px 1px 3px, rgba(23, 34, 113, 7%) 0px 4px 12px;
  border-radius: 6px;
  z-index: 9999;
}

.customTimeframe-daterange-list {
  list-style: none;
  margin: 0;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding: 8px;
  width: 400px;
  gap: 5px;
}

.customTimeframe-daterange-list>li {
  cursor: pointer;
}

.customTimeframe-daterange-list>li:focus {
  outline: none;
}

.customTimeframe-daterange-list li .badge {
  border: 2px solid transparent;
  box-shadow: 0px 0px 0px 2px transparent, 0px 2px 2px 0px transparent;
  transition: background-color 0.3s, color 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.customTimeframe-daterange-list li .badge:hover {
  background-color: var(--badge-purple);
}

.customTimeframe-daterange-list li:focus .badge {
  color: #5514C4;
  background-color: var(--body);
  outline: none;
  border-color: var(--btn-purple);
  box-shadow: 0px 0px 0px 4px rgba(222, 202, 255, 0.24), 0px 2px 2px 0px rgba(0, 0, 0, 0.16);
}

.customTimeframe-modal-datepicker {
  display: flex;
  justify-content: center;
  position: relative;
}

.customTimeframe-modal-datepicker-container {
  width: 100%;
  display: flex;
  flex-flow: column;
}

.customTimeframe-modal-buttons {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 3rem;
  margin-top: 10px;
  margin-bottom: 24px;
}

.customTimeframe-modal-main-buttons {
  display: flex;
  align-items: center;
  width: 100%;
  justify-content: space-between;
  gap: 8px;
}

.customTimeframe-modal-main-buttons button {
  width: 100%;
  border-radius: 99px;
}

.customTimeframe-modal-reset {
  width: 50%;
}

.customTimeframe-modal-reset button:focus {
    color: #7629FA !important;
    outline: none;
    background-color: var(--body);
    box-shadow: inset 0 0 0 2px var(--btn-purple), 0px 0px 0px 4px rgba(222, 202, 255, 0.24), 0px 2px 2px 0px rgba(0, 0, 0, 0.16);
}

.customTimeframe-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  min-height: 4rem;
  border-bottom: 1px solid var(--border-main-clr);
}

.customTimeframe-modal-header-close {
  background: none;
  border: none;
  border-radius: 50%;
  width: 2.5rem;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s;
}

.customTimeframe-modal-header-close i {
  font-size: 32px;
}

.customTimeframe-modal-header-close:hover i {
    color: #7629FA;
}

.customDatepicker-range-button {
  position: absolute;
  top: 0;
  background: none;
  border: none;
  width: 2rem;
  height: 2rem;
  z-index: 10000;
  cursor: pointer;
  justify-content: space-between;
  align-items: center;
  display: flex;
}

.customDatepicker-range-button i {
  font-size: 20px;
}

.customTimeframe-modal-datepicker button:hover {
  outline: none;
  color: #5514C4;
  background-color: var(--badge-purple);
  border-radius: 100%;
}

.customTimeframe-modal-datepicker button:focus {
  outline: none;
  color: #5514C4;
  border-color: var(--btn-purple);
  box-shadow: 0px 0px 0px 4px rgba(222, 202, 255, 0.24), 0px 2px 2px 0px rgba(0, 0, 0, 0.16);
  border-radius: 100%;
}

.customDatepicker-previous {
  left: 15px;
}

.customDatepicker-next {
  right: 15px;
}

.customMonth-selector,
.customYear-selector {
  border: none;
  background-color: var(--body);
  color: var(--main-txt-clr);
  box-shadow: none;
  border-radius: 4px;
  padding: 4px;
  width: 90px;
  text-align: center;
  font-weight: 500;
  font-size: 15px;
}

.customMonth-selector:focus,
.customYear-selector:focus {
  color: #7629FA;
  border: 2px solid #7629FA;
  border-radius: 99px;
}

.customDatepicker-table-date {
  white-space: nowrap;
  height: 3rem;
  width: 3rem;
  text-align: center;
  cursor: pointer;
  font-size: 16px;
  color: var(--main-txt-clr);
  border-radius: 50%;
  padding-top: .8rem;
}

.customOther-month {
  opacity: .25;
}

.customDatepicker-table-weekday-heading {
  font-size: 15px;
  line-height: 1;
  padding: 10px 0;
  text-align: center;
  cursor: pointer;
  font-weight: 600;
}

.customDatepicker-month-table {
  width: 100%;
  border-collapse: collapse;
}

.customDatepicker-month-table>tbody>tr>td {
  position: relative;
}

.customDatepicker-month {
  width: auto;
  display: inline-block;
  margin: 0 1.25rem;
}

.customDate-selected-between::before {
  content: " ";
  display: block;
  background: var(--selected-dates);
  width: 3rem;
  height: 3rem;
  border-radius: 0px;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}

.customDate-selected {
  font-weight: 500;
  position: relative;
  height: 3rem;
  width: 3rem;
  color: #fff;
}

.datepicker-table-date:focus {
  color: #7629FA;
  font-weight: 600;
  box-shadow: inset 0 0 0 2px var(--btn-purple), 0px 0px 0px 4px rgba(222, 202, 255, 0.24), 0px 2px 2px 0px rgba(0, 0, 0, 0.16);
}

.customDate-selected:after {
  content: "";
  font-weight: 500;
  display: block;
  background: var(--btn-purple);
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}

.customDate-selected-start::after {
  content: " ";
  display: block;
  background: var(--btn-purple);
  width: 3rem;
  height: 3rem;
  border-radius: 50% 0 0 50% !important;
  position: absolute;
  top: 0;
  z-index: -1;
}

.customDate-selected-end::after {
  content: " ";
  display: block;
  background: var(--btn-purple);
  width: 3rem;
  height: 3rem;
  border-radius: 0 50% 50% 0 !important;
  position: absolute;
  top: 0;
  z-index: -1;
}

.hidden {
  display: none;
}

.today {
  color: rgb(118, 41, 250);
  font-weight: 600;
  font-size: 16px;
}

.customDatepicker-table-date:hover {
  color: #7629FA !important;
  font-weight: 600;
  box-shadow: inset 0 0 0 2px var(--btn-purple), 0px 0px 0px 4px rgba(222, 202, 255, 0.24), 0px 2px 2px 0px rgba(0, 0, 0, 0.16);
}

button:disabled i {
  color: #888;
}

button:disabled {
  cursor: not-allowed;
  background-color: var(--disabled);
  color: #888;
  border: 1px solid var(--disabled);
}
.customTimeframe-modal-datepicker button:disabled {
  border-radius: 100%;
}

#formContent {
  display: flex;
  flex-direction: column;
  max-width: 1440px;
  gap: 2rem;
  width: 100%;
}

/*Datepicker previous*/

.datepicker-month-header {
	text-align: center;
	height: 35px;
	line-height: 35px;
	position: relative;
	justify-content: center;
	align-items: center;
}

.customTimeframe-modal-main-buttons {
  display: flex;
  justify-content: center; 
  align-items: center; 
}

.customTimeframe-modal-main-buttons button {
  width: 100%;
  max-width: 300px; 
  border-radius: 99px;
}

.timeframe-modal-main-buttons button {
	border-radius: 99px; 
}

/*ADDDITIONAL MENU USED IN DASHBOARDS, FEW ITEMS, NO SUBMENUS, MOVES UP ON SMALLER SCREENS*/

/*Left nav sidebar*/
.sidebar_dashboard--one-level {
    width: 100%;
    max-width: 264px;
    justify-content: space-between;
    padding: 8px;
	border-right: 1px solid var(--border-main-clr);
}

.sidebar_dashboard--one-level  a {
    color: var(--system-clr-default);
}

.sidebar_dashboard--one-level  ul li a {
	font-size: 1rem;
  	cursor: pointer;
  	text-decoration: none;
 	display: block;
  	font-weight: 400;
  	width: 100%;
  	align-items: center;
  	background-color: var(--body);
  	padding: 1rem 0.625rem;
}

.sidebar_dashboard--one-level .sidebar-bottom i {
    font-size: 22px;
    color: #7629FA;
}

.sidebar_dashboard--one-level .support-contact {
    border-top: 1px solid var(--border-light-clr);
}

.sidebar_dashboard--one-level .row_support-contact {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sidebar_dashboard--one-level .support-contact .contacts-txt {
    white-space: nowrap;
}

.sidebar_dashboard--one-level .support-contact .contacts-txt {
    font-size: 15px;
    line-height: 18px;
    font-weight: 650;
    padding: 16px;
    padding-bottom: 8px;
}

.sidebar_dashboard--one-level .support-contact .contact {
    font-size: 14px;
    line-height: 18px;
    font-weight: 250;
    white-space: nowrap;
}


/* Sidebar links etc */

.sidebar_dashboard--one-level a {
    text-decoration: none;
}

.sidebar_dashboard--one-level a.sidebar__item {
    font-size: 1rem;
    cursor: pointer;
    text-decoration-color: transparent;
    display: block;
    font-weight: 500;
    width: 100%;
    align-items: center;

}

.sidebar_dashboard--one-level a.disabled {
    pointer-events: none;
    color: gray;
}

.sidebar_dashboard--one-level a.disabled i {
    color: gray;
}

.sidebar_dashboard--one-level .sidebar__item {
    background-color: var(--system-clr-bg-default);
    padding: 16px;
}

.sidebar_dashboard--one-level .sidebar__item:hover,
.sidebar_dashboard--one-level a:hover.sidebar__item,
.sidebar_dashboard--one-level a:active.sidebar__item {
    color: var(--system-clr-accent);
    background-color: var(--system-clr-bg-default);
  
}

.sidebar_dashboard--one-level .sidebar__item:has(i):hover {
    text-decoration: unset;
}

.sidebar_dashboard--one-level .wiki-link a.font-fix:hover {
    color: #7629FA;
}

.sidebar_dashboard--one-level .sandbox-nav__link {
    display: flex;
    border-radius: 4px;
    align-items: center;
    justify-content: left;
    padding: 16px;
    margin-bottom: 5px;
    width: 100%;
}

.sidebar_dashboard--one-level .sandbox-nav__link i {
    font-size: 22px;
    margin-right: 8px;
}

.sidebar_dashboard--one-level .sidebar__item {
    display: flex;
    border-radius: 4px;
    align-items: center;
    justify-content: left;
    padding: 16px;
    margin-bottom: 5px;
    width: 100%;
}

.sidebar_dashboard--one-level .sidebar__item i {
    font-size: 22px;
    margin-right: 8px;
}

.sidebar_dashboard--one-level .icons-div i {
    font-size: 28px;
}

.sidebar_dashboard--one-level .sandbox-nav__link-icon {
    fill: #45474C;
}

.sidebar_dashboard--one-level .sandbox-nav__link:hover {
    background-color: var(--system-clr-light-active);
    cursor: pointer;
    border-radius: 4px;
}

.sidebar_dashboard--one-level .sidebar-nav__link--active .sandbox-nav__link {
    background: var(--system-clr-light-active);
    border-radius: 4px;
}

.sidebar_dashboard--one-level.sandbox-nav__link:hover .sandbox-nav__link-text {
    color: var(--system-clr-accent);
}

.sidebar_dashboard--one-level.sidebar-nav__link--active i {
    color: var(--system-clr-accent);
}

.sidebar_dashboard--one-level.link:hover i {
    color: var(--system-clr-accent);
}

.sidebar_dashboard--one-level.sidebar-nav__link--active {
    background-color: var(--system-clr-light-active);
    color: var(--system-clr-accent);
}

.sidebar_dashboard--one-level.sidebar-nav__link--active .sandbox-nav__link-text {
    color: var(--system-clr-accent);
    background: var(--system-clr-light-active);
}

/* Hover effect for icon color */
.sidebar_dashboard--one-level .sidebar-nav__link--active:hover .i,
.sidebar_dashboard--one-level li:hover .sandbox-nav__link i {
    color: var(--system-clr-accent);
}

.sidebar_dashboard--one-level .sidebar-bottom {
    bottom: 0;
    width: 100%;
    background-color: var(--system-clr-bg-default);
}

/*Left sidebar, on mobile view show additional button to toggle more menu items */
/* Initially hide the sidebar-bottom section on mobile */


/* Show when active, js */
.sidebar_dashboard--one-level .sidebar-bottom.visible {
    display: block; 
}

.sidebar_dashboard--one-level .toggle-sidebar-bottom {
    font-weight: normal;
    display: none; 
    align-items: center; 
    justify-content: left; 
    gap: 8px; 
}

.sidebar_dashboard--one-level .toggle-sidebar-bottom i {
    vertical-align: middle; 
}

.sidebar_dashboard--one-level .name-initial {
	width: 38px;
	height: 38px;
	border-radius: 100% !important;
	display: grid;
	place-items: center;
	align-items: center;
	border: 1px solid #ABEEFF;
	background-color: #ABEEFF;
    margin-right: 8px;
    margin-left: 7px;
	color: #000203; 
}

.name-initial {width: 38px;
	height: 38px;
	border-radius: 100% !important;
	display: grid;
	place-items: center;
	align-items: center;
	border: 1px solid #ABEEFF;
	background-color: #ABEEFF;
aspect-ratio: 1;
	color: #000203; 
}
.sidebar_dashboard--one-level #dashboardMenuUserName{
  color: #000203;  
}

.sidebar_dashboard--one-level .companyName {
     font-size: 14;
     font-weight: 700;
}

.sidebar_dashboard--one-level .sidebar__item:hover {
    background-color: var(--system-clr-light-active);
    border-radius: 4px;
    color: #7629fa;
}

.support-contact .sidebar__item:hover{
    background-color: var(--system-clr-bg-default) !important;
    padding-top: 0px;
}

/* Targeting only links within the support-contact section */

.footer .support-contact i,
.support-contact i {
    color: var(--contact-txt);
}

.support-contact .sandbox-nav__link {
    padding: 8px 16px; 
    background-color: transparent; 
}
.support-contact .sandbox-nav__link-text {
   color: var(--contact-txt);
}
.support-contact .sandbox-nav__link:hover {
    background-color: transparent; 
    color: inherit;
}

.sidebar_dashboard--one-level .settings {
    margin-bottom: 24px;
	margin-top: 10px;

}

.settings .setting-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.select-container {
    flex-grow: 1; 
}

.sidebar_dashboard--one-level .select__field {
    width: 100%; 
    background-color: transparent !important;
}

.select-wrapper {
    display: flex;
    align-items: center;
}

.setting-item {
    display: flex;
    align-items: center;
    justify-content: space-between; 
}

.sidebar_dashboard--one-level .select-container {
    flex-grow: 1; 
    display: flex;
    align-items: center; 
  margin-right: 10px;
}


.sidebar_dashboard--one-level .theme-toggle {
    display: flex;
    align-items: center; 
}

.sidebar_dashboard--one-level .trigger {
    cursor: pointer;
    margin-bottom: 2px;
    margin-left: 12px;
    margin-right: 12px;
    display: inline-flex;
    align-items: center; 
    justify-content: center; 
    width: 30px; 
    height: 30px; 
}

/*ADD HERE VARIABLE*/
.support-contact .sandbox-nav__link:hover .sandbox-nav__link-text,
.support-contact .sandbox-nav__link:hover i,
.support-contact .sandbox-nav__link:hover {
    color: var(--contact-txt);
    cursor: default;
}

/* Ensures background does not change on hover */
.support-contact .keep-colour:hover {
    background-color: var(--system-clr-light-active)!important; /* Keeps the background unchanged */
}

/* Specific hover styles for keep-colour link */
.support-contact .keep-colour:hover .sandbox-nav__link-text,
.support-contact .keep-colour:hover i {
    color: var(--system-clr-accent); 
    cursor: pointer;
    background-color: var(--system-clr-light-active);
}

.main_full-width {
	width: 100%;
}

@media (max-width: 1255px) {

    .sidebar_dashboard--one-level .sidebar-nav {
        justify-content: space-around;
        display: flex;
        flex-direction: column; 
        max-width: 100vw;
    }

	.sidebar_dashboard--one-level {
		max-width: 100vw;
	}

    .sidebar_dashboard--one-level .sidebar-top-row {
        display: flex;
        justify-content: space-between; width: 100vw;
    }

    .sidebar_dashboard--one-level .nameWrapper, .settings {
        display: flex;
        justify-content: space-between; 

    }

    .sidebar_dashboard--one-level .sidebar-bottom-row {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr;
        gap: 5px;
    }

    .sidebar_dashboard--one-level.settings {
            margin-bottom: 8px;
        }

    .sidebar_dashboard--one-level.sandbox-nav__link {
        margin-bottom: 0px;
    }
}

@media (max-width: 768px) {

	.sidebar_dashboard--one-level .settings {
			margin-bottom: 0px;

		}

	.main_full-width {
		margin-top: 120px;
	}

	.sidebar_dashboard--one-level {
		display: block;
		height: auto;
		width: 100vw;
		position: fixed;
		margin-top: 0px !important;
  	}

    .sidebar-bottom {
        display: grid;
        grid-template-columns: 1fr 1fr;
        border-bottom: 1px solid var(--border-main-clr);
    }
    
    .support-contact {
        border-top: none;
        padding-top: 0;
    }

    .sidebar-nav li {
        list-style: none;
    }

    .sidebar ul li a {
        padding: 4px 8px;
    }

    .sidebar-nav__link--active rounded {
        align-items: center;
    }

    .sidebar-nav a {
        border: 1px solid var(--border-main-clr);
        padding: 0;
        height: 52px;
    }

    .support-contact .sandbox-nav__link {
        border: none;
    }

    .sidebar-bottom .sandbox-nav__link {
        border: none;
    }

    .sidebar-nav {
        display: grid;
        grid-template-columns: 1fr 1fr; 
        grid-template-rows: auto auto; 
        gap: 5px;
        align-items: center;
    }

    .sidebar_dashboard--one-level ul li {
        min-height: 50px;
   
    }

    .sidebar_dashboard--one-level .sandbox-nav__link {
        margin-bottom: 0;
        gap: 5px;
    }

    .sidebar_dashboard--one-level .sandbox-nav__link i {
        font-size: 22px;
    }


    .sidebar_dashboard--one-level .sidebar-nav__link--active a, 
    .sidebar_dashboard--one-level .sidebar-nav a {
        display: flex; 
        align-items: center;
      
    }
    .sidebar-bottom .flex-col {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }



    .text-big {
        text-align: left;
    }

    .right-sidebar-bottom div {
        overflow-y: auto;
        flex: 1; 
        padding: 10px; 
    }

    .advertisment {
        padding: 10px;
        flex-direction: column;
        gap: 8px;

    }
    .advertisement-div {
        padding: 0px;
        padding-bottom: 0;
        position: relative;
        margin-bottom: 0px;
        width: 100%;
    }

    .l-sandbox-content {
        padding-bottom: 0;
    }
 
    /*Left sidebar, on mobile view show additional button to toggle more menu items */
    .sidebar_dashboard--one-level.toggle-sidebar-bottom {
        display: block; 
    }

  


 

    /*Make sidebar two rows*/

    .sidebar_dashboard--one-level.sidebar-top-row {
        width: 100%;
    }

    .sidebar_dashboard--one-level.nameWrapper, .settings {
        display: flex;
        justify-content: space-between; 
    }

    .sidebar_dashboard--one-level.sidebar-bottom-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 5px;
        width: 100%;
    }

    .sidebar_dashboard--one-level.settings {
        margin-bottom: 8px;
    }

    .sidebar_dashboard--one-level.sandbox-nav__link {
        width: 100%;

    }

    .sidebar_dashboard--one-level.align-left {
        width: 100%;
    }

    .sidebar_dashboard--one-level.select__field {
        min-width: 7rem;
    }

 
    /* Mobile view change buttons order for more logical nav*/
    .sidebar_dashboard--one-level.trigger {
        margin-left: 0px;
        margin-right: 6px;
        margin-bottom: 6px;
    }

    .sidebar_dashboard--one-level.sidebar-nav a.keep-colour {
        height: 36px; 
    }

    .sidebar_dashboard--one-level.support-contact .keep-colour .sandbox-nav__link-text {
        padding: 0px;
    }

    .sidebar_dashboard--one-level.support-contact .contacts-txt {
        padding: 8px 8px;
    }

    .sidebar_dashboard--one-level.support-contact .sandbox-nav__link {
        padding: 8px 8px;
    }

    .sidebar_dashboard--one-level.sidebar-bottom {
        display: none; 
        flex-direction: column;
    }

    .sidebar_dashboard--one-level.sidebar-bottom.visible {
        display: flex; 

    }
    .sidebar_dashboard--one-level.sidebar-bottom .flex-col {
        order: 2;
        padding-bottom: 4px;
    }

    .sidebar_dashboard--one-level.sidebar-bottom .support-contact {
        order: 1;
    }

    .sidebar_dashboard--one-level.sidebar-bottom {
        display: block; 
    }

    .sidebar_dashboard--one-level.toggle-sidebar-bottom {
        display: none; 
    }
}


.sidebar_dashboard--one-level .sidebar-top-row {
	height: 40px;
	margin-bottom: 16px;
}


.sidebar-nav {
    flex: 1; 
    display: flex;
    flex-direction: column;
}

.sidebar-bottom {
    margin-top: auto;
    width: 100%;
}

.button-section {
  border: 1px solid var(--border-sec-clr);
}



/* Show toggle button on tablet and mobile */
@media (max-width: 768px) {
    .sidebar_dashboard--one-level .toggle-sidebar-bottom {
        display: flex; /* Show on smaller screens */
    }

    /* Hide the sidebar-bottom section by default on smaller screens */
    .sidebar_dashboard--one-level .sidebar-bottom {
        display: none;
    }

    /* Add styling for expanded state */
    .sidebar_dashboard--one-level.sidebar-bottom--expanded .sidebar-bottom {
        display: block;
    }

   .sidebar_dashboard--one-level .select__field {
  		min-width: 10rem;
	}


  .sidebar_dashboard--one-level .sidebar-bottom-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px;
	padding-left: 10px;
	padding-right: 10px;
	
	width: 100vw;
  }
}

.sidebar_dashboard--one-level .sidebar-top-row {
	height: auto;
}


@media (min-width: 769px) and (max-width: 1255px) {
	.container_menu-moves-above {
        flex-direction: column;
        overflow-y: auto;
        padding: 0;
    }

    .sidebar_dashboard--one-level.sidebar {
        max-width: 100vw;
    }

	.main_full-width {
		width: 100vw;
		margin-top: 140px;
	}

    .sidebar_dashboard--one-level.toggle-sidebar-bottom {
        display: none; 
    }

    .sidebar_dashboard--one-level.sidebar-bottom.visible {
        display: block;
    }

    .sidebar_dashboard--one-level.sidebar-nav a {
        /*border: 1px solid var(--border-main-clr);*/
        padding: 14px 16px;
    }

    .support-contact {
        border-top: none;
    }

    .sidebar_dashboard--one-level.sidebar-nav a {
        border: 1px solid var(--border-main-clr);
        height: 52px;
    }

    .sidebar_dashboard--one-level.sidebar-bottom.visible {
        display: flex; 

    }
    .sidebar_dashboard--one-level.sidebar-bottom .flex-col {
        order: 2;
        padding-bottom: 4px;
        border-bottom: 1px solid var(--border-light-clr);
    }

    .sidebar-bottom .support-contact {
        order: 1;
    }

    .support-contact .sandbox-nav__link {
        border: none;
    }

    .sidebar-bottom .sandbox-nav__link {
        border: none;
    }

    .sidebar-nav a.keep-colour {
        height: 36px; 
    }

    .sidebar {
        border-bottom: none;
    }

    /*On buttons start page sidebar changes later as we have more space horixzontally bc missing right sidebar*/

    .buttons-page  .sidebar-bottom-row {
        display: flex;
        flex-direction: column;
    }

    .buttons-page .sidebar-top-row {
        display: flex;
        flex-direction: column;
    }

    .buttons-page .sidebar-nav a {
        border: none;
    }

    .buttons-page .nameWrapper, .settings {
    	justify-content: left;
  	}	

  	.sidebar_dashboard--one-level {
		height: auto;
  	} 

      /* Hide the sidebar-bottom section by default on smaller screens */
    .sidebar_dashboard--one-level .sidebar-bottom {
        display: none;
    }

    /* Add styling for expanded state */
    .sidebar_dashboard--one-level.sidebar-bottom--expanded .sidebar-bottom {
        display: block;
		text-align: right;
    }

	.sidebar_dashboard--one-level .toggle-sidebar-bottom {
  		display: block;
	}

	.main_full-width {
	
		margin-top: 0px;
	}

	.sidebar-nav a {
		border: 1px solid var(--border-main-clr);
		padding: 0;
		height: 52px;
  	}

	.sidebar_dashboard--one-level .select-container {
		margin-right: 20px;
	}

  	.sidebar_dashboard--one-level.sidebar-bottom .flex-col {
    	display: grid;
   		grid-template-columns: 1fr;
  	}

	.sidebar_dashboard--one-level .settings {
		margin-bottom: 10px;
		margin-top: 10px;
	}

}

/* Override for grey icons inside the .support-contact section */
.support-contact .sandbox-nav__link i {
    color: #808080; 
}

/* Ensures background does not change on hover */
.support-contact .keep-colour:hover {
    background-color: var(--system-clr-light-active)!important; /* Keeps the background unchanged */
}

/* Specific hover styles for keep-colour link */
.support-contact .keep-colour:hover .sandbox-nav__link-text,
.support-contact .keep-colour:hover i {
    color: var(--blue-clr); 
    cursor: pointer;
    background-color: var(--system-clr-light-active);
}
.keep-colour i {
	fill: var(--main-txt-clr);
}

/* Hover effect for changing the background color */
.sandbox-nav__link:not(.sidebar-language-toggle-btn):hover,
.sandbox-nav__link:not(.sidebar-language-toggle-btn):hover i {
    color: var(--blue-clr); 
	background-color: var(--system-clr-light-hover) !important;
}

.sandbox-nav__link:hover .sandbox-nav__link-text {
  text-decoration: underline !important;
  text-underline-offset: 4px;
}

.sandbox-nav__link:hover i, .sandbox-nav__link:hover .sandbox-nav__link-text {
	color: var(--blue-clr);
}


/*Minimal search modal*/

.modal-content .search-field__input {
	background: var(--text-white);
}

.minimal-search-modal .modal-content {
	background-color: var(--modal-background-color);
}

.minimal-search-modal .modal-content .search-field__input {
	width: 100%;
	border: none;
	border-bottom: 1px solid var(--border-main-clr);
	background: var(--text-white);
	color: var(--black-txt-clr);
	height: 56px;
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
	padding: 10px 24px;
}

.minimal-search-modal .modal-content {
	border-radius: 12px;
	padding: 0;
}

.minimal-search-modal .search-field-container {
	margin-bottom: 0;
}


.minimal-search-modal .modal-close {
	right: 0;

}



/*Minimal modal with form*/

.minimal-modal_form .modal-content {
	padding: 0;
	overflow-x: hidden;
	overflow-y: auto;
}

.minimal-modal_form .grid-helper {
	display: grid;
	padding-top: 2rem;
}

#customerSearchInputs {
	background-color: var(--text-white);
	padding: 30px;
	border-bottom: 1px solid #14163633;
}

#customerSearchInputs .search-field--default .search-field__input {
	border: 1px solid var(--border-main-clr);
}

#customerSearchInputs .search-field--default .search-field__input:focus {
	border: 1px solid var(--text-blue);
}
.minimal-search-modal .modal-content table thead {
	background-color: var(--modal-body) !important;
}

.minimal-search-modal table tbody tr:hover {
	background-color: var(--table-row-hover) !important;
}

.minimal-search-modal table tbody tr:hover .quantity-counter__input {
	background-color: var(--text-white);
}

#close-product-modal i, #close-customer-modal i{
	font-size: 1.5rem;
}

#close-customer-modal i {
	margin-bottom: 10px;
	position: relative;
}

.minimal-modal_form .modal-header  {
    padding: 12px;
	background-color: var(--text-white);
}

/*Added in for modal table sticky scrolling issue*/

.modal-content .table-container {
    max-height: 200px; 
    overflow-y: auto;
    border-radius: 4px;
}

/* THANK YOU MODAL */

.icon-Checkmark-Round:before {
	content: "\e948";
}

.thank-you-modal {
    max-width: 500px;
    padding: 0px;
}


/* Modal Header */
.modal-header_accent-clr {
    background: linear-gradient(135deg, var(--modal-gradient-start), var(--modal-gradient-end));
    height: 100px;
    display: flex;
    align-items: center; 
    justify-content: center;
    margin: 0;
    position: relative;
}

/* Modal Icon */
.modal-icon-container {
    width: 72px; 
    height: 72px; 
	padding: 10px;
    background-color: var(--body); 
    border-radius: 50%;
    display: flex;
    align-items: center; 
    justify-content: center; 
    position: absolute;
    bottom: -36px; 
}

 
#ThankyouModal .modal-content {
  max-height: 50% !important; /* Increase the max height to 50% */

}

/* Responsive Scaling for Icon */
@media (min-width: 768px) {
    .modal-icon-container {
        width: 86px; 
        height: 86px;
        bottom: -43px; 
    }

    #thankYouSvg {
        width: 48px; 
        height: 48px;
    }
}

@media (min-width: 1024px) {
    .modal-icon-container {
        width: 100px; 
        height: 100px;
        bottom: -50px;
    }

    #thankYouSvg {
        width: 56px; 
        height: 56px;
    }
}

#thankYouSvg {
  display: block;
  height: 4rem; 
  width: 4rem;
}

.circle {
  stroke-dasharray: 76;
  stroke-dashoffset: 76;
  animation: draw 1s forwards; 
}

.tick {
  stroke-dasharray: 18;
  stroke-dashoffset: 18;
  animation: draw 1s forwards 1s; 
}

@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}

/* Thank you Modal Body */

#ThankyouModal .modal-content {
  height: auto;
}
.thank-you-modal .modal-body {
    color: var(--main-txt-clr);
	display: flex;
	flex-direction: column;
    text-align: center; 
	justify-content: center;
	align-items: center;
	height: auto;
}

.thank-you-modal .text-container {
	padding: 3rem 0 2rem 0;
}

.thank-you-modal .thank-you-text {
    font-size: 1.55rem;
    color: var(--main-txt-clr);
	font-weight: 700;
	letter-spacing: 0px;
	text-align: center; 
	justify-content: center;
	align-items: center;
    margin: 0
}

.thank-you-modal .thank-you-text_thin {
	text-align: center;
	font-size: 1rem;
    font-weight: normal;
    color: var(--main-txt-clr);
    margin: 0;
}

.thank-you-modal .brand-logo {
    display: block;
    margin: 2rem auto 2rem auto; 
}

.thank-you-modal .brand-logo i {
	font-size: 28px;
}

#thankYouSvg {
    stroke: var(--checkmark-stroke);
}

/*Thank you svg*/
.svg--theme-switchable {
    fill: var(--svg-fill-color); 
}

/* Disabled multiselect options */
.multiselect-wrapper input[type="checkbox"]:disabled + .dropdown__label {
    color: #888888; 
    cursor: not-allowed;
}

/*SEARCH INSIDE MULTISELECT*/

/* Dropdown search field styling */
.dropdown--search-container {
    position: relative;
    width: calc(100% - 16px); 
    margin: 8px; 
}

/* The search input */
.dropdown--search {
    width: 100%;
    padding: 6px 8px 6px 32px; 
    border: 1px solid var(--border-light-clr);
    border-radius: 4px;
    outline: none;
    font-size: 14px;
    background-color: var(--body);
    transition: border-color 0.3s ease;
}

.dropdown--search:focus {
    border-color: rgba(0, 98, 224, 1);
    box-shadow: 0 0 0 2px rgba(91, 155, 213, 0.2);
}
/* The search icon */
.dropdown--search-container .icon-Search {
    position: absolute;
    left: 10px; 
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    color: #888; 
    pointer-events: none; 
}

.dropdown--input.is-focused {
    border: 1px solid var(--blue-clr);
	box-shadow: 0px 0px 0px 3px rgba(0, 110, 255, 0.24), 0px 2px 4px 0px rgba(0, 0, 0, 0.16);
}

/*Table with smaller paddings*/

.table--padding-small td {
    padding: 0.2rem;
}


.table--padding-xsmall td {
	padding: .2rem 1rem;
}


.table__pgn--small-padding {
	padding: 0.3rem;
}

.table__header--small-padding {
	padding: 0.3rem;
}

.table--padding-small td .btn {
	padding: 0px;
}

/*MINI TABLE*/

/* Mini Table - Smaller and Compact */
.mini-table {
    width: auto;
    max-width: 100%;
    border-collapse: collapse;
    font-size: 12px; 
	background-color: var(--body);

}

/* Row Styling */
.mini-table tbody tr:nth-child(even) {
    background: var(--body);
}

.mini-table tbody tr:nth-child(odd) {
    background: var(--table-head-bg);
}

/* Mini Table Cells */
.mini-table th,
.mini-table td {
    border: 1px solid var(--border-main-clr); 
    padding: 2px 6px; 
    white-space: nowrap;
    text-align: left;
}

.mini-table thead th {
    position: sticky;
    top: 0;
  	z-index: 10;
    background-color: #484949 !important;
    color: white !important; 
	font-weight: 600;
}

/*DELETE MODAL MORE STRUCTURE*/

/*Modal auto size*/
.modal--auto-size .modal-content {
    width: auto;                
    max-width: 90%;            
    height: auto;              
    max-height: none;           
    overflow: visible;         
    padding: 1.5rem;            
    box-sizing: border-box;     
}


.modal-header {
    width: 100%;                  
    background-color: var(--body);       
    display: flex;                
    align-items: left;           
    padding: 1rem 2rem;         
    box-sizing: border-box; 
	border-bottom: 1px solid #0000000D; 
  
}

.modal-body {
	padding-top: 20px;
	padding-bottom: 20px;
	background: var(--header-bg);

	}

.modal__text-delete {
    font-size: 18px;  
    font-weight: 600;
    text-align: center;
    line-height: 1.5; 
}

.remove-content-padding .modal-content{
	padding: 0px;
}

.modal-body button {
	padding: 1rem 2rem;
}

/*CUSTOM HOVER OPTIONS FOR ALL TABLES, FLEX & HTML*/

:root {
  --highlight-color: rgba(0, 128, 128, 0.3); 
  --highlight-overlap: rgba(0, 100, 100, 0.4); 
}

/* Row */
.table-hover-rows tbody tr:hover td,
.table-hover-rows .table__row:hover .table__cell {
  background-color: var(--highlight-color);
}

/* Column */
.table-hover-cols tbody td.hovered,
.table-hover-cols .table__cell.hovered {
  background-color: var(--highlight-color);
}

/* Both Row + Column */
.table-hover-both tbody tr:hover td,
.table-hover-both .table__row:hover .table__cell,
.table-hover-both tbody td.hovered,
.table-hover-both .table__cell.hovered {
  background-color: var(--highlight-color);
}

/* Overlapping Cell*/
.table-hover-both tbody tr:hover td.hovered,
.table-hover-both .table__row:hover .table__cell.hovered {
  background-color: var(--highlight-overlap);
}

.table-hover-cols .table__head .table__cell.hovered,
.table-hover-both .table__head .table__cell.hovered {
  background-color: transparent !important;
}

/* TABLE HOVER SELECT GROUP */
.select-group {
    display: flex;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid var(--border-main-clr);
    background: var(--body);
    width: fit-content;
}

.select-group__item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    background: var(--body);
    cursor: pointer;
    flex: 1;
    position: relative;
    min-width: 160px;
    text-align: center;
}

/* inner corners straight */
.select-group__item:first-child {
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
    border-right: 1px solid var(--border-main-clr);
}
.select-group__item:last-child {
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
	border-left: 1px solid transparent;

}

.select-group__select {
    appearance: none;
    background: transparent;
    border: none;
    cursor: pointer;
    outline: none;
    width: 100%;
    height: 100%;
    text-align: center;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
	font-size: 0.875rem;
  	line-height: normal;
 	 font-weight: 500;
  	color: var(--label-main-clr);
  	overflow-wrap: break-word;
}

.select-group__item::after {
    content: attr(data-label);
    text-align: center;
    width: 100%;
	font-size: 0.875rem;
	line-height: normal;
	font-weight: 500;
	color: var(--label-main-clr);
	overflow-wrap: break-word;
}

.select-group__select:focus {
    opacity: 1;
    background: var(--body);
    padding: 7px;  
}

.select-group__item:first-child .select-group__select:focus {
    border-radius: 6px 0 0 6px;
}

.select-group__item:last-child .select-group__select:focus {
    border-radius: 0 6px 6px 0;
}

.amount-wrapper {
  display: flex;
  align-items: center;
  width: 100%; 
  border-radius: 6px 0px 0px 6px;
  overflow: hidden;

}

.amount-wrapper input[type="number"] {
  flex: 1;
  outline: none;
  min-width: 60px;
border-radius: 6px 0px 0px 6px;
min-height: 40px;
border: 1px solid var(--border-main-clr);
border-right: none;
}

.amount-wrapper button {
 flex: 1;
  cursor: pointer;
  font-weight: bold;
  white-space: nowrap;
  border-radius: 0px 6px 6px 0px;
  min-height: 40px;
  border: 1px solid transparent;
}
/* Push down the sidebar if .menu__case is present */
body:has(.menu__case) .sidebar {
  margin-top: 50px;
}

/* Push down the main content if .menu__case is present */
body:has(.menu__case) .container-flex {
  margin-top: 50px;}

.nameWrapper {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  margin-top: 0.5rem;
}

.user-links .nameWrapper {
	margin-top: 0;
}

.w-100 {
  width: 100%;
}

.flex {
  display: flex;
}

.flex-col {
  display: flex;
  flex-direction: column;
}

.justify-between {
  justify-content: space-between;
}

.align-center {
  align-items: center;
}

.ml-auto {
  margin-left: auto;
}

.gap-1 {
  gap: 0.5rem;
}

/*NEW UNIFIED MENU COMPONENT USE menu--topnav vs menu--sidebar to toggle between views*/
/* NEW UNIFIED MENU COMPONENT: USE .menu--topnav vs .menu--sidebar TO TOGGLE VIEWS */

/* Base container */
.menu {
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1000;
  background-color: var(--system-clr-bg-default);
  color: var(--main-txt-clr);
}

.menu__version {
	min-width: 160px;
}

.menu__version span {
	font-size: 0.875rem;
  line-height: normal;
  font-weight: 500;
  color: var(--sidebar-label);
  overflow-wrap: break-word;

}

.menu__title {
	font-size: 1.2rem;
  text-decoration: none;
  display: block;
  align-items: center;
  background-color: var(--system-clr-bg-default);
  padding: 0rem 0.2rem;
  font-weight: 700;
  line-height: 1;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
  max-width: 160px;
}

.menu--topnav .menu__title {
  max-width: 250px;;
}

.menu__group {
	padding: 0.2rem 0.5rem;
}

/* ---------------- SIDEBAR ---------------- */
.menu--sidebar {
  width: 260px;
  border-right: 1px solid var(--system-clr-border-min);
  top: var(--menu-height);
  height: calc(100vh - var(--menu-height));
}
  


.menu--sidebar .menu__button-container {
	display: flex;
	flex-direction: column;
	gap: 0.4rem
}

.menu--topnav .menu__button-container {
	display: flex;
	flex-direction: row;
	gap: 0.4rem
}

.menu--sidebar .menu__submenu {
  position: absolute;
  top: 0;
  left: 100%;
  display: none;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0.8rem 1rem;
  width: 22.5rem;
  height: 100vh;
  overflow-y: auto;
  background-color: var(--system-clr-bg-default);
  box-shadow: 16px 0 48px -20px rgba(0, 0, 0, 0.16);
  border-right: 1px solid var(--border-main-clr);
  border-left: 1px solid var(--border-light-clr);
  z-index: 999;
  transition: transform 250ms cubic-bezier(0.62, 0.3, 0.43, 0.81);
}

.menu--sidebar .sandbox-nav__link i, 
.menu--topnav .sandbox-nav__link i {
	font-size: 22px;
  color: var(--main-txt-clr);
}

.menu--sidebar input[type="radio"]:checked + label + .menu__submenu {
  display: flex;
}

.menu--sidebar .submenu--full {
  /* Same as default sidebar submenu */
  top: 0;
  left: 100%;
  width: 22.5rem;
}

/* ---------------- TOPNAV ---------------- */
.menu--topnav {
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
  padding: 0.2rem 0.8rem;
  width: 100%;
  border-bottom: 1px solid var(--system-clr-border-min);
}

.menu--topnav .menu__group {
  position: relative;
}

.menu--topnav .menu__submenu.submenu--full {
  position: fixed;
  top: calc(var(--topnav-height, 48px));
  left: 0;
  width: 100vw;
  padding: 1.5rem;
  z-index: 9999;
}

/* Submenu open state (shared) */
.menu--topnav input[type="radio"]:checked + label + .menu__submenu {
  display: flex;
  background-color: var(--system-clr-bg-default);
}

/* ---------------- Common ---------------- */
.menu__submenu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu__submenu li {
  margin-bottom: 0.5rem;
}

.menu__submenu a {
  color: var(--main-txt-clr);
  text-decoration: none;
  font-size: 0.875rem;
}

.submenu-section {
  width: 100%;
  margin-bottom: 1rem;
}

.submenu-section li:hover {
	text-decoration: underline;
}

.menu--sidebar .submenu-section{
	border-bottom: 1px solid var(--border-light-clr);
}

/*
.menu--topnav .submenu-section {
	border-right: 1px solid var(--border-light-clr);
	padding: 1rem;
}*/

.menu--topnav .submenu-section:last-child {
	border-right: none;
}

.submenu-heading {
  font-weight: 500;
  margin-bottom: 0.75rem;
  font-size: 1.125rem;
}

/* Header badge */
.menu__header {
  display: flex;
}

.menu__header .app__badge {
  width: 40px;
  height: 40px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  flex-shrink: 0;
  aspect-ratio: 1 / 1; /* Ensures square shape if width changes */
}

.app__badge i {
  font-size: 28px;
}

/* Footer visibility */
.menu--sidebar .menu__footer-wrapper {
  display: block;
  margin-top: auto;
  padding: 0.5rem;
  border-top: 1px solid var(--system-clr-border-min);
  padding-top: 0;
}

.menu--topnav .menu__footer-wrapper {
  display: none;
  position: absolute;
  right: 0;
  top: 102%;
  min-width: 260px;
  background: var(--system-clr-bg-default);;
  box-shadow: 0px 12px 24px -8px rgba(0, 0, 0, 0.16);
  z-index: 999;
  padding:8px;
}

.menu--topnav #toggleTopnavFooter:checked ~ .menu__footer-wrapper {
  display: block;
  min-width: 400px;
}

/* Only apply flex layout in topnav view */
.menu--topnav .toggle-container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap; 
}

.menu--topnav .sidebar-extra-section {
  display: block !important;
}

.menu--topnav #sidebarOptions {
  display: none !important;
}

.menu--topnav #toggleSidebarOptions {
  display: none;
}

/* Position the extra buttons manually inside column 3 */
/* Topnav layout: flex */
.menu--topnav .toggle-container {
  display: flex;
  flex-wrap: wrap;

}

/* Each column */
.menu--topnav .toggle-container .column {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  flex: 1 1 0;
  min-width: 250px;
  padding: 0 0.5rem;
  position: relative;
  box-sizing: border-box;
}

/* Visually reorder columns 
.menu--topnav .toggle-container > .column:nth-of-type(1) { order: 2; } /* Account */
.menu--topnav .toggle-container > .column:nth-of-type(2) { order: 1; } /* Language */
.menu--topnav .toggle-container > .column:nth-of-type(3) { order: 3; } /* Buttons */

/* Visually move sidebar-extra-section to last column */
.menu--topnav .sidebar-extra-wrapper {
  display: flex;
  flex-direction: column;
}

.menu--topnav .sidebar-extra-section {
  order: 2; /* move it after user info */
  margin-top: 1rem;
}

/* Optional: fine-tune spacing and alignment */
.menu--topnav .user-header {
  order: 1;
}

/* Divider borders between columns */
.menu--topnav .toggle-container > .column:not(:last-child) {
  border-right: 1px solid var(--border-light-clr);
}

/* Remove border only from the visually last column */
.menu--topnav .toggle-container > .column:nth-of-type(3) {
  border-right: none;
}

/* Mobile: stack into one column again */
@media (max-width: 768px) {
  .menu--topnav .toggle-container {
    flex-direction: column;
  }

  .menu--topnav .toggle-container > .column {
    order: unset; 
  }

  .menu--topnav .toggle-container > .column:nth-of-type(1) { order: unset; } /* Account */
.menu--topnav .toggle-container > .column:nth-of-type(2) { order: unset; } /* Language */
.menu--topnav .toggle-container > .column:nth-of-type(3) { order: unset; } /* Buttons */

  .menu--topnav .toggle-container > .column:not(:last-child) {
  border-right: none;
}

.menu--topnav .toggle-container .column {
  padding: 0 0.5rem;
 
}

.menu--topnav .menu__footer-wrapper {
  background: var(--system-clr-bg-default);
  box-shadow: none;
  border-top: 1px solid var(--border-light-clr);
}

}

/*
.menu--topnav .toggle-container {
	background-color: #0070e0;
	 flex: 1;
}

.menu--topnav .menu__footer .column:first-child {
  flex: 1;
  min-width: 0;
  background-color: green;
}*/


.only-topnav {
  display: none !important;
  flex: 0 0 auto;
}

.only-topnav a {
	text-decoration: none;
}

.only-topnav .landing-link i {
	font-size: 22px;
}

.only-topnav .landing-link:hover i {
	color: var(--blue-clr)
}

.topnav.company-name {
	display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 200px;
  font-weight: 600;
  line-height: 1.2;
}

.topnav.company-name:hover {
  cursor: help;
}

.landing-link {
	  display: flex;
  align-items: center;
}

.name-initial {
	width: 38px;
	height: 38px;
	border-radius: 100% !important;
	display: flex;
	place-items: center;
	align-items: center;
	border: 1px solid #ABEEFF;
	background-color: #ABEEFF;
}
.name-initial span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.menu--topnav .only-topnav {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  margin-left: auto;
}

.menu--topnav .hide-on-topnav {
	display: none !important;
}

/* Show it only on small screens (mobile) */
@media (max-width: 768px) {
  .menu--topnav .hide-on-topnav {
    display: inline-flex !important;
    align-items: center;
  }
}

/* Hide the menu by default on mobile */

.menu__item-label.item--active {
  text-decoration: none !important;
  font-weight: normal !important;
  background-color: var(--system-clr-light-active);
  border-radius: 4px;
  padding: var(--menu-pad);
}

.menu__item-label {
padding: var(--menu-pad);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  cursor: pointer;
  position: relative;
  color: var(--text-main-clr);
  font-size: 16px;
  text-decoration: none;
  font-style: normal;
  font-weight: normal;
   white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  
}

.menu--sidebar .menu__center {
	flex-grow: 1;
	overflow-y: auto;
	min-height: 0;
	display: flex;
	flex-direction: column;
	padding-top: 0.5rem;
}

.menu--topnav .menu__center {
  flex:1 1 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  min-width: 0;
  max-width: 1400px;
	margin-left: 0.5rem;
}

.menu--topnav {
  position: relative;
}

.menu--topnav .menu__submenu {
  display: none;
  flex-direction: row;
  padding: 1rem;
  width: max-content;
  min-width: 280px;
  max-width: 100vw;
  background-color: var(--system-clr-bg-default);
  z-index: 999;
  transition: width 0.3s ease;
  top: calc(100% + 1px);
  left: 0;
  background: var(--system-clr-bg-default);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}

.menu__header {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem;
}

.menu--topnav .menu__header {
  padding: 0.2rem;
  padding-left: 0;
}

.menu--topnav .menu__header .app__badge{
	margin-left: 0.375rem;
}

.badge__update {
  flex-shrink: 0;
}

.sidebar-label {
	font-size: 0.875rem;
  line-height: normal;
  font-weight: 500;
  color: var(--sidebar-label);
  overflow-wrap: break-word;
  margin-right: 0.2rem;
}

.only-sidebar {
  display: block;
}

.menu--topnav .only-sidebar {
  display: none !important;
}

.menu--sidebar .sidebar-group {
	padding: 0.5rem;
	
}

.menu--sidebar .sidebar-group .sidebar__item {
	padding: var(--menu-pad);
}

/*Account switching, separate from previous menus*/
.unified-location-dropdown {
  flex-direction: column;
}

.unified-location-dropdown:not(.dropdown-open) {
  display: none;
}

.unified-location-dropdown.dropdown-open {
  display: flex;
}

#switchAccount2 {
	cursor: pointer;
}




@media (min-width: 1025px) {


  .menu--sidebar.hide-on-desktop,
  .menu--topnav .hide-on-desktop{
    display: none !important;
  }

  .menu--sidebar {
    width: 280px;
    position: sticky;
    left: 0;
    top: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
  }

  .menu--topnav {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0 0.3rem;
    position: relative;
  }

  .menu--topnav .menu__group {
    display: flex;
    flex-direction: row;
  }

  .menu--topnav .menu__submenu {
    position: absolute;
    left: 0;
    display: none;
    background-color: var(--system-clr-bg-default);
  }

  .menu--topnav input[name="menu_tabs"]:checked ~ .menu__submenu {
    display: block;
  }

  .menu__footer-wrapper {
    display: none;
  }

  .only-sidebar,
  .only-topnav {
    display: block;
  }
}

@media (max-width: 1024px) {

	.menu--topnav .menu__footer-wrapper {
		box-shadow: none;
	}

	.menu.menu--sidebar,
  .menu.menu--topnav {
    position: fixed;
    top: 0;
    left: 0;
    height: calc(100vh - 60px);
    width: 100%;
    background: var(--system-clr-bg-default);
    transform: translateX(-100%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
  }

  #menuToggle:checked ~ nav.menu--sidebar,
  #menuToggle:checked ~ nav.menu--topnav,
  #menuToggle:checked ~ .menu--sidebar,
  #menuToggle:checked ~ .menu--topnav {
    transform: translateX(0);
    margin-top: 60px;
	background-color: var(--system-clr-bg-default);
  }

  .menu-toggle-button.only-mobile {
    display: block;
    position: absolute;
    z-index: 900;

  }

  .menu__group {
    overflow-y: auto;
  }

  .menu__submenu,
  .menu.menu--topnav .menu__submenu {
    position: fixed;
    top: 0;
    left: 100%;
    width: 100vw;
    height: 100vh;
    background-color: var(--system-clr-bg-default);
    display: none;
    flex-direction: column !important;
    padding: 1rem;
    overflow-y: auto;
    z-index: 1001;
   
  }

  .menu__group input[type="radio"]:checked + label + .menu__submenu {
    display: flex;
    left: 0;
	background-color: var(--system-clr-bg-default);
	width: 100vw;
  }

  .menu__submenu.submenu--full {
    width: 100vw;
    height: 100vh;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 100%;
  }

  .submenu-section {
    width: 100%;
  }

  .menu__submenu .back {
    display: block;
    font-weight: bold;
	text-align: center;
	justify-content: center;
	width: 100%;
  }

  .submenu--full {
    display: none;
  }

  .menu__item {
    position: relative;
  }

  .menu__footer-wrapper,
  .menu--topnav .menu__footer-wrapper {
    display: block !important;
    margin-top: auto;
    padding: 1rem;
    background-color: var(--system-clr-bg-default);
    position: unset;
    width: 100%;
  }

  .only-sidebar,
  .only-topnav,
  .menu--topnav .only-topnav {
    display: none !important;
  }

.menu__item-label {
	width: 90vw;
}
  .menu__header {
    flex-direction: row;
  }

  .menu__title-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
  }

  .menu__item.name-initial.only-topnav {
    order: 2;
    margin-left: auto;
  }

   .menu-toggle-button.only-mobile {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: bold;
    font-size: 1rem;
    color: var(--main-txt-clr);
  }

  .mobile-heading {
	text-decoration: none;
	display: block;
	align-items: center;
	background-color: var(--system-clr-bg-default);
	padding: 0rem 0.2rem;
	font-weight: 700;
	line-height: 1;
	word-wrap: break-word;
	overflow-wrap: break-word;
	font-size: 1rem;
  }

  .mobile-info-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    padding: 0 1rem;
    margin-top: 0.25rem;
  }

  .mobile-info-line .badge__update {
    margin-left: auto;
  }

  .version-label {
    opacity: 0.8;
  }

  .mobile-header-row {
	border-bottom: 1px solid var(--border-main-clr);
	width: 100vw;
	height: 60px;
	align-items: center;
	background-color: var(--system-clr-bg-default);
  }

  .mobile-header-row .mobile-header-elements {
	margin-right: 0.5rem;
  }

  .mobile-header-row i {
	font-size: 22px;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	margin-left: 0.5rem;
  }

  .menu--topnav {
    position: fixed;
    top: 60px; 
    left: 0;
    width: 100%;
    height: calc(100vh - 60px); 
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 1000;
    background-color: var(--system-clr-bg-default);
  }

  .menu__center, .menu--topnav .menu__center {
    flex: 1 1 0;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    display: block; 
	
  }

  .menu--sidebar .sidebar__close-btn {
	margin-right: 1rem;
  }

  .menu__footer-wrapper {
    flex-shrink: 0;
    padding: 1rem;
    background-color: var(--system-clr-bg-default);
  }

  .menu--topnav .submenu-section {
  border-right: none;

}

.menu--sidebar.menu__submenu .back,
.menu--topnav .menu__submenu .back
 {
    display: block !important;
    font-weight: bold;
    text-align: center;
    justify-content: center;
    width: 100%;
}

.container__main-content {
	padding-top: 50px;
}
}

/*?hidemenu=1 on url*/
body.hide-menus .menu,
body.hide-menus .menu__footer-wrapper,
body.hide-menus .topnav,
body.hide-menus .sidebar,
body.hide-menus .menu--topnav,
body.hide-menus .menu--sidebar {
  display: none !important;
}

.menu__item-label {
	gap: 0.5rem;
}

/*FOR UNIFIED MENU COMPONENT CAFA SETTINGS*/
.menu__container {
	margin-top: 0;
}
.menu__container.layout--flex {
    display: flex;
    flex-direction: row;
}

.menu__container.layout--column {
    display: flex;
    flex-direction: column;
}

.layout--column main{
	width: 100%;
}

/* Ensure Steps are Vertical */
.layout--flex .steps {
    display: block !important;
    width: 100%;
    padding: 0;
    position: relative;
}

/* Ensure Individual Steps Stay Vertical */
.layout--flex .steps .step {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    position: relative !important;
    width: 100%;
}

@media (max-width: 1024px) {
	.menu__container main {
		margin-top: 60px;
	}
}

.menu_button-header .action-button--back,
.menu_button-header button{
	width: 40px;
	height: 40px;
	border: 1px solid var(--border-main-clr);
}

.menu__header.action-button--back
{
	width: 40px;
	height: 40px;
}

.menu_button-header button i {
	font-size: 20px;
}

.menu--sidebar .menu_button-header {
	padding-left: 8px;
	padding-top: 8px;
	
}
.menu--topnav .sub-menu_down {
    position: absolute;
	top: calc(100% + 1px);
	width: max-content;
  	min-width: 300px;
  	box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
	border-radius: 0;
}

.menu--topnav .sidebar-group input:checked ~ .sidebar__item,
.menu--topnav .sidebar-group input:checked ~ .sub-menu_down {
  background-color: var(--system-clr-bg-default);
 
  
}

.menu--topnav .sidebar-group input:checked ~ .sub-menu_down {
  border-radius: 0;
}

.sidebar-nav__link--active {
  background-color: var(--system-clr-light-active);
  color: var(--system-clr-accent);
}

.sidebar__item.item--active {
  background-color: var(--system-clr-light-active) !important;
  color: var(--system-clr-accent) !important;
  border-radius: 4px;
  font-weight: normal !important;
}

.sidebar__item.item--active {
  color: var(--blue-clr) !important;
}

.menu--topnav .sub-menu_down {
  max-height: 60vh; 
  overflow-y: auto;
  overscroll-behavior: contain; 


}

.menu--topnav .sidebar-group input:checked ~ .sub-menu_down {
  border-radius: 0 0 6px 6px;
}

.menu--topnav .sidebar__item.item--active {
  background-color: transparent !important;

}
/* Mobile: stack below and allow scroll */
@media (max-width: 1024px) {
  .menu--topnav .sub-menu_down {
    position: static;
    width: 90vw;
   
    overflow-y: auto;
    box-shadow: none;
    padding-right: 0.5rem; /* for scrollbar room */
	max-height: unset;
  }

  .menu--topnav .menu__center {
	width: 90vw;
  }

  /* Optional: style scrollbars on mobile */
  .menu--topnav .sub-menu_down::-webkit-scrollbar {
    width: 8px;
  }
  .menu--topnav .sub-menu_down::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
  }
}
@media (max-width: 768px) {
  .mobile-header-row {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
  }

}
