/*!
 * Part of the Accessido Accessibility Plugin
 * Author:       Accessido
 * Copyright:    (c) Accessido. All rights reserved.
 * License:      Commercial License – No redistribution permitted.
 * Website:      https://accessido.com
 */

/* iframens dokument – fyll och var transparent så ingen kant syns */
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
  background: transparent !important;
  overflow: hidden; /* inga scrollbar-kantskuggor */
}

/* SJÄLVA PANELEN – återställ grå bakgrund + rundning/skugga */
#tam-access-widget-panel {
  background-color: #f0f0f0;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  padding: 2px;
  font-family: 'Segoe UI', system-ui, sans-serif;
  font-size: 15px;
  color: #111;

  width: 100%;
  max-width: 300px;
  margin: 0 auto;

  height: auto !important;     /* låt innehållet styra höjden */
  max-height: none !important;
  box-sizing: border-box;
  overflow: visible !important; /* så skuggor syns */
}

h2, h3 {
  font-weight: 700;
  margin-bottom: 2px;
  color: #111;
}

h2 {
  display: none; 
}

h3 {
  margin-top: 5px;
  font-size: 16px;
}
#tam-lang-select {
  max-width: 110px;         
  min-width: 70px;        
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 14px;
}

#toggle-view {
  margin-top: 12px;
  background-color: #ffffff; 
  color: #000; 
  border: 2px solid #000; 
  padding: 10px 16px;
  font-weight: 600;
  border-radius: 8px;
  width: 100%;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: background-color 0.2s ease, transform 0.1s ease;
}

#toggle-view:hover {
  background-color: #f0f0f0; 
}

#toggle-view:active {
  background-color: #000; 
  color: #fff; 
  transform: scale(0.97);
}
.tam-toggle-option {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  margin: 2px 0;
  padding: 2px 0;
  border-bottom: 1px solid #555;
  font-size: 14px;
}

.tam-toggle-option .tam-toggle-master {
  flex-shrink: 0;
  margin-left: 0;
  margin-right: 0;
}

.tam-toggle-option .tam-text-label {
  margin-left: 8px;
  flex-grow: 1;
}

/* Toggle Switch */
.tam-toggle-option input[type="checkbox"] {
  appearance: none;
  width: 50px;
  height: 20px;
  background: #ccc;
  border-radius: 999px;
  position: relative;
  transition: background-color 0.2s;
  cursor: pointer;
  order: -1;
}

.tam-toggle-option input[type="checkbox"]:checked {
  background: #4a8cff;
}

.tam-toggle-option input[type="checkbox"]::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.2s;
}

.tam-toggle-option input[type="checkbox"]:checked::before {
  transform: translateX(16px);
}

#tam-text-minus,
#tam-text-plus {
  background-color: #ffffff;
  border: 2px solid #000;
  color: #000;
  font-size: 20px;
  font-weight: bold;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  position: relative;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

#tam-text-minus:hover,
#tam-text-plus:hover {
  background-color: #f0f0f0;
}

#tam-text-minus:active,
#tam-text-plus:active {
  background-color: #000;
  color: #fff;
  transform: scale(0.96);
}

.tam-profile-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #f2f6fc;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 10px 14px;
  margin-bottom: 8px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.tam-profile-button:hover {
  background-color: #eaf3ff;
}

.tam-profile-button span {
  font-size: 13px;
  color: #333;
  display: block;
  margin-top: 1px;
}

button#toggle-manual-settings {
  display: flex; 
  align-items: center;
  justify-content: center;
  flex-direction: row;
  width: 100%;
  max-width: 260px;
  height: 50px;
  padding: 8px 12px;
  background: #ffffff;
  color: #000;
  border: 2px solid #000;
  border-radius: 10px;
  box-sizing: border-box;
  font-size: 16px;
  font-weight: bold;
  margin-top: 14px;
  cursor: pointer;
  text-align: center;
  transition: background-color 0.2s ease, transform 0.1s ease;
}
button#toggle-manual-settings:hover {
  background: #f0f0f0;
}

button#toggle-manual-settings:active {
  background: #000;
  color: #fff;
  transform: scale(0.97);
}

