body {
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}
.form-group {
    margin-bottom: 25px !important;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}
.header-section {
    background-color: #ad1aca;
    color: white;
    padding: 30px;
    border-radius: 5px;
    margin-bottom: 30px;
    text-align: center;
}
.header-section h1{
    font-family: 'Playfair Display', serif;
}

.header-image {
    max-width: 20%;
    height: auto;
    margin-bottom: 20px;
    border-radius: 5px;
}
.module-list {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Fixed Progress Bar */
.fixed-progress-bar {
    position: sticky;
    top: 0;
    background-color: white;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    margin-bottom: 20px;
}
.fixed-progress-bar .progress {
    height: 25px;
    background-color: #e9ecef;
}
.fixed-progress-bar .progress-bar {
    background-color: #ad1aca;
    font-weight: bold;
}
.fixed-progress-bar .progress-text {
    font-weight: 600;
    color: #333;
}

/* Accordion Styles */
.accordion {
    margin-bottom: 30px;
}
.accordion-collapse{
    margin: 2%;
}
.accordion-item {
    border: none;
    margin-bottom: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border-radius: 8px !important;
    overflow: hidden;
}
.accordion-button {
    background-color: white;
    color: #333;
    font-weight: 500;
    padding: 20px;
    border: none;
    box-shadow: none;
    transition: all 0.3s ease;
}
.accordion-button:not(.collapsed) {
    background-color: #f0e6f3;
    color: #ad1aca;
    box-shadow: none;
    border-left: 4px solid #ad1aca;
}
.accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}
.accordion-button::after {
    filter: brightness(0) invert(0.5);
}
.accordion-button:not(.collapsed)::after {
    filter: brightness(0) invert(0.5) sepia(1) saturate(100) hue-rotate(280deg);
}
.module-title-text {
    flex: 1;
    text-align: left;
}
.module-progress-badge {
    background-color: #e9ecef;
    color: #6c757d;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    min-width: 50px;
    text-align: center;
}
.accordion-body {
    padding: 0;
}
.module-content {
    padding: 20px;
}
.module-content h3 {
    color: #ad1aca;
    margin-bottom: 20px;
}
.module-progress {
    margin-bottom: 30px;
}
.question-container {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}
.question {
    margin-bottom: 25px;
    padding: 15px;
    background-color: white;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.question.unanswered {
    background-color: #fff3cd;
    border: 2px solid #ffc107;
}
.question.unanswered::before {
    content: "⚠️ Unanswered";
    display: block;
    color: #856404;
    font-weight: bold;
    margin-bottom: 10px;
}
.question-type {
    font-size: 1.2rem;
    font-weight: bold;
    color: #ad1aca;
    margin-bottom: 10px;
}
.options {
    margin-left: 20px;
}
.overall-progress {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    margin: 30px 0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.overall-progress h4 {
    color: #ad1aca;
    margin-bottom: 15px;
}
.btn-primary-custom {
    background-color: #ad1aca;
    border-color: #ad1aca;
    padding: 10px 25px;
    margin: 20px 0;
}
.btn-primary-custom:hover {
    background-color: #6d1280;
    border-color: #6d1280;
}
.results-section {
	font-family: Arial, Helvetica, sans-serif;
    display: none;
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    text-align: center;
    margin-top: 30px;
}
.chart-container {
    width: 50%;
    margin: 30px auto;
    height: 400px;
    position: relative;
}
.result-summary {
    margin-top: 30px;
    text-align: left;
}
.result-item {
    margin-bottom: 15px;
    padding: 15px;
    border-radius: 8px;
}
.result-good {
    background-color: #d4edda;
    color: #155724;
}
.result-average {
    background-color: #fff3cd;
    color: #856404;
}
.result-poor {
    background-color: #f8d7da;
    color: #721c24;
}
.loading-section {
    text-align: center;
    padding: 50px;
}
.loading-spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #ad1aca;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.sorting-input{
    width: 80%;
    margin: 0 auto;
    text-align: center;
}
.sorting-input:invalid {
  border-color: #dc3545;
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.sorting-input:valid {
  border-color: #e6f1e800;
  box-shadow: 0 0 0 0.2rem rgba(40, 167, 70, 0.123);
}

.sorting-table, .matching-table {
    width: 100%;
    
    margin-top: 15px;
}
.sorting-table{
    border-collapse: collapse;
    width: 100%;
    margin-top: 15px;
    table-layout: fixed;
}
.sorting-table th:nth-child(1), 
.sorting-table td:nth-child(1){
  width: 20%; /* Πλάτος για τη στήλη Α */
  text-align: center;
}
.sorting-table th:nth-child(2), 
.sorting-table td:nth-child(2){
  width: 80%; /* Πλάτος για τη στήλη Α */
  text-align: left;
  padding-left: 5%;
}
.sorting-table th, .sorting-table tb{
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}
.sorting-table th{
    background-color: #f2f2f2;
    font-weight: bold;
}

.matching-table{
    border-collapse: separate;
    border-spacing: 0 10px;
}
.sorting-table th, .sorting-table td, .matching-table th, .matching-table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}
.sorting-table th, .matching-table th {
    background-color: #f2f2f2;
    font-weight: bold;
}
.sorting-input, .matching-select {
    /*width: 60px;*/
    text-align: center;
}

/* Ρυθμίσεις για τις στήλες του matching table */
.matching-table th:nth-child(1), 
.matching-table td:nth-child(1) {
  width: 25%; /* Πλάτος για τη στήλη Α */
}

.matching-table th:nth-child(2), 
.matching-table td:nth-child(2) {
  width: 20%; /* Πλάτος για τη στήλη Match */
  text-align: left; /* Κεντράρισμα του dropdown */
  margin-right: 5%;
    padding-left: 2%;
}

.matching-table th:nth-child(3), 
.matching-table td:nth-child(3) {
  width: 40%; /* Πλάτος για τη στήλη Β */
  padding-left: 20px; /* Αριστερό περιθώριο για τη στήλη Β */
  margin-left: 50px;
}

.matching-select {
  width: 50%; /* Μικρότερο πλάτος για το dropdown */
  margin: 0 auto; /* Κεντράρισμα του dropdown */
  text-align: center;
  margin-left: 0px;
}

.progress-container {
    margin-bottom: 20px;
}
.progress {
    height: 25px;
    background-color: #e9ecef;
}
.progress-bar {
    background-color: #ad1aca;
    font-weight: bold;
}
.module-progress-text {
    margin-top: 5px;
    font-size: 0.9rem;
    color: #6c757d;
}
.unanswered-warning {
    background-color: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    display: none;
}
.unanswered-warning h5 {
    color: #856404;
    margin-bottom: 10px;
}
.refresh-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #ad1aca;
    color: white;
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    font-size: 24px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: all 0.3s ease;
}
.refresh-btn:hover {
    background-color: #6d1280;
    transform: scale(1.1);
}

