html,
body {
 height: 100%;
 -webkit-text-size-adjust: 100%;
}

body {
 margin: 0px;
 padding: 0px;
 line-height: 180%;
 font-family: Verdana, Arial, Helvetica, sans-serif;
 font-size: 12px;
 color: #171717;
 -webkit-font-smoothing: antialiased;
 -moz-osx-font-smoothing: grayscale;
}

h1 { 
 font-size: 19px; 
 line-height: 1.3;
 color: #003755; /* TILFØJET - Mørkeblå H1 */
}
h2 { 
 font-size: 16px; 
 line-height: 1.3;
}
h3 { 
 font-size: 15px; 
 font-weight: bold; 
 line-height: 1.3;
}

h1, h2, h3 {
 margin-top: 0px;
 font-family: Verdana, Arial, Helvetica, sans-serif;
 font-weight: bold;
}

p, ol, ul {
 margin: 0px;
 padding: 0px;
}

ol {
 padding-left: 40px;
}

strong {
 color: #003755; /* ÆNDRET - Mørkeblå fed skrift */
}

a {
 color: #0066cc; /* ÆNDRET - Blå links */
 text-decoration: none;
}

a:hover {
 text-decoration: underline;
}

a img {
 border: none;
}

/* BASIS BILLEDE STYLES */
img {
 max-width: 100%;
 height: auto;
}

img.border {
 border: 1px solid #C0C0C0;
}

/* CONTAINER & LAYOUT */
.container {
 width: 1200px;
 margin: 0px auto;
}

#page {
 overflow: hidden;
 margin-bottom: 10px;
}

/* HEADER */
#header {
 margin: 20px 0 0 275px;
}

/* TAB SYSTEM FOR MULTI-QUIZ */
.quiz-tabs {
 display: flex;
 gap: 5px;
 margin: 20px 0;
 border-bottom: 2px solid #ddd;
}

.tab-btn {
 padding: 10px 20px;
 background-color: #f5f5f5;
 border: 1px solid #ddd;
 border-bottom: none;
 border-radius: 5px 5px 0 0;
 cursor: pointer;
 font-size: 14px;
 font-family: Verdana, Arial, Helvetica, sans-serif;
 transition: all 0.3s ease;
}

.tab-btn:hover {
 background-color: #e9e9e9;
}

.tab-btn.active {
 background-color: #fff;
 border-bottom: 2px solid #fff;
 position: relative;
 top: 2px;
 font-weight: bold;
}

/* Individuelle fanebladsfarver */
.tab-btn[onclick*="begrebsmatch"] {
  background-color: #e8f5e9;  /* Lys grøn */
}

.tab-btn[onclick*="begrebsmatch"]:hover {
  background-color: #c8e6c9;  /* Mørkere grøn ved hover */
}

.tab-btn[onclick*="begrebsmatch"].active {
  background-color: #fff;
}

.tab-btn[onclick*="ordrebus"] {
  background-color: #e3f2fd;  /* Lys blå */
}

.tab-btn[onclick*="ordrebus"]:hover {
  background-color: #bbdefb;  /* Mørkere blå ved hover */
}

.tab-btn[onclick*="ordrebus"].active {
  background-color: #fff;
}

.tab-btn[onclick*="multiplechoice"] {
  background-color: #fce4ec;  /* Lys pink */
}

.tab-btn[onclick*="multiplechoice"]:hover {
  background-color: #f8bbd0;  /* Mørkere pink ved hover */
}

.tab-btn[onclick*="multiplechoice"].active {
  background-color: #fff;
}

.tab-btn[onclick*="andet"] {
  background-color: #fff9c4;  /* Lys gul */
}

.tab-btn[onclick*="andet"]:hover {
  background-color: #fff176;  /* Mørkere gul ved hover */
}

.tab-btn[onclick*="andet"].active {
  background-color: #fff;
}

.quiz-panel {
 display: none;
 padding: 20px 0;
}

.quiz-panel.active {
 display: block;
}

/* FÆLLES QUIZ KOMPONENTER */
.quiz-container {
   background-color: #ffffff;
   padding: 10px;
   border-radius: 8px;
   margin-bottom: 20px;
   font-family: Verdana, Arial, Helvetica, sans-serif;
   max-width: 100%;
   line-height: 1.6;
   font-size: 14px;
   -webkit-text-size-adjust: 100%;
}