#profiles-container,
#manual-container,
#manual-controls, 
.tam-orientation-options {

  display: flex;
  flex-wrap: wrap;
  justify-content: center; 
  gap: 2px;
  background: #ffffff;
  border-radius: 10px;
  padding: 10px; 
  margin-top: 2px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.tam-orientation-options h3 {
  width: 100%;
  text-align: center;
  margin: 2px;
  margin-bottom: 2px;
  font-size: 16px;
  font-weight: 700;
}
.tam-orientation-options h3::after {
	
  content: "";
  display: block;
  width: 40%;
  height: 2px;
  background: #333;
  margin: 8px auto 0 auto;
  border-radius: 2px;
}
.tam-button {

  width: 100%;
  max-width: 260px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  font-size: 16px;
  font-weight: 600;
  background-color: #ffffff; /* vit bakgrund */
  color: #000; /* svart text */
  border: 2px solid #000; /* svart ram */
  border-radius: 10px;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
  transition: background-color 0.2s ease, transform 0.1s ease;
  margin-top: 14px;
  box-sizing: border-box;
}

.tam-button:hover {
  background-color: #004399;
}

.tam-button:active {
  transform: scale(0.97);
}

button:focus-visible,
input[type="checkbox"]:focus-visible {
  outline: 2px solid #4a8cff;
  outline-offset: 2px;
}

button:focus,
input:focus {
  outline: 2px solid #00337a;
  outline-offset: 2px;
}


#tam-reset-settings {
  width: 100%;
  max-width: 260px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center; 
  padding: 0 16px;
  font-size: 16px;
  font-weight: 600;
  background-color: #ffffff; 
  color: #000; 
  border: 2px solid #000; 
  border-radius: 10px;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
  transition: background-color 0.2s ease, transform 0.1s ease;
  margin-top: 14px;
  box-sizing: border-box;
  gap: 8px; 
}
.tam-orient-icon,
.tam-reset-icon {
  width: 20px;
  height: 20x;
    margin-right: 8px;
  transition: filter 0.2s ease;
}

.tam-orient-text,
.tam-reset-text {
  margin-top: 0; 
  font-size: 4px;
  color: #000;
  font-weight: 600;
  text-align: center;
  line-height: 1.2;
}

.tam-orient-button:hover,
#tam-reset-settings:hover {
  background-color: #ededed;
}

.tam-orient-button.active,
#tam-reset-settings:active {
  background-color: #000;
}

.tam-orient-button.active img,
#tam-reset-settings:active img {
  filter: invert(1);
}

.tam-orient-button.active .tam-orient-text,
#tam-reset-settings:active .tam-reset-text {
  color: #fff;
}

#tam-text-plus:disabled,
#tam-text-minus:disabled {
    background-color: #d1d5db !important; 
    color: #6b7280 !important;          
    cursor: not-allowed !important;
    filter: grayscale(100%) !important;
    border: 1px solid #9ca3af !important;
}

.tam-toggle-master.active .tam-toggle-label {
  color: #fff;
}

.tam-toggle-master input[type="checkbox"] {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}
.tam-slider {
  display: block;

  height: 100%;
  position: relative;
  border-radius: inherit;
  overflow: hidden;
  width: 50px;
}
label.tam-toggle-master.small .tam-slider {
  width: 50px;
  height: 26px;
  border-radius: 20px;
  border: 1px solid #000;
  background: #ccc;
  position: relative;
  display: inline-block;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}
label.tam-toggle-master.small,
.tam-slider {
  box-sizing: border-box;
}
.tam-toggle-master.small .tam-toggle-circle {
  position: absolute;
  top: 1px;
  left: 2px;
  width: 22px;
  height: 22px;
  background-color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, background-color 0.2s ease;
  z-index: 1;
}
.tam-toggle-master.small .tam-toggle-label {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 20px;
  min-width: 20px;
  max-width: 38px; 
  font-weight: bold;
  color: #000;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  pointer-events: none;
  z-index: 2;
  transition: color 0.2s ease, font-size 0.2s;
}

.tam-toggle-master.small.active {
  background: #fff;
}

.tam-toggle-master.small.active .tam-toggle-circle {
  transform: translateX(24px); 
  background-color: #000;
}

.tam-toggle-master.small.active .tam-toggle-label {
  color: #fff;
}
.tam-toggle-option {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
}

.tam-toggle-master {
  flex-shrink: 0;
}

.tam-text-label {
  margin-left: 6px;
  font-size: 14px;
  flex-grow: 1;
}

