/* ----------------------------------------
  🔵 Access Button (Blue Dot with Icon)
------------------------------------------- */

#easy-access-button {
    position: fixed;
    bottom:15px;
    right:15px;
    width: 50px;
    height: 50px;
    background-color: #0073aa;
    border-radius: 50%;
    z-index: 9999;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
	border:3px solid white;
}

#easy-access-button i {
    font-size: 18px !important;
    color: white !important;
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
}

/* ----------------------------------------
  🧩 Popup Container Styles
------------------------------------------- */
#easy-access-popup {
    position: fixed;
bottom:15px;
    right:80px;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    z-index: 9999;
    padding: 12px;
    min-width: 180px;
    display: none;
    font-family: Arial, sans-serif;
    font-size: 14px;
    color: #000;
}

/* Protect popup from global overrides */
#easy-access-popup *,
#easy-access-button * {
    all: unset;
    box-sizing: border-box;
    font-family: Arial, sans-serif !important;
    font-size: 14px !important;
    color: #000 !important;
    line-height: 1.4;
    background: none;
    text-align: left;
    direction: ltr;
}

/* ----------------------------------------
  🎛️ Toggle Buttons
------------------------------------------- */
#easy-access-popup .easy-access-toggle,
#easy-access-popup .screen-reader-toggle,
#easy-access-popup .reset {
    background-color: #f2f2f2;
    color: #333;
    padding: 8px 10px;
    margin-bottom: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    cursor: pointer;
    text-align: center;
    font-weight: bold;
    transition: background 0.2s, color 0.2s;
}

#easy-access-popup .easy-access-toggle:hover,
#easy-access-popup .screen-reader-toggle:hover {
    background-color: #e0e0e0;
}

/* Active state */
#easy-access-popup .active {
    background-color: #0073aa;
    color: #fff!important;
    border-color: #005b88;
}

/* Reset button */
#easy-access-popup .reset {
    background-color: #ffe5e5;
    color: #c00;
    border-color: #c00;
}

/* ----------------------------------------
  🔠 Font Size Controls (A− / A+)
------------------------------------------- */
#easy-access-popup .easy-access-fontsize-controls {
    
    gap: 10px;
    margin-bottom: 14px;
	    padding: 8px!important;
    border: 1px solid #ccc!important;
    border-radius: 5px!important;
    background:#f2f2f2!important;
    margin-right:5px!important;
}

#easy-access-popup .easy-access-fontsize-controls button {
    flex: 1;
    font-size: 14px!important;
    font-family: Arial, sans-serif;
    cursor: pointer;
    background: #f2f2f2!important;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-weight: bold!important;
}

#easy-access-popup .easy-access-fontsize-controls button:nth-of-type(1) {
    
    
    padding-right:4px!important;
    margin-right:3px!important;
    font-size:14px!important;
    
}

.easy-access-highlighted-read {
    background: #ffffcc;
    padding: 2px;
    border-radius: 3px;
}

.easy-access-word-highlight {
    background: #ffec99;
    font-weight: bold;
}

/* ----------------------------------------
  ♿ Accessibility Overrides
------------------------------------------- */

/* High Contrast Mode */
body.easy-access-high-contrast *:not(#easy-access-popup):not(#easy-access-popup *):not(#easy-access-button):not(#easy-access-button *) {
    background-color: #fff !important;
    color: #000 !important;
    
}


body.easy-access-high-contrast .menu-outer .menu-button-lines  *:not(#easy-access-popup):not(#easy-access-popup *):not(#easy-access-button):not(#easy-access-button *){
    
    background-color:black!important;
    
}

/* Link Highlighting */
body.easy-access-highlight-links a:not(#easy-access-popup a):not(#easy-access-button a) {
    outline: 3px solid #00ff00 !important;
    
}

::selection{
    
    background:#ff1583;
    
}

/* Font Override */
body.easy-access-font-arial *:not(#easy-access-popup):not(#easy-access-button):not(i):not([class*="fa"]) {
    font-family: Arial, sans-serif !important;
}


body[class*="easy-access-font-"] *:not(#easy-access-popup *):not(#easy-access-button *):not(i):not(.fa):not(.fas):not(.fab):not(.fa-solid):not([class*="fa-"]) {
    font-size: inherit !important;
}

#easy-access-popup i,
#easy-access-popup [class^="fa"],
#easy-access-popup [class*=" fa-"] {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
}

.easy-access-toggle i {
    margin-right: 0.5em;
}

body.easy-access-font-80 { font-size: 80% !important; }
body.easy-access-font-90 { font-size: 90% !important; }
body.easy-access-font-100 { font-size: 100% !important; }
body.easy-access-font-110 { font-size: 110% !important; }
body.easy-access-font-120 { font-size: 120% !important; }
body.easy-access-font-130 { font-size: 130% !important; }
body.easy-access-font-140 { font-size: 140% !important; }
body.easy-access-font-150 { font-size: 150% !important; }
body.easy-access-font-160 { font-size: 160% !important; }
body.easy-access-font-170 { font-size: 170% !important; }
body.easy-access-font-180 { font-size: 180% !important; }
body.easy-access-font-190 { font-size: 190% !important; }
body.easy-access-font-200 { font-size: 200% !important; }

@media screen and (max-width:1199px){
    

	#easy-access-popup>*{
	
	display:flex;
	
}
	
	#easy-access-popup>* i{
	
	margin-right:10px;
	
}
	
	#decrease-font{
		
		text-align:center;
		
	}
	
	#increase-font{
		
		text-align:center;
		
	}
    
}