.quiz-button {
   padding: 8px 12px;
   border: none;
   border-radius: 4px;
   cursor: pointer;
   font-size: 14px;
   margin-right: 10px;
   font-family: Verdana, Arial, Helvetica, sans-serif;
   -webkit-text-size-adjust: 100%;
}

.check-btn {
   background-color: #a5d6a7;  /* Pastel grøn */
   color: #1b5e20;  /* Mørkegrøn tekst */
   border: 1px solid #81c784;
   font-weight: bold;
}

.check-btn:hover {
   background-color: #81c784;
}

.restart-btn {
   background-color: #90caf9;  /* Pastel blå */
   color: #0d47a1;  /* Mørkeblå tekst */
   border: 1px solid #64b5f6;
   font-weight: bold;
}

.restart-btn:hover {
   background-color: #64b5f6;
}

#final-score {
   background-color: #ffcc80;
   color: #e65100;
   border: 1px solid #ffb74d;
   border-radius: 4px;
   padding: 8px 12px;
   font-family: Verdana, Arial, Helvetica, sans-serif;
   font-size: 14px;
   cursor: default;
   margin-left: 30px;
   font-weight: bold;
   -webkit-text-size-adjust: 100%;
}

/* MULTIPLE CHOICE SPECIFIKKE STYLES */
.question {
   margin-bottom: 15px;
   position: relative;
   padding-bottom: 10px;
}

#multiplechoice-panel .question p {
    margin-bottom: 35px;
}

.feedback {
   display: inline-block;
   margin-left: 10px;
   font-size: 16px;
}

.correct {
   color: #28a745;
}

.incorrect {
   color: #dc3545;
}

.tip {
   display: block;
   font-style: italic;
   font-size: 12px;
   color: #6c757d;
   margin-top: 5px;
   line-height: 1.4;
}

.radio-options {
 display: flex;
 flex-direction: column;
 gap: 10px;
}

.radio-options label {
 display: block;
 width: 100%;
 margin-bottom: 5px;
}

.radio-options label input[type="radio"] {
 margin-right: 8px;
}

.mc-feedback-row {
 margin-top: 5px;
}

#mc-final-score {
   background-color: #ffcc80;
   color: #e65100;
   border: 1px solid #ffb74d;
   border-radius: 4px;
   padding: 8px 12px;
   font-family: Verdana, Arial, Helvetica, sans-serif;
   font-size: 14px;
   font-weight: bold;
   cursor: default;
   margin-left: 30px;
   -webkit-text-size-adjust: 100%;
}

/* ORDBLOK (DRAG-AND-DROP) SPECIFIKKE STYLES */
.dragdrop-quiz-container {
   background-color: #ffffff;
   padding: 20px;
   padding-left: 0px;
   border-radius: 8px;
   margin-bottom: 20px;
   font-family: Verdana, Arial, Helvetica, sans-serif;
   max-width: 100%;
   line-height: 1.6;
   font-size: 14px;
   -webkit-text-size-adjust: 100%;
}

.quiz-text {
   padding: 0px;
   border-radius: 8px;
   margin-bottom: 10px;
   line-height: 3.6;
   font-size: 14px;
   -webkit-text-size-adjust: 100%;
}

.drop-zone {
   display: inline-block;
   min-width: 120px;
   border: 2px dashed #007bff;
   border-radius: 6px;
   background-color: #f0f8ff;
   margin: 0 5px;
   padding: 3px 4px;
   text-align: center;
   vertical-align: middle;
   font-weight: bold;
   color: #007bff;
   cursor: pointer;
   transition: all 0.3s ease;
   position: relative;
   line-height: 1.2;
   font-size: 13px;
   -webkit-text-size-adjust: 100%;
}

.drop-zone.drag-over {
   background-color: #e3f2fd;
   border-color: #1976d2;
   transform: scale(1.05);
}

.drop-zone.filled {
   background-color: #e8f5e8;
   border-color: #28a745;
   color: #155724;
}

.drop-zone.error {
   background-color: #f8d7da;
   border-color: #dc3545;
   color: #721c24;
   animation: shake 0.5s ease-in-out;
}

@keyframes shake {
   0%, 100% { transform: translateX(0); }
   25% { transform: translateX(-5px); }
   75% { transform: translateX(5px); }
}

.terms-container {
   background-color: #f8f9fa;
   padding: 15px;
   border-radius: 8px;
   margin-bottom: 15px;
   border: 2px solid #e9ecef;
}