.tam-toggle-master.small input[type="checkbox"]:checked + .tam-slider {
  background-color: #fff !important;
}
.tam-orient-button {
  width: calc(50% - 8px);
  height: 70px;
  font-size: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  background-color: #ffffff;
  border: 2px solid #000;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.1s ease;
  padding: 10px 8px;
  box-sizing: border-box;
  gap: 6px; 
}

.tam-orient-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.tam-orient-icon {
  width: 32px; 
  height: 32px;
  transition: filter 0.2s ease;
}

.tam-orient-text {
  margin-top: 5px;
  font-size: 12px; 
  color: #000;
  font-weight: 600;
  text-align: center;
  line-height: 1.2;
  white-space: normal;
}

.tam-orient-button:hover {
  background-color: #ededed;
}

.tam-orient-button.active {
  background-color: #000;
   color: #fff;
}

.tam-orient-button.active img {
  filter: invert(1);
}

.tam-orient-button.active .tam-orient-text {
  color: #fff;
}
.tam-orient-button:focus-visible {
  outline: 3px solid #0047ab; 
  outline-offset: 3px;
  background-color: #e6f0ff;
  border-radius: 8px;
  transition: background-color 0.2s ease, outline-color 0.2s ease;
}

#tam-access-widget-panel button:focus,
#tam-access-widget-panel a:focus,
#tam-access-widget-panel label:focus,
#tam-access-widget-panel input[type="checkbox"]:focus {
  outline: 3px solid #0047ab !important; 
  outline-offset: 3px;
  background-color: #e6f0ff !important;
  border-radius: 8px;
  transition: background-color 0.2s ease, outline-color 0.2s ease;
}


#tam-link-popup a {
  text-decoration: none;
  color: #000000; 
  background-color: #ffffff; 
  font-size: 18px;
  padding: 3px 6px;
  border-radius: 8px;
  display: block;
  outline: none;
  border: 2px solid transparent;
  transition: all 0.2s ease;
}

#tam-link-popup a:focus {
  background-color: #e6f7ff; 
  color: #000000; 
  border: 3px solid #0047ab; 
  border-radius: 8px;
  outline: none; 
   box-shadow: 0 0 0 3px #003366; 
}

#tam-toggle-btn {
    width: 80px;
    height: 80px;
    background: white;
    color: black;
    border: 2px solid #0047ab; 
    border-radius: 50%;
    box-shadow: 0 0 0 2px white, 0 0 0 4px #0047ab; 
    font-size: 28px;
    text-align: center;
    line-height: 60px;
    cursor: pointer;
    z-index: 10001;
    transition: all 0.3s ease;
}

#tam-toggle-btn:hover {
    background: #0047ab;
    color: white;
    box-shadow: 0 0 0 4px #0047ab, 0 0 0 8px white;
}

#tam-toggle-btn:focus-visible {
    outline: 3px solid #00AEEF;
    outline-offset: 4px;
}
#manual-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px; 
  padding: 0 10px 10px 10px; 
}
#manual-controls .tam-button,
#manual-controls #tam-reset-settings {
  width: 100%;
  max-width: 260px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 600;
  background-color: #fff;
  color: #000;
  border: 2px solid #000;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.tam-powered-by {
  text-align: center;
  font-size: 0.75rem;
  margin-top: 20px;
  color: #000;
}
.tam-powered-by a {
  text-decoration: none;
  color: inherit;
}

#tam-language-switcher {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  flex-wrap: nowrap !important;
  gap: 10px;
  padding: 0 8px 0 8px;
  width: 100%;
  box-sizing: border-box;
}

.tam-powered-accessido {
  display: flex !important;
  align-items: center !important;
  min-width: 50px;
  max-width: 90px;
  margin-right: 4px;
  flex-shrink: 0;
}

#tam-language-switcher img {
  display: inline-block !important;
  width: 1.2em !important;
  height: 1.2em !important;
  margin-right: 4px !important;
  flex-shrink: 0 !important;
}

.tam-language-label {
  display: inline-block !important;
  margin-right: 4px !important;
  white-space: nowrap;
}


#tam-widget-iframe {
  max-width: 90vw !important;
  transform-origin: bottom right !important;
}

.tam-mobile #tam-access-widget-panel {
  font-size: 8px !important;
  padding: 4px !important;
  gap: 4px !important;
}

.tam-mobile .tam-button,
.tam-mobile #tam-reset-settings,
.tam-mobile #toggle-view,
.tam-mobile .tam-orient-button,
.tam-mobile .tam-voice-btn {
  font-size: 2px !important;
  padding: 4px 6px !important;
  min-width: auto !important;
  min-height: auto !important;
  height: auto !important;
  line-height: 1 !important;
}

