        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: Arial, sans-serif;
        }

        body {
            display: flex;
            flex-direction: column;
            height: 100vh;
            background: #f8f8f8; /* Soft warm gray */
            color: #444;
        }

        /* Header */
.header {
    display: flex;
    align-items: center;      /* Vertically center items */
    justify-content: flex-start; /* Align items to the left (for the button) */
    width: 100%;              /* Full width */
}

.header .header-text {
    margin-left: 10px; /* Space between button and text */
    flex-grow: 1;      /* Allow this text to take up remaining space */
    text-align: center; /* Center the text */
	font-size: 1.5em;
}







/* Main Layout */
        .main-container {
            display: flex;
            flex: 1;
            overflow: hidden;
        }

        /* Sidebar */
        .sidebar {
            background: #f0f0f0; /* Soft neutral */
            width: 220px;
            transition: width 0.3s;
            overflow-y: auto;
            flex-shrink: 0;
            border-right: 1px solid #ddd;
            padding-top: 10px;
			
			scrollbar-width: thin; /* Firefox Only Makes the scrollbar thinner */
			scrollbar-color: #888 #f0f0f0; /* Firefox Only Thumb color and track color */
        }
		/* WebKit-based browsers (Chrome, Safari) */
		.sidebar::-webkit-scrollbar {
			width: 8px;
		}

		.sidebar::-webkit-scrollbar-thumb {
			background-color: #888;
			border-radius: 4px;
		}

		.sidebar::-webkit-scrollbar-track {
			background: #f0f0f0;
		}



        .sidebar.collapsed {
            width: 60px;
        }

/* Sidebar collapsed state for mobile */
@media (max-width: 768px) {
    .sidebar.collapsed {
        width: 0; /* Set width to 0 when collapsed on mobile */
        left: -220px; /* Push it off the screen completely */
    }
}














        /* Sidebar Toggle */
/* Sidebar Toggle */
.toggle-btn,
.toggle-btn:hover,
.toggle-btn:focus,
.toggle-btn:active {
    background: #368DF4; /* Set the background color */
    border: none;
    cursor: pointer;
    font-size: 16px;
    color: #000;
	padding-right: 20px;
	padding-left: 20px;
    margin-right: 10px; /* Add margin to separate the button from the text */
    border-top-right-radius: 10px; /* Round the top-right corner */
    border-top-left-radius: 10px; /* Round the top-right corner */
    border-bottom-right-radius: 0px; /* Round the bottom-right corner */
    border-bottom-left-radius: 0px; /* Round the bottom-right corner */
	max-width: 60px;
}


        /* Sidebar Buttons */
        .sidebar button {
            display: flex;
            align-items: center;
            background: none;
            border: none;
            width: 100%;
            padding: 12px 15px;
            cursor: pointer;
            text-align: left;
            font-size: 16px;
            color: #444;
        }

        .sidebar button:hover {
            background: rgba(0, 0, 0, 0.05);
        }

        .sidebar button img {
            width: 20px;
            height: 20px;
            margin-right: 10px;
        }

        .sidebar.collapsed button span {
            display: none;
        }

        .sidebar.collapsed button img {
            margin: auto;
        }

        /* Tooltip */
        .sidebar button::after {
            content: attr(data-tooltip);
            position: absolute;
            left: 70px;
            background: rgba(0, 0, 0, 0.8);
            color: white;
            padding: 4px 8px;
            border-radius: 4px;
            font-size: 14px;
            display: none;
            white-space: nowrap;
        }

        .sidebar.collapsed button:hover::after {
            display: block;
        }

        /* Content */
        .content {
            flex: 1;
            overflow-y: auto;
            padding: 20px;
            background: white;
        }

        /* Footer */
        .footer {
            background: #e6e6e6;
            padding: 10px;
            text-align: center;
            font-size: 14px;
            border-top: 1px solid #ddd;
            flex-shrink: 0;
        }

		
		
		
		
		
		
		
		
		
		
		
		
		
		