.term-item {
   display: inline-block;
   background-color: #007bff;
   color: white;
   padding: 8px 15px;
   margin: 5px;
   border-radius: 20px;
   cursor: grab;
   user-select: none;
   font-size: 13px;
   font-weight: bold;
   transition: all 0.3s ease;
   border: 2px solid #007bff;
   line-height: 1.2;
   -webkit-text-size-adjust: 100%;
}

.term-item:hover {
   background-color: #0056b3;
   transform: translateY(-2px);
   box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.term-item.dragging {
   opacity: 0.5;
   cursor: grabbing;
   transform: rotate(5deg);
}

.term-item.used {
   background-color: #6c757d;
   border-color: #6c757d;
   cursor: not-allowed;
   opacity: 0.6;
}

.drop-zone-feedback {
   position: absolute;
   top: calc(100% - 10px);
   left: -3px;
   transform: none;
   font-size: 10px;
   color: #dc3545;
   font-style: italic;
   font-weight: bold;
   white-space: nowrap;
   z-index: 10;
   max-width: 300px;
   line-height: 1.2;
   -webkit-text-size-adjust: 100%;
}

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

/* ORDMATCH SPECIFIKKE STYLES */
.ordmatch-container {
 margin: 20px 0;
}

.definition-item {
 background-color: #f8f9fa;
 border: 2px solid #dee2e6;
 border-radius: 8px;
 padding: 6px;
 margin-bottom: 28px;
 min-height: 40px;
 position: relative;
 display: flex;
 align-items: center;
 width: 45%; 
}

.definition-text {
 font-size: 15px;
 line-height: 1.5;
 flex: 0 0 78%;
 padding-right: 10px;
}

.feedback-error {
 color: #f44336;
 font-size: 12px;
 margin-top: 5px;
 padding: 5px;
 background-color: white;
 border-radius: 2px;
 display: none;
 position: absolute;
 bottom: -50px;
 left: 0;
 right: 0;
 z-index: 10;
}

.dropped-term {
 background-color: #4d94ff;
 color: white;
 padding: 6px 10px;
 border-radius: 15px;   
 display: inline-block;
 cursor: move;
 position: relative;
 top: -12px
}

.definition-drop-zone {
 min-height: 30px;
 border: none;
 padding: 5px;
 padding-top: 3px;
 margin-top: -5px;
 background-color: transparent;
 transition: all 0.3s ease;
 position: absolute;
 top: 0;
 left: 0;
 bottom: 0;
 display: flex;
 align-items: flex-start;
 justify-content: flex-end;
 padding-right: 10px;
 right: 0;
 width: 100%;
}

.definition-drop-zone.drag-over {
 background-color: #e7f3ff;
 border-color: #0066cc;
}

.definition-drop-zone.error {
 border-color: #f44336;
}

.definition-item:hover {
 border-color: #0066cc;
 box-shadow: 0 2px 4px rgba(0, 102, 204, 0.1);
}

.definition-item.drag-over {
 border-color: #0066cc;
 background-color: #e7f3ff;
}

#ordmatch-final-score {
   background-color: #ffcc80;
   color: #e65100;
   border: 1px solid #ffb74d;
   border-radius: 4px;
   padding: 8px 12px;
   font-family: Verdana, Arial, Helvetica, sans-serif;
   font-size: 14px;
   font-weight: bold;
   cursor: default;
   margin-left: 30px;
   -webkit-text-size-adjust: 100%;
}

#ordmatch-definitions-container {
 display: flex;
 flex-wrap: wrap;
 gap: 15px;
 justify-content: flex-start;
 gap: 32px;
}

#ordmatch-definitions-container .definition-item {
 background-color: #f8f9fa;
 border: 2px solid #dee2e6;
 border-radius: 8px;
 padding: 6px;
 margin-bottom: 28px;
 min-height: 40px;
 position: relative;
 display: flex;
 align-items: center;
 width: 45%;
}

#ordmatch-definitions-container .feedback-error {
 color: #f44336;
 font-size: 12px;
 margin-top: 5px;
 padding: 5px;
 background-color: white;
 border-radius: 2px;
 display: none;
 position: absolute;
 bottom: -50px;
 left: 0;
 right: 0;
 z-index: 10;
 font-weight: bold;
 white-space: normal;
}

#ordmatch-terms-container {
 display: flex;
 flex-wrap: wrap;
 gap: 6px;
 justify-content: center;
 margin-bottom: 30px;
 padding: 10px 5px;
 background-color: #f0f4f8;
 border-radius: 8px;
}

#ordmatch-definitions-container .definition-text {
  font-size: 15px;
  line-height: 1.5;
  flex: 0 0 78%;
  padding-right: 10px;
}