.tam-mobile .tam-toggle-master.small .tam-toggle-label {
  font-size: 0 !important;
  line-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}

.tam-mobile #tam-language-switcher {
  flex-wrap: wrap;
  gap: 4px !important;
  margin-bottom: 4px !important;
}

.tam-mobile .tam-powered-text {
  font-size: 9px !important;
  line-height: 1.1 !important;
}


.tam-toggle-master.small .tam-toggle-label {
  font-size: 10px;
}


.tam-toggle-master.small .tam-toggle-label[data-long="1"] {
  font-size: 7px;
}



.tam-toggle-master.small .tam-toggle-label[data-long="2"] {
  font-size: 5px;
}

#tam-voice-control {
  font-size: 14px;
  border-radius: 8px;
  border: 1px solid #ddd;
  background-color: #f9f9f9;
  cursor: pointer;
  transition: background-color 0.3s;
}

#tam-voice-control:hover {
  background-color: #e9e9e9;
}

#tam-voice-control.active {
  background-color: #d0e7ff;
  border-color: #007bff;
}
.tam-powered-text {
  font-size: 12px;
  text-align: center;
  color: #333;
  margin: 2px 0;
  line-height: 1.2;
}

.tam-powered-text span {
  font-weight: bold;
  color: #000;
}
.tam-powered-strip {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}
.tam-powered-text a {
  color: black !important;
  text-decoration: none !important;
  font-weight: bold;
}

.tam-powered-text a:hover {
  text-decoration: underline !important;
  color: #333 !important;
}

.tam-voice-btn {
  font-size: 12px;
  padding: 2px 6px;
  line-height: 1;
  height: auto;
  border-radius: 6px;
}

.tam-semicompact #tam-access-widget-panel {
  font-size: 12px;
  padding: 2px;
  max-width: 300px;
}

/* === Rubriker och sektioner === */
.tam-semicompact h1,
.tam-semicompact h2,
.tam-semicompact h3,
.tam-semicompact .tam-section-title,
.tam-semicompact .tam-section-heading {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.24;
  letter-spacing: 0.05em;
  margin-top: 8px;
  margin-bottom: 5px;
  color: #111;
  font-family: 'Arial Rounded MT Bold', Arial, sans-serif;
}

.tam-semicompact label.tam-text-label, 
.tam-semicompact .tam-orient-text,
.tam-semicompact .tam-profile-title {
  font-size: 13px;
  font-weight: 600;
  color: #181818;
  letter-spacing: 0.03em;
}

.tam-semicompact .tam-profile-button {
  padding: 5px 8px;
  border-radius: 10px;
  margin-bottom: 6px;
}

.tam-semicompact .tam-profile-title {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.1;
}

.tam-semicompact .tam-profile-desc {
  font-size: 11px;
  color: #555;
  line-height: 1.18;
  margin-top: 0.5px;
  font-weight: 400;
}
.tam-semicompact #tam-lang-select {
  font-size: 11px;
  max-width: 90px;
  min-width: 55px;
}

.tam-semicompact #tam-language-switcher {
  gap: 5px;
  padding: 0 5px;
}

.tam-semicompact #toggle-view {
  padding: 5px 8px;
  font-size: 12px;
  border-radius: 6px;
}

.tam-semicompact .tam-button,
.tam-semicompact #tam-reset-settings,
.tam-semicompact #toggle-manual-settings {
  font-size: 14px;
  height: 46px;
  padding: 6px 12px;
  max-width: 250px;
  margin-top: 8px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 10px;
}
.tam-semicompact .tam-button span {
  text-align: center;
  font-size: 17px;
  font-weight: 600;
  flex: none;
}

.tam-semicompact .tam-button svg,
.tam-semicompact .tam-button img.tam-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin: 0;
}

.tam-semicompact #tam-voice-control-main,
.tam-semicompact #tam-keyboard-control-main {
  font-size: 12px !important;
  height: 48px !important;
  padding: 6px 12px !important;
  max-width: 282px;
  margin-top: 6px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 10px;
}
.tam-semicompact #tam-voice-control-main span,
.tam-semicompact #tam-keyboard-control-main span {
  font-size: 17px !important;
  font-weight: 700;
}
.tam-semicompact #tam-voice-control-main img,
.tam-semicompact #tam-keyboard-control-main img {
  width: 20px;
  height: 20px;
  margin: 0;
  flex-shrink: 0;
}
.tam-semicompact .tam-orient-button {
  height: 40px;
  font-size: 10px;
  padding: 3px 2px;
  gap: 2px;
  flex-direction: column;
  align-items: center;
}