/* Gap-Filling Drag & Drop Styles */
.gap-filling-container {
    margin-top: 0px;
}

/* Question number for gap-filling questions */
.gap-filling-container::before {
    content: attr(data-question-number) ". ";
    font-weight: bold;
    display: inline-block;
    margin-right: 10px;
    vertical-align: middle;
}

.gap-text {
    font-size: 16px;
    line-height: 2.5;
    margin-bottom: 20px;
    display: inline;
}
.gap-drop-zone {
    display: inline-block;
    min-width: 180px;
    min-height: 20px;
    max-height: 40px;
    margin: 0 8px;
    padding: 5px 8px;
    border: 1px dashed #ad1aca;
    border-radius: 5px;
    background-color: #f8f9fa;
    text-align: center;
    vertical-align: middle;
    transition: all 0.3s ease;
    position: relative;

}
.gap-drop-zone.drag-over {
    background-color: #e8d4f0;
    border-color: #6d1280;
    transform: scale(1.05);
}
.gap-drop-zone.filled {
    /*border-style: solid;*/
    background-color: #b083b600;
    border-color: #b597b900;
    display: inline;
}
.gap-drop-zone-placeholder {
    color: #999;
    font-style: italic;
    justify-content: center;
    align-items: center;
}
.gap-dropped-word {
    background-color: #ad1aca;
    color: white;
    padding: 0px 15px 0px 15px;
    border-radius: 25px;
    display: inline-block;
    font-weight: 500;
    cursor: move;
    user-select: none;
    transition: all 0.2s ease;
}
.gap-dropped-word:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}
.words-bank {
    background-color: #e9ecef;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
}
.words-bank h6 {
    margin-bottom: 15px;
    color: #ad1aca;
    font-weight: 600;
}
.words-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    max-height: 40px;
}
.word-item {
    background-color: white;
    color: #333;
    padding: 5px 15px 5px 15px;
    border-radius: 25px;
    border: 2px solid #ddd;
    cursor: move;
    user-select: none;
    transition: all 0.3s ease;
    font-weight: 500;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.word-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
    border-color: #ad1aca;
}
.word-item.dragging {
    opacity: 0.5;
    transform: rotate(5deg);
}
.word-item.used {
    background-color: #6c757d;
    color: white;
    border-color: #6c757d;
    cursor: not-allowed;
    opacity: 0.6;
}
.clear-btn {
  background-color: #dc3545d1;
  color: white;
  border: none;
  padding: 5px 10px 5px 10px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 0.9rem;
  margin: 15px 5px 5px 5px;
  transition: all 0.3s ease;
}
.clear-btn:hover {
    background-color: #c82333;
    transform: translateY(-2px);
}