#ordmatch-definitions-container .definition-drop-zone {
  min-height: 30px;
  border: none;
  padding: 5px;
  padding-top: 3px;
  margin-top: -5px;
  background-color: transparent;
  transition: all 0.3s ease;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding-right: 10px;
  right: 0;
  width: 100%;
}

#ordmatch-definitions-container .dropped-term {
  background-color: #4d94ff;
  color: white;
  padding: 6px 10px;
  border-radius: 15px;   
  display: inline-block;
  cursor: move;
  position: relative;
  top: -12px;
}

#ordmatch-definitions-container .definition-item {
  overflow: visible;
}

#ordmatch-definitions-container .definition-drop-zone.drag-over {
  background-color: transparent;
}

#ordmatch-definitions-container .definition-item.drag-over {
  border-color: #0066cc;
  background-color: #e7f3ff;
}

/* FÆLLES FEEDBACK STYLES */
.feedback-message {
   margin-top: 10px;
   padding: 10px;
   border-radius: 6px;
   font-size: 13px;
   display: none;
   line-height: 1.4;
   -webkit-text-size-adjust: 100%;
}

.feedback-message.error {
   background-color: #f8d7da;
   color: #dc3545;
   border: 1px solid #f5c6cb;
   font-weight: bold;
}

.feedback-message.success {
   background-color: #d4edda;
   color: #155724;
   border: 1px solid #c3e6cb;
}

/* CHAT KOMPONENTER */
#chat-container {
 background-color: rgb(98%, 98%, 98%);  /* Præcis match med FCP 0.98 */
 padding: 15px;
 border-radius: 8px;
 width: 240px;
 min-width: auto;
 max-width: 240px;
 box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

#chatbox {
 background: white;
 border: 1px solid #ccc;
 height: 250px;
 overflow-y: auto;
 padding: 10px;
 margin-bottom: 10px;
 font-family: Verdana, Arial, Helvetica, sans-serif;
 font-size: 12px;
 line-height: 1.4;
 -webkit-text-size-adjust: 100%;
}

#chat-input {
 display: flex;
 gap: 8px;
 align-items: center;
}

#msg {
 width: 150px;
 flex: none;
 padding: 8px;
 font-size: 12px;
 font-family: Verdana, Arial, Helvetica, sans-serif;
 -webkit-text-size-adjust: 100%;
}

#chat-input button {
 padding: 8px 12px;
 font-size: 14px;
 white-space: nowrap;
 flex: none;
 background-color: #0066cc; /* TILFØJET - Blå send knap */
 color: white; /* TILFØJET */
 border: none; /* TILFØJET */
 border-radius: 4px; /* TILFØJET */
 cursor: pointer; /* TILFØJET */
 -webkit-text-size-adjust: 100%;
}

#chat-input button:hover {
 background-color: #0052a3; /* TILFØJET - Mørkere blå ved hover */
}

/* MENU */
#menu {
 margin: 10px 0px;
 list-style: none;
 background: #003755; /* ÆNDRET fra #3d3b3b til mørkeblå */
 -moz-border-radius: 25px;
 border-radius: 25px;
 -moz-box-shadow: 0 2px 1px #b6b6b6;
 -webkit-box-shadow: 0 2px 1px #b6b6b6;
 box-shadow: 0 2px 1px #b6b6b6;
 display: block;
 text-align: center;
}

#menu li {
 position: relative;
 line-height: 0;
 display: inline-block;
}

#menu a {
 padding: 10px 15px;
 color: #f2efe4;
 text-transform: uppercase;
 font: bold 12px/25px Verdana, Arial, Helvetica;
 text-decoration: none;
 text-shadow: 0 0px 0 #000;
 display: inline-block;
 -webkit-text-size-adjust: 100%;
}

#menu li > a:hover {
 color: #f2efe4;
}

#menu li:hover > ul {
 display: block;
}

#menu ul {
 list-style: none;
 margin: 0;
 padding: 0;
 display: none;
 position: absolute;
 top: 45px;
 left: 0;
 z-index: 99999;
 background: #444;
 background: linear-gradient(#444, #111);
 -moz-box-shadow: 0 0 2px rgba(255, 255, 255, .5);
 -webkit-box-shadow: 0 0 2px rgba(255, 255, 255, .5);
 box-shadow: 0 0 2px rgba(255, 255, 255, .5);
 -moz-border-radius: 5px;
 border-radius: 5px;
}

#menu ul ul {
 top: 0;
 left: -150px;
}