.tam-semicompact .tam-orient-icon {
  width: 16px;
  height: 16px;
  display: block;
  margin: 0 auto 0.5px auto;
}

.tam-semicompact .tam-orient-text {
  font-size: 12px;
  line-height: 1.08;
  text-align: center;
  margin: 0;
  font-weight: 500;
}
.tam-semicompact .tam-toggle-option {
  font-size: 10.5px;
  gap: 6px;
  margin: 1px 0;
}

.tam-semicompact .tam-toggle-option input[type="checkbox"] {
  width: 30px;
  height: 13px;
}

.tam-semicompact .tam-toggle-option input[type="checkbox"]::before {
  width: 10px;
  height: 10px;
}
.tam-semicompact #tam-text-minus,
.tam-semicompact #tam-text-plus {
  font-size: 14px;
  width: 24px;
  height: 24px;
  border-radius: 7px;
}

.tam-semicompact .tam-voice-btn {
  font-size: 9px;
  padding: 2px 3px;
}
.tam-semicompact .tam-powered-text {
  font-size: 9px;
}
.tam-mobile #tam-access-widget-panel {
  font-size: 9.5px !important;
  padding: 5px 6px !important;
  background: #fff !important;
  max-width: 98vw !important;
  max-height: 99vh !important;
  overflow-y: auto !important;
  line-height: 1.15 !important;
  border: none !important;
}
.tam-mobile h3,
.tam-mobile .tam-section-title,
.tam-mobile .tam-section-heading {
  display: block !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  margin: 3px 0 2px 0 !important;
  color: #161616 !important;
  letter-spacing: 0.01em;
  line-height: 1.14 !important;
}
.tam-mobile .tam-section-title { font-size: 12.2px !important; }
.tam-mobile .tam-section-heading { font-size: 11.5px !important; }
.tam-mobile #tam-language-switcher {
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;
  flex-wrap: wrap !important;
  margin-bottom: 4px !important;
}
.tam-mobile #tam-lang-select {
  font-size: 10px !important;
  min-width: 48px !important;
  max-width: 90px !important;
  height: 22px !important;
  padding: 1.5px 6px !important;
}
.tam-mobile .tam-profile-button .tam-profile-title {
  font-size: 10.5px !important;
  font-weight: 700 !important;
  color: #181818 !important;
  margin: 0 0 0 2px !important;
  line-height: 1.11 !important;
  display: block !important;
}
.tam-mobile .tam-profile-desc {
  display: none !important;
}
.tam-mobile .tam-toggle-option {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;   
  gap: 5px !important;
  font-size: 9px !important;
  padding: 1.5px 0 !important;
  height: 21px !important;
  width: 100% !important;
  margin: 0 !important;
}

.tam-mobile .tam-toggle-master {
  transform: scale(0.67) !important;
  flex-shrink: 0 !important;
  margin: 0 0 0 0 !important;
}

.tam-mobile .tam-toggle-option .tam-text-label,
.tam-mobile .tam-toggle-option span,
.tam-mobile .tam-toggle-option label {
  flex-grow: 1 !important;
  font-size: 9px !important;
  font-weight: 600 !important;
  padding: 0 !important;
  margin: 0 !important;
  line-height: 1.14 !important;
  overflow: hidden !important;
  color: #151515 !important;
}

.tam-mobile .tam-orient-button {
  height: 26px !important;
  min-width: 40px !important;
  font-size: 8px !important;
  padding: 2px !important;
  gap: 0 !important;
  flex-direction: column !important;
  align-items: center !important;
  border-radius: 6px !important;
  border-width: 1.2px !important;
}
.tam-mobile .tam-orient-icon {
  width: 12.5px !important;
  height: 12.5px !important;
  margin: 0 0 1px 0 !important;
  display: block !important;
}
.tam-mobile .tam-orient-text {
  font-size: 8px !important;
  line-height: 1.04 !important;
  text-align: center !important;
  margin: 0 !important;
  font-weight: 700 !important;
  letter-spacing: 0.01em;
}