/* Main Navigation Bar */
.main-navbar {
    background-color: #ad1aca;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1030; /* Below the fixed progress bar but above content */
}

.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand {
	font-family: 'Playfair Display', serif;
    display: flex;
    align-items: center;
    color: white;
    text-decoration: none;
}

.navbar-logo {
    width: 40px;
    height: 40px;
    margin-right: 15px;
    border-radius: 50%;
    object-fit: cover;
}

.navbar-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    margin: 0;
}

.navbar-links {
	font-family: 'Playfair Display', serif;
    display: flex;
    gap: 20px;
}

.nav-link {
	font-family: 'Playfair Display', serif;
    color: white;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 25px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    font-weight: 500;
}

.nav-link:hover {
    background-color: rgba(255,255,255,0.2);
    color: white;
    transform: translateY(-2px);
}

.navbar-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Adjust fixed progress bar position to be below the navbar */
.fixed-progress-bar {
    top: 70px; /* Height of the navbar */
}

/* Adjust accordion margin to account for navbar */
.accordion {
    margin-top: 30px;
}

/* ================================
   NAME ENTRY SECTION STYLES
   ================================ */

.name-entry-section {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
}

.name-entry-container {
    width: 100%;
    max-width: 500px;
}

.name-entry-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/*.name-entry-card:hover {
    transform: translateY(-5px);
}*/

.name-entry-header {
    background-color: #ad1aca;
    color: white;
    padding: 40px 30px;
    text-align: center;
}

.name-entry-logo {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    border-radius: 50%;
    border: 3px solid white;
}

.name-entry-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.name-entry-header p {
    margin: 0;
    opacity: 0.9;
    font-size: 1.1rem;
}

.name-entry-form {
    padding: 40px 30px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    display: block;
}