#menu ul li {
 float: none;
 margin: 0;
 padding: 0;
 display: block;
 -moz-box-shadow: 0 1px 0 #111111, 0 2px 0 #777777;
 -webkit-box-shadow: 0 1px 0 #111111, 0 2px 0 #777777;
 box-shadow: 0 1px 0 #111111, 0 2px 0 #777777;
}

#menu ul li:last-child {
 -moz-box-shadow: none;
 -webkit-box-shadow: none;
 box-shadow: none;
}

#menu ul a {
 padding: 10px;
 height: 10px;
 width: 130px;
 height: auto;
 line-height: 1.2;
 display: block;
 white-space: nowrap;
 float: none;
 text-transform: none;
 color: #f2efe4;
 -webkit-text-size-adjust: 100%;
}

#menu ul a:hover,
#menu ul a:visited {
 background: #e1dbc2;
}

#menu ul a:visited {
 color: #f2efe4;
}

#menu ul li:first-child > a {
 -moz-border-radius: 5px 5px 0 0;
 border-radius: 5px 5px 0 0;
}

#menu ul li:first-child > a:after {
 content: '';
 position: absolute;
 left: 30px;
 top: -8px;
 width: 0;
 height: 0;
 border-left: 5px solid transparent;
 border-right: 5px solid transparent;
 border-bottom: 8px solid #444;
}

#menu ul ul li:first-child a:after {
 left: 150px;
 top: 12px;
 width: 0;
 height: 0;
 border-left: 0;
 border-bottom: 5px solid transparent;
 border-top: 5px solid transparent;
 border-left: 8px solid #444;
}

#menu ul li:last-child > a {
 -moz-border-radius: 0 0 5px 5px;
 border-radius: 0 0 5px 5px;
}

#menu:after {
 visibility: hidden;
 display: block;
 font-size: 0;
 content: " ";
 clear: both;
 height: 0;
}

/* DROPDOWN CONTENT */

#content-dropdown {
  cursor: pointer;
  padding: 10px;
}

#content-dropdown-body {
 font-size: 15px !important;
 line-height: 2.3 !important;
 background-color: #f7f9fb; /* TILFØJET - Blå-grå baggrund */
 border-radius: 8px; /* TILFØJET - Runde hjørner */
 padding: 16px 36px 16px 36px; /* top right bottom left - øget venstre padding */
 margin-top: 10px; /* TILFØJET */
}

#content-dropdown-body p {
 margin: 10px 0 !important;
 line-height: 2.3 !important;
}

/* LAYOUT SEKTIONER */
.top-section {
 width: 100%;
 margin-top: 30px;
 table-layout: fixed;
 border-spacing: 10px 0; /* TILFØJET - dette skaber afstand mellem table cells */
}

.left-column {
 width: 240px;
 vertical-align: top;
 padding: 16px; /* ÆNDRET fra 0px 5px 0px 5px */
 background-color: #f7f9fb; /* TILFØJET - Blå-grå baggrund */
 border-radius: 8px; /* TILFØJET - Runde hjørner */
 margin-right: 30px; /* TILFØJET - Spacing til højre */
}

.right-column {
 width: auto;
 vertical-align: top;
 padding: 10px 5px 10px 5px; /* top right bottom left */
 background-color: #f0f8ff; /* TILFØJET - lysere blå baggrund */
 border-radius: 8px; /* TILFØJET - runde hjørner */
}

.right-column table td {
  vertical-align: top;
}

.dropdown-section {
 width: 100%;
 margin-top: 10px;
 clear: both;
 cursor: pointer;
 padding: 10px 0;
}

.quiz-section {
 width: 100%;
 margin-top: 10px;
 clear: both;
}

.quiz-section-table {
 width: 100%;
 margin-top: 10px;
 table-layout: fixed;
}

.quiz-main-column {
 width: auto;
 vertical-align: top;
}

.quiz-sidebar-column {
 width: 260px;
 vertical-align: top;
}

.breadcrumb-home {
  font-size: 13px;
  margin-bottom: 10px;
}

.breadcrumb-home a {
  color: #0066cc;
  text-decoration: none;
}

.breadcrumb-home a:hover {
  text-decoration: underline;
}

/* COPILOT TOGGLE SWITCH */
.toggle-switch {
  transition: background-color 0.3s, box-shadow 0.3s;
}

.toggle-switch.on {
  background-color: #66BB6A !important;
  box-shadow: 0 0 6px rgba(102, 187, 106, 0.3);
}