/* Form Styling */
form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 400px;
    margin-top: 20px;
    background: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #ddd;
	
    font-size: 14px;
    color: #666;
    margin-bottom: 4px;
	
}

.form-without-background {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 400px;
    margin-top: 20px;
    background: none;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #ddd;
	
    font-size: 14px;
    color: #666;
    margin-bottom: 4px;
	
}
.form-without-background-frame-or-padding{
    display: flex;
    flex-direction: column;
    gap: 0px;
    max-width: 350px;
    margin-top: 20px;
    background: none;
    padding: 0px;
    border-radius: 8px;
    border: 0px solid #ddd;
	
    font-size: 14px;
    color: #666;
    margin-bottom: 4px;
	
}





.form_looking_div_frame {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 400px;
    margin-top: 20px;
    background: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #ddd;
	
    font-size: 14px;
    color: #666;
    margin-bottom: 4px;
	
}


.form_looking_div_frame_double_width {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 800px;
    margin-top: 20px;
    background: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #ddd;
	
    font-size: 14px;
    color: #666;
    margin-bottom: 4px;
	
}
.form_looking_div_frame_double_width_none {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
    background: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #ddd;
	
    font-size: 14px;
    color: #666;
    margin-bottom: 4px;
	
	overflow-x: auto; /* Allows horizontal scrolling if needed */
	
}

.form_looking_div_frame_any_darker_background {

    background: #E4E4E4;

	
}

.sidebar-form {
    gap: 2px;
    margin-top: 3px;
}
.sidebar.collapsed .sidebar-form {
	padding-top: 5px;
	padding-right: 5px;
	padding-left: 10px;
	padding-bottom: 5px;
}

	
label {
    font-size: 14px;
    color: #666;
    margin-bottom: 4px;
}

input, select, textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
    background: white;
    transition: 0.2s ease-in-out;
}

input:focus, select:focus, textarea:focus {
    border-color: #999;
    outline: none;
}

/* Checkbox & Radio Styling */
.checkbox-group, .radio-group {
    display: flex;
    gap: 10px;
}

input[type="checkbox"], input[type="radio"] {
    margin-right: 5px;
    width: 24px;
    height: 24px;	
}

/* Button */
button {
    background: #008080; /* Muted teal */
    color: white;
    border: none;
    padding: 10px;
    font-size: 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.2s ease-in-out;	
}

button:hover {
    background: #006666;
}

/* Link */
a {
    color: #007777;
    text-decoration: none;
    font-weight: bold;
}

a:hover {
    text-decoration: underline;
}
		
		
		
/* File Upload Styling */
input[type="file"] {
    border: 1px solid #ccc;
    padding: 8px;
    border-radius: 6px;
    font-size: 14px;
    background: white;
    transition: 0.2s ease-in-out;
}

/* Button Variants */
.secondary-btn {
    background: #666;
}

.secondary-btn:hover {
    background: #555;
}

.danger-btn {
    background: #d9534f;
}

.danger-btn:hover {
    background: #c9302c;
}

.success-btn {
    background: #5cb85c;
}

.success-btn:hover {
    background: #4cae4c;
}











.plainwhite-btn {
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	background: #fff;
	background-image: url('menuitem.png');
	background-repeat: no-repeat;
	background-position: left 10px center;
	background-size: 20px;
	border-radius: 5px;
	font-size: 16px;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	white-space: nowrap;
	overflow: hidden;
	
padding-top: 15px;
padding-right: 15px;
padding-bottom: 15px;
padding-left: 46px;
	
	border: none;
	width: 100%;
	cursor: pointer;
	text-align: left;
	color: #444;
}
.plainwhite-btn:hover {
	background-color: #e6e6e6;
}




/* Hide the text when the sidebar is collapsed */
.sidebar.collapsed .plainwhite-btn {
    width: 36px;
    padding: 5px;
    background-position: center;
    color: transparent;  /* Hides text */
    text-indent: -9999px;  /* Moves text off-screen */
    overflow: hidden;  /* Ensures text doesn't render */
    white-space: nowrap;  /* Prevents wrapping */
}