.name-input {
    font-size: 1.1rem;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.name-input:focus {
    border-color: #ad1aca;
    box-shadow: 0 0 0 0.2rem rgba(173, 26, 202, 0.25);
    outline: none;
}

.name-input.is-invalid {
    border-color: #dc3545;
}

.name-input.is-invalid:focus {
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.invalid-feedback {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 5px;
    display: none;
}

.name-input.is-invalid ~ .invalid-feedback {
    display: block;
}

.btn-start-quiz {
    width: 100%;
    padding: 15px;
    font-size: 1.2rem;
    font-weight: 600;
    background-color: #ad1aca;
    border: none;
    border-radius: 8px;
    color: white;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-start-quiz:hover {
    background-color: #6d1280;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(173, 26, 202, 0.3);
}

.btn-start-quiz:active {
    transform: translateY(0);
}

/* ================================
   RESULTS SECTION NAME DISPLAY
   ================================ */

.result-greeting {
    background: linear-gradient(135deg, #ad1aca 0%, #6d1280 100%);
    color: white;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 30px;
    text-align: center;
}

.result-greeting h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar-content {
        flex-wrap: wrap;
    }
    
    .navbar-toggle {
        display: block;
        order: 3;
    }
    
    .navbar-links {
        display: none;
        width: 100%;
        order: 4;
        margin-top: 15px;
        flex-direction: column;
        gap: 10px;
    }
    
    .navbar-links.active {
        display: flex;
    }
    
    .nav-link {
        padding: 12px 16px;
        background-color: rgba(255,255,255,0.1);
        border-radius: 8px;
    }
    
    .nav-link:hover {
        background-color: rgba(255,255,255,0.2);
    }
    
    /* Adjust fixed progress bar for mobile */
    .fixed-progress-bar {
        top: 120px; /* Height of expanded navbar on mobile */
    }
    
    .navbar-links.active + .fixed-progress-bar {
        top: 180px; /* When navbar is expanded on mobile */
    }
}

@media (max-width: 576px) {
    .navbar-title {
        font-size: 1.2rem;
    }
    
    .navbar-logo {
        width: 35px;
        height: 35px;
        margin-right: 10px;
    }
}

.footer {
            background-color: #333;
            color: white;
            padding: 30px 0;
            text-align: center;
            flex-shrink: 0;
            margin-top: 50px;
        }

        /* EU Logo Container */
        .eu-logo-container {
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 20px;
            gap: 20px;
        }

        .footer-logo-eu {
            max-width: 30% !important;
            height: auto;
            flex-shrink: 0;
        }

        .footer-text-eu {
            text-align: left;
            max-width: 70%;
        }

        .footer-text-eu p {
            margin: 0;
            font-size: 0.9rem;
            line-height: 1.4;
        }

        .copyright {
            font-size: 0.9rem;
            opacity: 0.8;
            margin-top: 20px;
        }

        /* Responsive Design for Footer */
        @media (max-width: 992px) {
            .footer-text-eu {
                max-width: 80%;
            }
        }
        
        @media (max-width: 768px) {
            .site-title {
                font-size: 2rem;
            }
            
            .hero-title {
                font-size: 2rem;
            }
            
            .assessment-cards {
                flex-direction: column;
                align-items: center;
            }
            
            .assessment-card {
                width: 90%;
                max-width: 350px;
            }
            
            .navbar-content {
                flex-wrap: wrap;
            }
            
            .navbar-toggle {
                display: block;
                order: 3;
            }
            
            .navbar-links {
                display: none;
                width: 100%;
                order: 4;
                margin-top: 15px;
                flex-direction: column;
                gap: 8px;
            }
            
            .navbar-links.active {
                display: flex;
            }
            
            .nav-link {
                padding: 10px 15px;
                background-color: rgba(255,255,255,0.1);
                border-radius: 8px;
            }
            
            .nav-link:hover, .nav-link.active {
                background-color: rgba(255,255,255,0.2);
            }
            
            .eu-logo-container {
                flex-direction: column;
                text-align: center;
                gap: 15px;
            }
            
            .footer-logo-eu {
                max-width: 90% !important;
            }
            
            .footer-text-eu {
                max-width: 100%;
                text-align: center;
            }
        }

        @media (max-width: 576px) {
            .navbar-title {
                font-size: 1.1rem;
            }
            
            .footer {
                padding: 25px 0;
            }
            
            .eu-logo-container {
                gap: 10px;
            }
            
            .footer-logo-eu {
                max-width: 90% !important;
            }
            
            .footer-text-eu p {
                font-size: 0.85rem;
            }
        }



/* RTL Support for Pre-Assessment */
html[dir="rtl"] body {
    direction: rtl;
    text-align: right;
}

html[dir="rtl"] .navbar-content {
    flex-direction: row-reverse;
}

html[dir="rtl"] .navbar-brand {
    flex-direction: row-reverse;
}

html[dir="rtl"] .navbar-links {
    flex-direction: row-reverse;
}

html[dir="rtl"] .module-title-text {
    text-align: right;
}

html[dir="rtl"] .module-progress-text {
    text-align: right;
}

html[dir="rtl"] .accordion-button {
    text-align: right;
}

html[dir="rtl"] .module-progress-badge {
    margin-left: auto;
    margin-right: 0;
}

html[dir="rtl"] .accordion-button::after {
    margin-left: auto;
    margin-right: 0;
}

html[dir="rtl] .sorting-table th,
html[dir="rtl"] .sorting-table td {
    text-align: right;
}

html[dir="rtl"] .sorting-table th:nth-child(1),
html[dir="rtl"] .sorting-table td:nth-child(2) {
    text-align: right;
    padding-left: 2%;
    padding-right: 5%;
}

html[dir="rtl"] .matching-table th,
html[dir="rtl"] .matching-table td {
    text-align: right;
}

html[dir="rtl] .matching-table th:nth-child(1),
html[dir="rtl"] .matching-table td:nth-child(2) {
    text-align: right;
    padding-right: 5%;
    padding-left: 2%;
}

html[dir="rtl"] .matching-table th:nth-child(3),
html[dir="rtl"] .matching-table td:nth-child(3) {
    text-align: right;
    padding-left: 20px;
    padding-right: 50px;
}

html[dir="rtl"] .gap-text {
    text-align: right;
}

html[dir="rtl"] .word-item {
    float: right;
    margin-left: 5px;
    margin-right: 0;
}

html[dir="rtl"] .words-container {
    justify-content: flex-end;
}

html[dir="rtl] .refresh-btn {
    left: 20px;
    right: auto;
}

html[dir="rtl] .fixed-progress-bar {
    left: 0;
    right: auto;
}

html[dir="rtl] .fixed-progress-text {
    text-align: right;
}

html[dir="rtl] .fixed-progress-bar {
    left: auto;
    right: 0;
}

html[dir="rtl] .fixed-progress-bar .progress-bar {
    text-align: right;
}

html[dir="rtl] .fixed-progress-bar .progress-text {
    text-align: right;
}

html[dir="rtl] .fixed-progress-bar .progress-bar {
    text-align: right;
}

html[dir="rtl] .result-item {
    text-align: right;
}

html[dir="rtl] .refresh-btn {
    left: 20px;
    right: auto;
}

html[dir="rtl] .footer {
    text-align: right;
}

html[dir="rtl] .footer-text-eu {
    text-align: right;
}

html[dir="rtl] .footer-logo-eu {
    margin-left: 20px;
    margin-right: auto;
}

html[dir="rtl] .footer-text-eu p {
    text-align: right;
}

html[dir="rtl] .copyright {
    text-align: right;
}

/* Adjust mobile RTL styles */
@media (max-width: 768px) {
    html[dir="rtl"] .navbar-links.active + .fixed-progress-bar {
        top: 180px;
    }
    
    html[dir="rtl] .fixed-progress-bar {
        top: 120px;
    }
    
    html[dir="rtl] .navbar-links.active + .fixed-progress-bar {
        top: 180px;
    }
    
    html[dir="rtl"] .navbar-links {
        flex-direction: column;
        align-items: flex-end;
    }
    
    html[dir="rtl] .nav-link {
        justify-content: flex-end;
    }
    
    html[dir="rtl] .eu-logo-container {
        flex-direction: row-reverse;
    }
    
    html[dir="rtl] .footer-logo-eu {
        margin-left: auto;
        margin-right: 20px;
    }
    
    html[dir="rtl] .footer-text-eu {
        text-align: right;
    }
    
    html[dir="rtl] .footer-text-eu p {
        text-align: right;
    }
}




/* ================================
   RESPONSIVE DESIGN FOR NAME ENTRY
   ================================ */

@media (max-width: 576px) {
    .name-entry-section {
        padding: 10px;
    }
    
    .name-entry-card {
        margin: 0;
    }
    
    .name-entry-header {
        padding: 30px 20px;
    }
    
    .name-entry-header h2 {
        font-size: 1.5rem;
    }
    
    .name-entry-form {
        padding: 30px 20px;
    }
    
    .name-input {
        font-size: 1rem;
    }
    
    .btn-start-quiz {
        font-size: 1.1rem;
        padding: 12px;
    }
    
    .result-greeting h3 {
        font-size: 1.2rem;
    }
}

/* RTL Support for Name Entry */
html[dir="rtl"] .name-entry-header {
    text-align: center;
}

html[dir="rtl"] .btn-start-quiz i {
    margin-right: 0;
    margin-left: 8px;
}

html[dir="rtl"] .result-greeting h3 i {
    margin-right: 0;
    margin-left: 8px;
}