.tam-mobile .tam-button,
.tam-mobile #tam-reset-settings,
.tam-mobile #toggle-manual-settings,
.tam-mobile #toggle-view {
  font-size: 9px !important;
  padding: 3px 4px !important;
  line-height: 1.1 !important;
  border-radius: 3px !important;
  margin-top: 4px !important;
  height: 27px !important;
}

.tam-mobile .tam-voice-btn {
  font-size: 8.7px !important;
  padding: 2px 4px !important;
}
.tam-mobile .tam-description,
.tam-mobile .tam-profile-desc,
.tam-mobile .tam-powered-strip,
.tam-mobile .tam-powered-text,
.tam-mobile .diagnos-description,
.tam-mobile br,
.tam-mobile .tam-text-label small,
.tam-mobile .tam-text-label br {
  display: none !important;
  visibility: hidden !important;
  font-size: 0 !important;
  height: 0 !important;
  line-height: 0 !important;
  overflow: hidden !important;
}

.tam-mobile .tam-profile-button {
  padding: 1.5px 4px !important;
  margin-bottom: 3px !important;
  border-radius: 8px !important;
}
.tam-mobile .tam-section-title,
.tam-mobile .tam-section-heading {
  display: none !important;
  visibility: hidden !important;
  font-size: 0 !important;
  height: 0 !important;
  line-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}
.tam-mobile h3 {
  display: none !important;
  visibility: hidden !important;
  font-size: 0 !important;
  height: 0 !important;
  line-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}
.tam-mobile .tam-language-label {
  display: none !important;
  font-size: 0 !important;
  width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

.tam-mobile #tam-voice-control {
  font-size: 0 !important;
  padding: 2px 5px !important;
}
.tam-mobile #tam-voice-control::before {
  content: "🎤";
  font-size: 18px !important;
  margin-right: 0 !important;
  vertical-align: middle;
}

.tam-mobile #profiles-container,
.tam-mobile .tam-orientation-options,
.tam-mobile #manual-controls,
.tam-mobile #manual-container {
  margin-top: 5px !important;
  margin-bottom: 4px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
.tam-mobile #tam-access-widget-panel > * {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding: 0 !important;
}
.tam-mobile .tam-profile-button,
.tam-mobile .tam-toggle-option,
.tam-mobile .tam-orient-button {
  margin-bottom: 2px !important;
  margin-top: 0 !important;
}
.tam-mobile .tam-button,
.tam-mobile #tam-reset-settings,
.tam-mobile #toggle-view {
  margin-top: 3px !important;
  margin-bottom: 2px !important;
}
.tam-mobile #tam-text-minus,
.tam-mobile #tam-text-plus {
  font-size: 13px !important;
  width: 22px !important;
  height: 22px !important;
  border-radius: 6px !important;
  padding: 0 !important;
  min-width: unset !important;
  min-height: unset !important;
  margin: 0 2px !important;
  box-sizing: border-box !important;
  line-height: 1 !important;
}
#tam-assistive-section {
	
  width: 100%;
  margin-top: 8px;
}
.tam-assistive-title {
  width: 100%;
  text-align: center;
  margin: 6px 0 2px 0;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #111;
}

.tam-assistive-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
  width: 100%;
}
#tam-assistive-section .tam-button {
	
  width: 100%;
  padding: 10px 12px;
  margin: 6px 0;
  background-color: #fff;
  border: 2px solid #000;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
}

#tam-assistive-section .tam-button:hover {
  background-color: #ededed !important;
  color: #000 !important;
}

#tam-assistive-section .tam-button.active {
  background-color: #000 !important;
  color: #fff !important;
  border-color: #000 !important;
}
#tam-assistive-section .tam-button img {
  margin: 0;
  padding: 0;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}
#tam-assistive-section .tam-button span {
  flex: 1;
  text-align: center;
}
.elementor-menu-cart__toggle_button,
.elementor-menu-cart__toggle_button .elementor-button-icon {
    font-size: 24px !important;
    transform: none !important;
    scale: 1 !important;
    filter: none !important;
}
.tam-button.active {
  background-color: #444; 
  color: #fff;         
  border-color: #444;
}

.tam-semicompact .tam-button.active {
  background-color: #444 !important;
  color: #fff !important;
  border-color: #444 !important;
}

.tam-mobile .tam-button.active {
  background-color: #444 !important;
  color: #fff !important;
  border-color: #444 !important;
}