.toggle-switch.off {
  background-color: #EF5350 !important;
  box-shadow: 0 0 6px rgba(239, 83, 80, 0.3);
}

.toggle-slider {
  transition: left 0.3s;
}

.toggle-switch.off .toggle-slider {
  left: 2px !important;
}

.toggle-switch.on .toggle-slider {
  left: 28px !important;
}

/* MOBILE RESPONSIVENESS */
@media (max-width: 767px) {
 body {
   font-size: 14px;
   -webkit-text-size-adjust: 100%;
 }
 
 h2 {
   font-size: 21px; 
   line-height: 1.3;
 }
 
 h3 {
   font-size: 16px; 
   line-height: 1.3;
 }
 
 input, select {
   font-size: 14px;
   font-family: Verdana, Arial, Helvetica, sans-serif;
   -webkit-text-size-adjust: 100%;
 }
 
 #menu a {
   font: bold 13px/25px Verdana, Arial, Helvetica;
   padding: 10px;
   -webkit-text-size-adjust: 100%;
 }
 
 .container {
   width: auto;
 }
 
 #page {
   padding-top: 40px;
 }
 
 #header {
   position: fixed;
   top: 0;
   left: 0;
   right: 0;
   height: 40px;
   margin: 0;
   border-radius: 0;
   cursor: pointer;
   z-index: 998;
 }
 
 #menu {
   position: fixed;
   top: 0;
   left: 0;
   right: 0;
   margin: 0;
   border-radius: 0;
   cursor: pointer;
   z-index: 999;
 }
 
 #menu:hover {
   top: 40px;
 }
 
 #menu:before {
   content: '☰';
   height: 40px;
   display: block;
   color: white;
   font-weight: bold;
   font-size: 25px;
   line-height: 40px;
   text-align: right;
   padding: 0 5px;
   background-color: #003755;
   position: absolute;
   top: 0;
   left: 0;
   right: 0;
   transition: all 0s 0.1s;
   z-index: 1;
 }
 
 #menu:hover:before {
   top: -40px;
   visibility: hidden;
   transition: all 0s 0.1s, top 0s 0s;
 }
 
 #menu:after {
   content: '×';
   height: 40px;
   display: block;
   color: white;
   font-size: 35px;
   line-height: 40px;
   text-align: right;
   padding: 0 7px;
   background-color: #003755;
   pointer-events: none;
   visibility: visible;
   position: absolute;
   top: 0;
   left: 0;
   right: 0;
   z-index: 0;
 }
 
 #menu:hover:after {
   top: -40px;
   z-index: 1;
 }
 
 #menu li {
   display: none;
 }
 
 #menu ul {
   position: initial;
   background: #2f2e2e;
   box-shadow: none;
   border-radius: 0;
 }
 
 #menu ul a {
   width: auto;
 }
 
 #menu ul li:first-child > a:after {
   display: none;
 }
 
 #menu:hover li {
   display: block;
 }
 
 table, tbody, tr, td {
   display: block;
   width: 100%;
   box-sizing: border-box;
 }
 
 td {
   margin-bottom: 20px;
 }
 
 #chat-container {
   width: 100%;
   min-width: auto;
   max-width: none;
 }
 
 button, 
 select,
 .quiz-button {
   padding: 12px 16px;
   min-height: 44px;
   -webkit-text-size-adjust: 100%;
 }
 
 .drop-zone {
   min-width: 100px;
   min-height: 22px;
   margin: 2px;
   font-size: 12px;
   padding: 6px 8px;
   -webkit-text-size-adjust: 100%;
 }
 
 .term-item {
   font-size: 12px;
   padding: 6px 12px;
   margin: 3px;
   -webkit-text-size-adjust: 100%;
 }
 
 .quiz-text {
   font-size: 14px;
   padding: 15px;
   line-height: 1.5;
   -webkit-text-size-adjust: 100%;
 }
 
 .definition-item {
   width: 100%;
 }
 
 #terms-container {
   padding: 10px;
 }
 
 /* Ordmatch mobile specific */
 #ordmatch-definitions-container .definition-item {
   width: 100%;
 }
 
 #ordmatch-terms-container {
   padding: 10px;
 }
 
 /* Tab system mobile adjustments */
 .quiz-tabs {
   flex-wrap: wrap;
 }
 
 .tab-btn {
   padding: 8px 12px;
   font-size: 12px;
   flex: 1;
   min-width: 80px;
 }
 
 .left-column {
   margin-right: 0;
   margin-bottom: 20px;
 }
}