/* These are for the menu input=submit button colours other than default white */
.specific_button_img_menu_colour-softpink{background-color: #f8d7da;}
.specific_button_img_menu_colour-lightgreenish{background-color: #d1e7dd;}
.specific_button_img_menu_colour-green{background-color: #4cae4c; color: white;}
.specific_button_img_menu_colour-blue{background-color: #007bff; color: white;}
.specific_button_img_menu_colour-lightblue{background-color: #d1ecf1;}
.specific_button_img_menu_colour-red{background-color: #dc3545;}
.specific_button_img_menu_colour-darkred{background-color: #d9534f; color: white;}

.specific_button_img_menu_colour-purple1{background-color: #800080;}
.specific_button_img_menu_colour-purple2{background-color: #6A0DAD;}

.specific_button_img_menu_colour-lightorange{background-color: #FFA500;}
.specific_button_img_menu_colour-orange{background-color: #FF8C00;}


.specific_button_img_menu_colour-red{background-color: #dc3545;}
.specific_button_img_menu_colour-red{background-color: #dc3545;}






/* These are for the menu input=submit button images */
/* Later we should be able to adapt this to be for other input=submit buttons */
.specific_button_img_menu-home{background-image: url('qrimgskicons/outline_home_black_18.png');}
.specific_button_img_menu-about{background-image: url('qrimgskicons/z_question_circleoutline_18pt_2x.png');}
.specific_button_img_menu-services{background-image: url('qrimgskicons/ic_info_outline_18pt.png');}
.specific_button_img_menu-contact{background-image: url('qrimgskicons/outline_support_agent_black_24dp.png');}
.specific_button_img_menu-more{background-image: url('qrimgskicons/outline_assessment_black_18.png');}
.specific_button_img_menu-settings{background-image: url('qrimgskicons/ic_crop_din_black_18dp.png');}
.specific_button_img_menu-logout{background-image: url('qrimgskicons/outline_logout_black_18.png');}
.specific_button_img_menu-cssexample{background-image: url('qrimgskicons/outline_integration_instructions_black_18.png');}
.specific_button_img_menu-profile{background-image: url('qrimgskicons/outline_manage_accounts_black_18.png');}
.specific_button_img_menu-account{background-image: url('qrimgskicons/paid_18dp_000000_FILL0_wght400_GRAD0_opsz20.png');}
.specific_button_img_menu-problem{background-image: url('qrimgskicons/ic_info_outline_18pt.png');}
.specific_button_img_menu-qrlist{background-image: url('qrimgskicons/qr_code_2_18dp_000000_FILL0_wght400_GRAD0_opsz20.png');}
.specific_button_img_menu-qradd{background-image: url('qrimgskicons/qr_code_2_add_18dp_000000_FILL0_wght400_GRAD0_opsz20.png');}



.specific_button_img_menu-cssexample{background-image: url('qrimgskicons/outline_integration_instructions_black_18.png');}
.specific_button_img_menu-cssexample{background-image: url('qrimgskicons/outline_integration_instructions_black_18.png');}
.specific_button_img_menu-cssexample{background-image: url('qrimgskicons/outline_integration_instructions_black_18.png');}
.specific_button_img_menu-cssexample{background-image: url('qrimgskicons/outline_integration_instructions_black_18.png');}
.specific_button_img_menu-cssexample{background-image: url('qrimgskicons/outline_integration_instructions_black_18.png');}
.specific_button_img_menu-cssexample{background-image: url('qrimgskicons/outline_integration_instructions_black_18.png');}
.specific_button_img_menu-cssexample{background-image: url('qrimgskicons/outline_integration_instructions_black_18.png');}
.specific_button_img_menu-cssexample{background-image: url('qrimgskicons/outline_integration_instructions_black_18.png');}
.specific_button_img_menu-cssexample{background-image: url('qrimgskicons/outline_integration_instructions_black_18.png');}
.specific_button_img_menu-cssexample{background-image: url('qrimgskicons/outline_integration_instructions_black_18.png');}
.specific_button_img_menu-cssexample{background-image: url('qrimgskicons/outline_integration_instructions_black_18.png');}
.specific_button_img_menu-cssexample{background-image: url('qrimgskicons/outline_integration_instructions_black_18.png');}
.specific_button_img_menu-cssexample{background-image: url('qrimgskicons/outline_integration_instructions_black_18.png');}
.specific_button_img_menu-cssexample{background-image: url('qrimgskicons/outline_integration_instructions_black_18.png');}









/* Link Variants */
.button-link {
    display: inline-block;
    background: #008080;
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    text-decoration: none;
}

.button-link:hover {
    background: #006666;
}

.secondary-link {
    color: #666;
}

.secondary-link:hover {
    color: #444;
}

.danger-link {
    color: #d9534f;
}

.danger-link:hover {
    color: #c9302c;
}
		
		
		
/* Button-Styled Links */
.secondary-button-link {
    display: inline-block;
    background: #666;
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    text-decoration: none;
    transition: 0.2s ease-in-out;
}

.secondary-button-link:hover {
    background: #555;
}

.danger-button-link {
    display: inline-block;
    background: #d9534f;
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    text-decoration: none;
    transition: 0.2s ease-in-out;
}

.danger-button-link:hover {
    background: #c9302c;
}

.success-button-link {
    display: inline-block;
    background: #5cb85c;
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    text-decoration: none;
    transition: 0.2s ease-in-out;
}

.success-button-link:hover {
    background: #4cae4c;
}

		
		
		
		
		
		
		
		
		
		
		
		
		
		
		
/* Message Box Styling */
.message {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: bold;
    margin-top: 10px;
}

.message span {
    flex-grow: 1;
}

/* Ensure icons match text color */
.message::before {
    font-size: 16px;
    font-weight: bold;
    color: inherit;
}

/* Success Message */
.success-message {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

/* Error Message */
.error-message {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Neutral Message */
.neutral-message {
    background: #e2e3e5;
    color: #383d41;
    border: 1px solid #d6d8db;
}

/* Info Message */
.info-message {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}
		
		
		

	
/* Info Message */
.info-message-admin-purple {
	background: #D3A1F7;
	color: #0c5460;
	border: 3px solid #6A0DAD;
}

		
		
		
		
		
		
		
		
		
/* Ordered & Unordered List Styling */
ul, ol {
    margin: 10px 0;
    padding-left: 20px;
}

ul {
    list-style: disc;
}

ol {
    list-style: decimal;
}

ul ul, ol ol, ul ol, ol ul {
    margin-top: 5px;
    padding-left: 20px;
}

li {
    margin-bottom: 6px;
    font-size: 16px;
    color: #444;
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 0px;
    padding-bottom: 4px;

}

li::marker {
    color: #008080; /* Match button color */
    font-weight: bold;
}

/* Fancy List Style */
.fancy-list {
    list-style: none;
    padding-left: 0;
}

.fancy-list li {
    position: relative;
    padding-left: 28px;
}

.fancy-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    font-size: 18px;
    color: #008080;
    font-weight: bold;
}










/* Apply styles only to tables with the class "styled-table" */
.styled-table {
    width: 100%;
    border-collapse: collapse;
    font-family: Arial, sans-serif;
    font-size: 14px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}
/* Reduce font size for screens smaller than 768px (tablets and phones) */
@media (max-width: 768px) {
    .styled-table {
        font-size: 8px;
    }
}


.styled-table th {
	background: linear-gradient(135deg, #f2f2f2, #e6e6e6);
	color: #333;
	padding-left: 15px;
	padding-right: 0px;
	padding-top: 6px;
	padding-bottom: 6px;
	text-align: left;
	letter-spacing: 0.5px;
	border-bottom: 2px solid #ccc;
	border-radius: 6px; /* Rounded corners */
}

.styled-table th:first-child {
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
}

.styled-table th:last-child {
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
}

.styled-table tr:nth-child(odd) {
    background-color: #ffffff;
}

.styled-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.styled-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #ddd;
    color: #333;
}

.styled-table tr:hover {
    background-color: #ececec;
    transition: background 0.3s ease;
}


























/* https://css-loaders.com/classic/ */
/* HTML: <div class="loader"></div> */
.loader {
  width: fit-content;
  font-weight: bold;
  font-family: monospace;
  text-shadow: 
    0 0 0 rgb(255 0 0), 
    0 0 0 rgb(0 255 0), 
    0 0 0 rgb(0 0 255);
  font-size: 24px;
  animation: l32 6s infinite cubic-bezier(0.5,-2000,0.5,2000);
	/* 
		animation: l32 0.5s infinite cubic-bezier(0.5,-2000,0.5,2000);
		animation: l32 1s infinite cubic-bezier(0.5,-2000,0.5,2000);
		animation: l32 1.5s infinite cubic-bezier(0.5,-2000,0.5,2000);
		animation: l32 2s infinite cubic-bezier(0.5,-2000,0.5,2000);
		animation: l32 2.5s infinite cubic-bezier(0.5,-2000,0.5,2000);
		animation: l32 10s infinite cubic-bezier(0.5,-2000,0.5,2000);

	*/
	
}
.loader:before {
  content:"Loading QR Stuff...";
}

@keyframes l32{
	0% {
		text-shadow: 
		0.03px -0.01px 0.01px rgb(255 0 0), 
		0.02px  0.02px 0     rgb(0 255 0), 
		-0.02px  0.02px 0     rgb(0 0 255);
	}	

	1% { text-shadow: none; }

	2% {
		text-shadow: 
		0.03px -0.01px 0.01px rgb(255 0 0), 
		0.02px  0.02px 0     rgb(0 255 0), 
		-0.02px  0.02px 0     rgb(0 0 255);
	}	

	4% {
		text-shadow: 
		0.03px -0.01px 0.01px rgb(255 0 0), 
		0.02px  0.02px 0     rgb(0 255 0), 
		-0.02px  0.02px 0     rgb(0 0 255);
	}	

	15% { text-shadow: none; }

}





	
	
	
	
/* HTML: <div class="loaderInfinity1"></div> */
.loaderInfinity1 {
  display: inline-grid;
}
.loaderInfinity1:before,
.loaderInfinity1:after {
  content: "";
  grid-area: 1/1;
  height: 30px;
  aspect-ratio: 6;
  --c: #0000 64%,#000 66% 98%,#0000 101%;
  background:
    radial-gradient(35% 146% at 50% 159%,var(--c)) 0 0,
    radial-gradient(35% 146% at 50% -59%,var(--c)) 25% 100%;
  background-size: calc(100%/3) 50%;
  background-repeat: repeat-x;
  clip-path: inset(0 100% 0 0);
  animation: l10 8.5s infinite linear;
}
.loaderInfinity1:after {
  scale: -1;
}
@keyframes l10{
  50% {clip-path: inset(0)}
  to {clip-path: inset(0 0 0 100%)}
}
	
	
	








.help-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.2em;
  height: 1.2em;
  font-size: 0.9em;
  font-weight: bold;
  font-family: Arial, sans-serif;
  color: #007BFF; /* Bootstrap info blue */
  border: 2px solid #007BFF;
  border-radius: 50%;
  cursor: pointer;
  text-align: center;
  line-height: 1.2em;
	margin-left: 5px;
	margin-right: 5px;
	
}
.help-icon:hover {
  background-color: #007BFF;
  color: white;
}

#floating-help-box {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px; /* Adjust width as needed */
  padding: 20px;
  background: white;
  border: 2px solid #007BFF;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  text-align: left;
  font-size: 1.1em;
  font-family: Arial, sans-serif;
  color: #333;
	box-shadow: 18px 18px 20px rgba(0, 0, 0, 0.8);
}




