
    *, *::before, *::after {
    box-sizing: border-box;
    }
    html, body {
        height: 100%;
        margin: 0;
        padding: 0;
    }
    .bg {
        animation: slide 3s ease-in-out infinite alternate;
        background-image: linear-gradient(-60deg, #00B0F0 50%, #85DFFF 50%);
        position: fixed;
        top: 0; bottom: 0; left: -50%; right: -50%;
        opacity: .5;
        z-index: -1;
    }
    .bg2 { animation-direction: alternate-reverse; animation-duration: 4s; }
    .bg3 { animation-duration: 5s; }
    @keyframes slide {
    0%   { transform: translateX(-25%); }
    100% { transform: translateX(25%);  }
    }
    body {
        font-family: Arial, sans-serif;
        color: #262626;
        margin: 0;
        padding: 0;
        font-size: 16px;
    }
    body.app-page {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding: 24px 12px;
    }
    .container {
        max-width: 850px;
        width: min(850px, 100%);
        margin: 0 auto;
        background: white;
        border: 3px solid #262626;
        padding: 20px;
        position: relative;
        z-index: 1;
        border-radius: 8px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    }
    .brand-row {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-bottom: 14px;
    }
    .brand-logo {
        width: 72px;
        height: 72px;
        object-fit: contain;
        display: block;
    }
    .brand-text {
        font-size: 18px;
        font-weight: 700;
        letter-spacing: .07em;
        text-transform: uppercase;
        color: #262626;
    }
    .json-section {
        text-align: center;
    }
    .quiz-left-top{
        display: flex;
        flex-direction: column;
        height: 100%;
    }
    .quiz-left-controls{
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    .json-controls{
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1rem;
        margin-top: 0.5rem;
        width: 100%;
        align-items: start;
    }
    .json-controls .button-base,
    #json-label{
        width: 100%;
    }
    .json-file-group {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0.25rem;
        width: 100%;
    }
    #json-label {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 10px 16px;
        border: 3px solid #262626;
        border-radius: 5px;
        background-color: #ffffff;
        color: #262626;
        cursor: pointer;
        transition: background-color 0.3s, color 0.3s, border-color 0.3s;
    }
    #json-label:hover {
        background-color: #262626;
        color: #ffffff;
    }
    #json-label.delete {
        background-color: #ffffff;
        border: 3px solid #f44336;
        color: #f44336;
    }
    #json-label.delete:hover {
        background-color: #f44336;
        border: 3px solid #f44336;
        color: #ffffff;
    }
    .file-label {
        font-family: Arial, sans-serif;
        font-size: 12px;
        color: #262626;
        text-align: center;
        width: 100%;
    }
    .select-quiz-section {
        text-align: center;
        margin-top: 1rem;
    }
    .select-quiz-section .json-controls {
        justify-content: center;
        gap: 1rem;
    }
    .select-quiz-section .json-controls select {
        grid-column: 1 / span 2;
        max-width: none;
        width: 100%;
    }
    #load-quiz-btn{
        grid-column: 3;
    }
    .quiz-grid {
        display: grid;
        grid-template-columns: 1fr 210px;
        grid-template-rows: auto auto;
        column-gap: 24px;
        row-gap: 10px;
        align-items: stretch;
    }
    .quiz-left-top    { grid-column: 1; grid-row: 1; }
    .quiz-right-top   { grid-column: 2; grid-row: 1; }
    .quiz-left-bottom { grid-column: 1; grid-row: 2; }
    .quiz-right-bottom{ grid-column: 2; grid-row: 2; }
    .quiz-right-top .panel-title,
    .quiz-right-bottom .qr-hint {
        text-align: center;
    }
    .panel-title {
        margin: 6px 0 10px 0;
        font-size: 14px;
        font-weight: 700;
        letter-spacing: .06em;
        text-transform: uppercase;
        color: #262626;
        text-align: left;
    }
    .quiz-right .panel-title {
        text-align: center;
    }
    .quiz-block {
        margin-top: 10px;
    }
    .quiz-links {
        margin-top: 12px;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 6px;
        text-align: center;
        font-size: 13px;
        line-height: 1.35;
    }
    .quiz-links a {
        color: #00B0F0;
        text-decoration: none;
        font-size: inherit;
        line-height: inherit;
    }
    .quiz-links a:hover {
        text-decoration: underline;
    }
    .qr-card {
        border: 3px solid #262626;
        border-radius: 10px;
        padding: 2px;
        background: #fff;
        height: 200px;
        width: 100%;
        max-width: 200px;
        margin: 0 auto;
        box-sizing: border-box;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .qr-card a {
        display: flex;
        width: 100%;
        height: 100%;
        align-items: center;
        justify-content: center;
        line-height: 0;
    }
    .qr-img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
    .qr-hint {
        margin: 10px 0 0 0;
        font-size: 13px;
        color: #262626;
        line-height: 1.35;
        text-align: center;
    }
    @media (max-width: 900px) {
    .quiz-grid {
        grid-template-columns: 1fr;
        row-gap: 10px;
    }
    .quiz-left-top,
    .quiz-right-top,
    .quiz-left-bottom,
    .quiz-right-bottom {
        grid-column: 1;
    }
    .quiz-left-top    { grid-row: 1; }
    .quiz-right-top   { grid-row: 2; }
    .quiz-left-bottom { grid-row: 3; }
    .quiz-right-bottom{ grid-row: 4; }

    .quiz-left-controls{
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;   /* vertikal zentriert */
    }



    .qr-card { height: 180px; width: 180px; }
    .panel-title { text-align: center; }
    .brand-row { justify-content: center; align-items: center; text-align: center; width: 100%; }
    .brand-text { text-align: center; }
    }
    @media (max-width: 520px) {
        .brand-row {
            flex-direction: column;
            gap: 5px;
        }
    }
    .quiz {
        margin-top: 20px;
        padding: 15px;
        border: 3px solid #262626;
        border-radius: 8px;
        background-color: #F2F2F2;
    }
    .quiz p {
        margin: 10px 0;
    }
    #quiz-list {
        list-style: none;   
        counter-reset: question;  
        padding-left: 0;  
    }
    #quiz-list li.quiz {
        counter-increment: question;
        position: relative;   
        margin-top: 1em;
    }
    #quiz-list li.quiz .question::before {
        content: counter(question) ". ";  
        font-weight: bold;
        color: inherit;
    }
    #quiz-list li.section-header {
        list-style: none;
        margin-top: 2em;
        padding: 0;
    }
    #quiz-list li.section-header h2 {
        margin: 0; 
    }
    .answer {
        display: none;
        background-color: #dff0d8;
        color: #3c763d;
        font-family: Arial, sans-serif;
        padding: 10px;
        margin-top: 10px;
        border: 3px solid #262626;
        border-radius: 8px;
    }
    .question {
        font-weight: bold;
        font-family: Arial, sans-serif; 
        color: #262626;
        margin-bottom: 10px;
    }
    .true-false-answers {
        margin: 0;
        padding: 0;
        display: flex;
        gap: 10px;
        justify-content: flex-start;
    }
    .mc-answers {
        margin-left: 20px;
        display: block; 
    }
    .answers p {
        margin: 5px 0;
    }
    .thema-input {
        width: 100%;
        box-sizing: border-box;
        padding: 10px;
        border: 3px solid #262626;
        border-radius: 5px;
        font-family: Arial, sans-serif; 
    }
    .knowledge-note,
    .competency-note {
        margin: 0.5rem 0;
    }
    .api-key-section .thema-input,
    .pdf-section .pdf-controls,
    .json-section .json-controls {
        margin: 0.5rem 0; 
    }
    input:-webkit-autofill,
    input:-webkit-autofill:hover,
    input:-webkit-autofill:focus {
        -webkit-box-shadow: 0 0 0px 1000px white inset !important;
        box-shadow:       0 0 0px 1000px white inset !important;
        background-color: white !important;
    }
    input:focus,
    textarea:focus,
    select:focus,
    button:focus {
    outline: none;
    }
    input:focus,
    textarea:focus,
    select:focus,
    button:focus {
        outline: 3px solid #00B0F0;  
    }
    .generate-button {
        background-color: #ffffff;
        border: 3px solid #262626;
        border-radius: 5px;
        color: #262626;
        padding: 10px;
        cursor: pointer;
        margin-top: 15px;
        width: 100%;
        transition: background-color 0.3s ease;
        font-weight: normal;
        font: 1rem/1.1 Arial, sans-serif;
    }
    .generate-button:hover {
        background-color: #262626;
        color: #ffffff;
    }
    .generate-button.active {
        font-weight: bold; 
        background-color: #00B0F0; 
    }
    .loading {
        display: none;
        text-align: center;
        margin-top: 10px;
    }
    .progress-bar {
        width: 100%;
        background-color: #ffffff;
        border: 3px solid #262626;
        border-radius: 5px;
        overflow: hidden;
        height: 20px;
        margin-top: 10px;
        box-sizing: border-box; 
    }
    .progress {
        height: 100%;
        width: 0%;
        background-color: #00B0F0;
        text-align: center;
        line-height: 20px;
        color: white;
        transition: width 0.3s ease;
        box-sizing: border-box; 
    }
    #progress-text {
        margin-top: 5px;
        color: #262626;
    }
    .true-false-btn {
        padding: 10px;
        cursor: pointer;
        transition: background-color 0.3s ease;
        color: white;
    }
    .true-btn {
        background-color: #ffffff;
        border: 3px solid #33CCCC;
        border-radius: 5px;
        color: #33CCCC;
    }
    .false-btn {
        background-color: #ffffff; 
        border: 3px solid #f44336;
        border-radius: 5px;
        color: #f44336;
    }
    .true-btn:hover {
        background-color: #33CCCC;
        color: #ffffff;
    }
    .false-btn:hover {
        background-color: #f44336;
        color: #ffffff;
    }
    .true-btn.selected {
        background-color: #00B0F0;
        color: #262626;
        border: 3px solid #262626;
    }
    .false-btn.selected {
        background-color: #00B0F0;
        color: #262626;
        border: 3px solid #262626;
    }
    .feedback-true-false {
        background-color: #ffffff; 
        color: #262626;
        border: 3px solid #262626;
        font-weight: bold;
        padding: 10px;
        margin-top: 10px;
        border-radius: 8px;
    }
    .feedback-true-false.correct {
        background-color: #ffffff; 
        color: #33CCCC;
        border: 3px solid #33CCCC;
    }
    .feedback-true-false.incorrect {
        background-color: #ffffff; 
        color: #f44336;
        border: 3px solid #f44336;
    }
    .feedback-open {
        background-color: #ffffff;
        color: #262626;
        border: 3px solid #262626;
        font-weight: normal;
        padding: 10px;
        margin-top: 10px;
        border-radius: 8px;
    }
    .feedback-open.correct {
        background-color: #ffffff; 
        color:  #33CCCC;
        border-color:  #33CCCC;
    }
    .feedback-open.incorrect {
        background-color: #f2dede; 
        color: #a94442;
        border-color: #a94442;
        line-height: normal;    
    }   
    .answer-input {
        width: 100%; 
        max-width: 100%; 
        min-height: 50px;
        padding: 10px;
        margin-top: 10px;
        font-family: Arial, sans-serif; 
        border: 3px solid #262626;
        border-radius: 5px;
        box-sizing: border-box; 
        resize: vertical; 
    }
    .evaluate-answer {
        background-color: #ffffff;
        color: #262626;
        padding: 10px;
        border: 3px solid #262626;
        border-radius: 5px;
        cursor: pointer;
        font-size: inherit;
        margin-top: 10px;
        width: 100%;
        transition: background-color 0.3s ease;
    }

    .evaluate-answer:hover {
        background-color: #262626;
        color: #ffffff;
    }

    .spinner-container {
        display: flex;
        align-items: center;
        gap: 8px; 
        margin: 10px 0;
        justify-content: center;
    }

    .spinner-container span {
        color: #00B0F0; 
    }

    .spinner {
        display: inline-block;   
        position: relative; 
        width: 40px;
        height: 40px;
        border: 4px solid #33CCFF;
        border-top: 4px solid #262626;
        border-radius: 50%;
        animation: spinOuter 2s linear infinite;
        transform-origin: center center;
    }
    @keyframes spinOuter {
        0%   { transform: rotate(0deg); }
        100% { transform: rotate(360deg); }
    }
    .spinner::after {
        content: "";
        position: absolute;
        top: 0; left: 0; right: 0; bottom: 0; 
        margin: auto;             
        width: 24px;        
        height: 24px;
        border: 4px solid #33CCFF;
        border-left: 4px solid #262626;
        border-radius: 50%;    
        animation: spinInner 1.5s linear infinite;
        transform-origin: center center; 
    }
    @keyframes spinInner {
        0%   { transform: rotate(0deg); }
        100% { transform: rotate(-360deg); }
    }
    .neutral-background {
        background-color: #3498db;
    }
    .button-container {
        display: flex;
        gap: 10px; 
        margin-top: 10px;
    }
    .answer-button {
        padding: 10px;
        border: 3px solid #262626;
        border-radius: 5px;
        cursor: pointer;
        background-color: #ffffff;
        color: #262626;
        transition: background-color 0.3s ease;
    }
    .answer-button.selected {
        background-color: #00B0F0; 
        border: 3px solid #262626;
        cursor: not-allowed; 
    }
    .answer-button:hover {
        background-color: #262626;
        color: #ffffff;
    }
    .answer.correct {
        background-color: #ffffff; 
        color: #33CCCC; 
        border: 3px solid #33CCCC;
        padding: 10px;
        border-radius: 5px;
        margin-top: 10px;
    }
    .answer.incorrect {
        background-color: #ffffff; 
        color: #f44336;
        border: 3px solid #f44336;
        padding: 10px;
        border-radius: 5px;
        margin-top: 10px;
    }
    .difficulty-buttons {
        display: flex;
        gap: 10px;  
        justify-content: flex-start; 
        margin-top: 10px;
    }
    .difficulty-button {
        padding: 10px 20px;
        border: 3px solid #262626;
        border-radius: 5px;
        background-color: #ffffff;
        color: #262626;
        cursor: pointer;
        transition: background-color 0.3s ease;
        font-weight: normal;
        font: 1rem/1.1 Arial, sans-serif;
    }
    .difficulty-button:hover {
        background-color: #262626;
        color: #ffffff;
    }
    .difficulty-button.selected {
        background-color: #00B0F0;  
        color: #262626;
        font-weight: bold;
    }
    .knowledge-note {
        font-size: 1.5em;
        color: #262626; 
        font-weight: bold;    
        margin: 0.20rem 0;       
    }
    .competency-note {
        font-size: 1em;
        color: #262626;
        text-align: left;  
        font-weight: bold;    
        margin: 10px 0;       
    }
    .status-feedback {
        margin-top: 10px;
        padding: 10px;
        border-radius: 5px;
        font-weight: bold;
        text-align: center;
        font-size: 1em;
    }
    .status-feedback.beantwortet {
        background-color: #ffffff; 
        color: #33CCCC; 
        border: 3px solid #33CCCC;
    }
    .status-feedback.nicht-beantwortet {
        background-color: #ffffff; 
        color: #f44336; 
        border: 3px solid #f44336;
    }
    .recommendation-container {
        display: none; 
        text-align: center;
        margin-top: 20px;
        padding: 15px;
        border: 3px solid #262626;
        border-radius: 8px;
        background-color: #ffffff;
        font-weight: bold;
        color: #262626;
    }
    .recommendation-increase {
        background-color: #ffffff;
        color: #f44336;
    }
    .recommendation-decrease {
        background-color: #ffffff;
        color: #33CCCC;
    }
    .recommendation-keep {
        color: #262626;
    }
    .field-container {
        display: flex;
        flex-direction: column;
        gap: 20px; 
        margin-top: 20px;
        justify-content: center; 
        align-items: center;
    }

    .drop-field {
        width: 100%; 
        min-height: 50px; 
        max-width: 400px; 
        background-color: #FFFFFF;
        border: 3px dashed #262626; 
        display: flex;
        flex-wrap: wrap;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        font-size: inherit;
        color: #262626;
        border-radius: 10px;
        cursor: pointer;
        box-sizing: border-box;
        overflow-y: auto; 
        gap: 10px;
        margin: 0 auto; 
        padding: 10px;
        margin-top: 0;
    }

    .drag-container {
        display: flex;
        gap: 15px;
        flex-wrap: wrap;
        margin-top: 20px;
        justify-content: center; 
        width: 100%;
    }

    .draggable-item {
        padding: 10px 20px;
        background-color: #262626;
        color: #ffffff;
        border-radius: 5px;
        font-size: 1em;
        text-align: center;
        cursor: grab;
        user-select: none;
    }

    .draggable-item:active {
        cursor: grabbing;
    }

    .dragging {
        transform: scale(1.1);
        opacity: 0.8;
        transition: transform 0.2s ease; 
    }

    .drag-over {
        border-color: #262626;
        background-color: #00B0F0;
        transition: background-color 0.3s ease;
    }
    .dragged-to-field {
        pointer-events: none; 
    }
    .drop-field.hovered {
        background-color: #3FCDFF;
        border-color: #262626;
        transition: background-color 0.3s ease;
    }
    .draggable-item:hover {
        background-color: #054b7a; 
        color: white; 
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); 
        transform: scale(1.05); 
        transition: all 0.3s ease; 
    }
    .draggable-item:not(.placed):hover {
        background-color: #00B0F0; 
        color: #262626;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
        transform: scale(1.05);
        transition: all 0.3s ease;
    }
    .draggable-item.placed {
        background-color: #00B0F0; 
        color: #262626; 
        pointer-events: auto; 
        cursor: pointer;
    }
    .unused {
        opacity: 1;
        pointer-events: auto;
        transition: opacity 0.3s ease;
    }
    .used {
        opacity: 0.5;
        pointer-events: none;
        transition: opacity 0.3s ease;
    }
    .hovered {
        transform: scale(1.1); 
        background-color: #f0f8ff;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); 
        transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease; 
    }
    .lueckentext-input {
        border: 2px solid #262626;
        padding: 5px;
        margin: 0 5px;
        font-size: 16px;
        width: 120px;
        box-sizing: border-box;
    }
    .lueckentext-input:focus {
        outline: none;
        border-color: #262626;
        background-color: #ffffff; 
    }
    .feedback-open.correct {
        background-color: #ffffff;
        border: 3px solid #33CCCC;
        color: #33CCCC;
    }
    .feedback-open.incorrect {
        background-color: #ffffff;
        border: 3px solid #f44336;
        color: #f44336;
    }
    .word-scramble-input {
        font-size: 16px;
        color: #262626;
    }
    .word-guess-controls {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-top: 10px;
    }
    .status-line,
    .wrong-letters-line,
    .masked-word {
        margin-top: 5px;
    }
    .masked-word {
        letter-spacing: 0.2em;
        font-weight: bold;
    }
    .lueckentext-container p {
        line-height: 2.2; 
        margin-bottom: 10px;
        text-align: justify;
        text-justify: inter-word;
    }
    .lueckentext-container input {
        margin: 0 5px; 
        padding: 5px; 
        font-size: 1em; 
    }
    .hint-container {
        margin-top: 10px;
        padding: 10px;
        background-color: #ffffff;
        border: 3px dashed #262626;
        border-radius: 5px;
        font-size: 14px;
        color: #262626;
    }
    .hint-container strong {
        font-weight: bold;
        color: #262626;
    }
    .drop-area {
        border: 2px dashed #3498db;
        min-height: 40px;
        margin-top: 5px;
        background-color: #f9f9f9;
        border-radius: 5px;
        text-align: center;
        line-height: 40px;
        color: #262626;
    }
    .drop-area.hovered {
        background-color: #e0f7fa;
        border-color: #054b7a;
    }
    .zuordnung-feedback.correct {
        background-color: #d4edda;
        color: #155724;
        border: 2px solid #155724;
    }
    .zuordnung-feedback.incorrect {
        background-color: #ffffff;
        color: #f44336;
        border: 2px solid #f44336;
    }
    .zuordnung-term {
        background-color: #2a6f97;
        color: white;
        border: none;
        border-radius: 5px;
        padding: 10px 15px;
        margin: 5px;
        cursor: grab;
        font-weight: bold;
        text-align: center;
        transition: transform 0.2s ease, background-color 0.3s ease;
    }
    .zuordnung-term:hover {
        background-color: #054b7a;
        transform: scale(1.05);
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    }
    .zuordnung-term:active {
        cursor: grabbing;
        transform: scale(1);
    }
    .zuordnung-dropzone {
        width: 100%; 
        max-width: 400px; 
        margin: 0 auto 20px auto; 
        text-align: center;
        height: 50px; 
        background-color: #FFFFFF;
        border: 3px dashed #262626; 
        display: flex;
        justify-content: center; 
        align-items: center; 
        font-size: inherit;
        color: #262626;
        border-radius: 10px;
        cursor: pointer;
        box-sizing: border-box;
    }
    .category-wrapper {
        width: 100%; 
        max-width: 400px; 
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px; 
    }
    .category-title {
        font-weight: bold;
        text-align: center;
        width: 100%; 
        word-wrap: break-word;
        margin-bottom: 0;
    }
    .category-wrapper > div:first-child {
        text-align: center;
        max-width: 300px; 
        word-wrap: break-word; 
    }
    .instruction-text {
        line-height: normal !important;
        margin: 0 !important;
        font-weight: bold !important;
        font-size: 16px !important;
    }
    .error-message {
        display: block;
        color: #f44336;
        font-weight: bold;
        background-color: #ffffff; 
        padding: 10px; 
        border-radius: 5px; 
        border: 3px solid #f44336;
        text-align: center; 
        margin-top: 10px;
    }    
    .success-message {
        display: block;
        color: #00CC99;
        background-color: #ffffff;
        border: 3px solid #00CC99;
        font-weight: bold;
        padding: 10px;
        border-radius: 5px;
        text-align: center;
        margin-top: 10px;
    }
    .button-base {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font: 1rem/1.1 Arial, sans-serif;
        padding: 10px 16px;
        background-color: #ffffff;
        border: 3px solid #262626;
        border-radius: 5px;
        color: #262626;
        cursor: pointer;
        transition: background-color 0.3s ease, color 0.3s ease;
        text-decoration: none;
    }
    .button-base:visited { 
        color: #262626;
        text-decoration: none;
    }
    .button-base:hover {
        background-color: #262626;
        color: #ffffff;
    }
    .pdf-file-btn {
        position: relative;
    }
    .pdf-file-btn input[type="file"] {
        position: absolute;
        top: 0; left: 0;
        width: 100%; height: 100%;
        opacity: 0;
        cursor: pointer;
    }
    .pdf-controls {
        display: flex;
        align-items: center;
        gap: 1rem;
        margin-top: 0.5rem;
        flex-wrap: wrap;
    }
    .pdf-select {
        flex: 1 1 auto; 
        font-weight: bold;
        background-color: #00B0F0;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        text-align-last: center;
        min-width: 0; 
    }
    @media (max-width: 600px) {
    .pdf-controls {
        flex-direction: column;
        align-items: stretch;
    }
    .pdf-controls > * {
        flex: 1 1 0%;
        min-width: 0; 
        box-sizing: border-box;
    }
    }
    .api-key-section .thema-input {
        width: 100%;
        box-sizing: border-box;
    }
    .hidden {
        display: none;
    } 
    .footer {
        text-align: center;
        font-size: 12px;
        margin-top: 20px;
        color: #262626;
    }
    .footer a {
        color: #00B0F0;
        text-decoration: none;
        margin: 0 6px;
    }
    .footer a:hover {
        text-decoration: underline;
    }

    /* Lite‑Version: */
    .api-key-section,
    .pdf-section,
    .competency-note,
    .difficulty-buttons,
    #generate-questions {
        display: none !important;
    }
    