﻿/* Root Variables สำหรับ Font Scaling */
:root {
    --font-scale: 1;
    --header-font-size: clamp(1rem, 4vw, 1.5rem);
    --badge-font-size: clamp(1.5rem, 3vw, 1.1rem);
    --min-height: 60px;
    --main-title-size: clamp(2rem, 8vw, 3rem);
    --section-title-size: clamp(1.25rem, 5vw, 1.875rem);
}

.font-level-1 {
    --font-scale: 1.1;
    --header-font-size: clamp(1.1rem, 4.4vw, 1.65rem);
    --badge-font-size: clamp(1.65rem, 3.3vw, 1.21rem);
    --min-height: 65px;
    --main-title-size: clamp(2.2rem, 8.8vw, 3.3rem);
    --section-title-size: clamp(1.375rem, 5.5vw, 2.0625rem);
}

.font-level-2 {
    --font-scale: 1.2;
    --header-font-size: clamp(1.2rem, 4.8vw, 1.8rem);
    --badge-font-size: clamp(1.8rem, 3.6vw, 1.32rem);
    --min-height: 70px;
    --main-title-size: clamp(2.4rem, 9.6vw, 3.6rem);
    --section-title-size: clamp(1.5rem, 6vw, 2.25rem);
}

.font-level-3 {
    --font-scale: 1.3;
    --header-font-size: clamp(1.3rem, 5.2vw, 1.95rem);
    --badge-font-size: clamp(1.95rem, 3.9vw, 1.43rem);
    --min-height: 75px;
    --main-title-size: clamp(2.6rem, 10.4vw, 3.9rem);
    --section-title-size: clamp(1.625rem, 6.5vw, 2.4375rem);
}

/* Base Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

.color-title-default {
    color: #19449C;
}

.color-content-default {
    color: #044395;
}

.font-content {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.container-fluid {
    max-width: 100%;
    padding: 15px;
}

.card-register {
    background: transparent !important;
    margin: 0 auto;
    max-width: 1200px;
    width: 95%;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    overflow: hidden;
}

.card {
    border: none;
    background-color: transparent !important;
}

.card-body {
    padding: 20px;
}

/* Main Title Styling - ใช้ CSS Variables */
.card-register h3[style*="font-size: 48px"],
h3[style*="font-size: 48px"] {
    font-size: var(--main-title-size) !important;
    text-decoration: underline !important;
    text-decoration-color: #3498db;
    text-decoration-thickness: 3px;
    text-underline-offset: 8px;
    padding: 0px 0 !important;
    margin: 0 !important;
    text-align: start;
    font-weight: 700;
    -webkit-background-clip: text;
    background-clip: text;
}

/* Section Title Styling - ใช้ CSS Variables */
span[style*="font-size: 30px"] {
    font-size: var(--section-title-size) !important;
    display: block;
    margin-bottom: 15px;
    padding: calc(15px * var(--font-scale)) 45px;
    border-bottom: 2px solid #e9ecef;
}

/* Category Header Styling - ใช้ CSS Variables */
.category-header {
    margin-bottom: 5px;
}

    .category-header span[style*="font-size: 28px"] {
        font-size: var(--header-font-size) !important;
        font-weight: 500;
        display: block;
        padding: calc(15px * var(--font-scale)) 45px;
        line-height: 1.2;
    }

    .category-header a {
        min-height: var(--min-height);
        text-decoration: none;
        color: inherit;
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        gap: 10px;
    }

    .category-header span:first-child {
        flex: 1;
        margin-right: 10px;
        word-break: break-word;
        min-width: 0;
        line-height: 1.2;
        overflow: hidden;
    }

    .category-header span[style*="margin-right: 3%"] {
        font-size: var(--badge-font-size) !important;
        margin-right: 10px !important;
        white-space: nowrap;
        padding: calc(4px * var(--font-scale)) calc(12px * var(--font-scale));
        border-radius: 15px;
        font-weight: 500;
        flex-shrink: 0;
    }

.toggle-icon {
    font-size: clamp(1rem, 3vw, 1.25rem);
    transition: transform 0.3s ease;
    margin-left: 5px;
    flex-shrink: 0;
}

    .toggle-icon.rotated {
        transform: rotate(180deg);
    }

/* Job Positions List */
.job-positions {
    list-style: none;
    padding: 0;
    margin: 0 0 8px 0;
    display: none;
    margin-top: -5px;
}

    .job-positions.show {
        display: block;
        animation: slideDown 0.4s ease;
    }

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        max-height: 400px;
        transform: translateY(0);
    }
}

.job-positions li {
    border-bottom: 1px solid #f1f3f4;
}

    .job-positions li:last-child {
        border-bottom: none;
    }

/* Contact Section */
.col-12.mb-4:nth-last-child(2) span[style*="font-size: 30px"] {
    font-size: clamp(1.25rem, 4vw, 1.55rem) !important;
    line-height: 1.6;
    text-align: center;
    font-weight: 400;
    border-bottom: none;
    padding: 0;
    margin: 0;
}

.col-12.mb-4:nth-last-child(2) span span[style*="color:blue"] {
    color: #3498db !important;
    font-weight: 600;
    text-decoration: none;
}

    .col-12.mb-4:nth-last-child(2) span span[style*="color:blue"]:hover {
        color: #2980b9 !important;
        text-decoration: underline;
    }

/* Image Section */
.col-12.mb-4:last-child .row {
    justify-content: center;
    padding: 20px 0;
}

.col-12.mb-4:last-child img {
    width: min(100%, 1000px) !important;
    height: auto !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2) !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    display: block;
    margin: 0 auto;
}

    .col-12.mb-4:last-child img:hover {
        transform: scale(1.03) !important;
        box-shadow: 0 12px 35px rgba(0,0,0,0.3) !important;
    }

/* Loading Elements */
.loader {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
}

@keyframes spin {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    backdrop-filter: blur(3px);
}

/* Responsive Design */
@media (min-width: 1200px) {
    .card-register {
        max-width: 100%;
        width: 90%;
    }

    .card-body {
        padding: 30px;
        padding-bottom: 0px;
    }

    .col-12.mb-4:nth-last-child(2) .card {
        max-width: 1200px;
        width: 85%;
    }

    .job-positions {
        list-style-type: none;
        padding-left: 50px;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .card-register {
        max-width: 1100px;
        width: 92%;
    }

    .col-sm-12.col-md-12.mb-2[style*="margin-left: 30px"] {
        margin-left: 40px !important;
        margin-right: 40px !important;
    }
}

@media (max-width: 1249px) {
    .color-content-default {
        font-size: calc(1rem * var(--font-scale)) !important;
    }
}

@media (max-width: 768px) {
    .container-fluid {
        padding: 5px;
    }

    .card-register {
        margin: 0 5px;
        border-radius: 10px;
    }

    .card-body {
        padding: 15px;
        padding-bottom: 0px;
    }

    .category-header {
        margin-bottom: 3px;
    }

        .category-header span[style*="font-size: 28px"] {
            padding: calc(12px * var(--font-scale)) 15px;
        }

        .category-header a {
            flex-direction: row;
            align-items: center;
            min-height: auto;
            gap: 8px;
        }

        .category-header span:first-child {
            margin-right: 5px;
            max-width: calc(100% - 80px);
            min-width: 0;
        }

        .category-header span[style*="margin-right: 3%"] {
            margin-right: 5px !important;
            flex-shrink: 0;
        }

    .toggle-icon {
        margin-left: 0;
        flex-shrink: 0;
    }

    .job-positions button {
        padding: 12px 15px;
    }

        .job-positions button:hover {
            padding-left: 25px !important;
        }

    .col-sm-12.col-md-12.mb-2[style*="margin-left: 30px"] {
        margin-left: 10px !important;
        margin-right: 10px !important;
    }

    .col-12.mb-4:nth-last-child(2) .card .col-sm-12 {
        padding: 20px 15px;
    }

    .job-positions {
        list-style-type: none;
        padding-left: 0px;
    }

    input, textarea {
        font-size: 16px !important;
        transform: translateZ(0) !important;
        -webkit-transform: translateZ(0) !important;
        will-change: contents !important;
    }

    @supports (-webkit-touch-callout: none) {
        input, textarea {
            -webkit-font-smoothing: subpixel-antialiased !important;
            -webkit-text-stroke: 0.01em transparent !important;
        }
    }
}

@media (max-width: 576px) {
    .card-register {
        margin: 0;
        border-radius: 8px;
    }

    .category-header span[style*="font-size: 28px"] {
        padding: calc(10px * var(--font-scale)) 12px;
    }

    .category-header span:first-child {
        max-width: calc(100% - 70px);
        font-size: calc(1rem * var(--font-scale)) !important;
    }

    .category-header span[style*="margin-right: 3%"] {
        padding: calc(3px * var(--font-scale)) calc(8px * var(--font-scale));
    }

    .job-positions button {
        padding: 10px 12px;
        font-size: calc(0.9rem * var(--font-scale)) !important;
    }

        .job-positions button:hover {
            padding-left: 20px !important;
        }

    .job-positions {
        list-style-type: none;
        padding-left: 0px;
    }
    .loaderRt {
        position: fixed !important;
        top: 40% !important;
        left: 40% !important;
        transform: translate(-50%, -50%);
        width: 100px;
        height: 100px;
        border: 10px solid lightgray;
        border-top: 10px solid #3456db;
        border-radius: 50%;
        animation: spin 1s linear infinite !important;
        z-index: 9999;
    }
}

@media (max-width: 480px) {
    .col-sm-12.col-md-12.mb-2[style*="margin-left: 30px"] {
        margin-left: 5px !important;
        margin-right: 5px !important;
    }

    .category-header span[style*="font-size: 28px"] {
        padding: calc(8px * var(--font-scale)) 10px;
    }

    .category-header span:first-child {
        max-width: calc(100% - 60px);
        font-size: calc(1.1rem * var(--font-scale)) !important;
    }

    .category-header span[style*="margin-right: 3%"] {
        padding: calc(2px * var(--font-scale)) calc(6px * var(--font-scale));
        font-size: calc(1rem * var(--font-scale)) !important;
    }

    .toggle-icon {
        font-size: calc(1rem * var(--font-scale));
    }
}

/* Focus and Accessibility */
.category-header:focus-within {
    outline: 2px solid #3498db;
    outline-offset: 2px;
}

img[data-toggle="modal"]:focus {
    outline: 3px solid #3498db;
    outline-offset: 4px;
}

/* Smooth animations */
* {
    box-sizing: border-box;
}

/* Font Level Content Scaling */
.font-level-1 .color-content-default,
.font-level-1 p,
.font-level-1 span:not([style*="font-size"]) {
    font-size: calc(1.35rem * 1.1) !important;
}

.font-level-2 .color-content-default,
.font-level-2 p,
.font-level-2 span:not([style*="font-size"]) {
    font-size: calc(1.5rem * 1.2) !important;
}

.font-level-3 .color-content-default,
.font-level-3 p,
.font-level-3 span:not([style*="font-size"]) {
    font-size: calc(1.5rem * 1.3) !important;
}

/* Override specific elements that might conflict */
.font-level-1 .job-positions li a,
.font-level-1 .job-positions li button {
    font-size: calc(1rem * 1.1) !important;
}

.font-level-2 .job-positions li a,
.font-level-2 .job-positions li button {
    font-size: calc(1rem * 1.2) !important;
}

.font-level-3 .job-positions li a,
.font-level-3 .job-positions li button {
    font-size: calc(1rem * 1.3) !important;
}

nth-last-child(2) .card {
    background: linear-gradient(135deg, #ecf0f1, #d5dbdb) !important;
    border-radius: 12px;
    margin: 20px auto;
    max-width: 1000px;
    width: 90%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.col-12.mb-4:nth-last-child(2) .card .col-sm-12 {
    padding: 25px;
}

:root {
    --font-scale: 1;
    --base-font-size: 1.1rem;
    --header-font-size: clamp(1rem, 4vw, 1.5rem);
    --badge-font-size: clamp(1.5rem, 3vw, 1.1rem);
    --min-height: 60px;
    --main-title-size: clamp(2rem, 8vw, 3rem);
    --section-title-size: clamp(1.25rem, 5vw, 1.875rem);
}

.font-level-1 {
    --font-scale: 1.1;
    --base-font-size: 1.21rem;
    --header-font-size: clamp(1.1rem, 4.4vw, 1.65rem);
    --badge-font-size: clamp(1.65rem, 3.3vw, 1.21rem);
    --min-height: 65px;
    --main-title-size: clamp(2.2rem, 8.8vw, 3.3rem);
    --section-title-size: clamp(1.375rem, 5.5vw, 2.0625rem);
}

.font-level-2 {
    --font-scale: 1.2;
    --base-font-size: 1.32rem;
    --header-font-size: clamp(1.2rem, 4.8vw, 1.8rem);
    --badge-font-size: clamp(1.8rem, 3.6vw, 1.32rem);
    --min-height: 70px;
    --main-title-size: clamp(2.4rem, 9.6vw, 3.6rem);
    --section-title-size: clamp(1.5rem, 6vw, 2.25rem);
}

.font-level-3 {
    --font-scale: 1.3;
    --base-font-size: 1.43rem;
    --header-font-size: clamp(1.3rem, 5.2vw, 1.95rem);
    --badge-font-size: clamp(1.95rem, 3.9vw, 1.43rem);
    --min-height: 75px;
    --main-title-size: clamp(2.6rem, 10.4vw, 3.9rem);
    --section-title-size: clamp(1.625rem, 6.5vw, 2.4375rem);
}

/* Base Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    font-size: var(--base-font-size);
}

/* Accessibility controls styling */
.accessibility-controls {
    border-radius: 8px;
    padding: 5px;
    backdrop-filter: blur(10px);
    display: flex;
    gap: 3px;
}

    .accessibility-controls img {
        width: 30px;
        height: 30px;
        border-radius: 4px;
        transition: all 0.2s ease;
        cursor: pointer;
        border: 2px solid transparent;
    }

        .accessibility-controls img:hover {
            transform: scale(1.1);
            border-color: #007bff;
        }

        .accessibility-controls img:focus {
            outline: 3px solid #007bff;
            outline-offset: 2px;
        }

/* Color theme classes */
.bg-color-default {
    background-color: #f8f9fa !important;
}

.bg-color-new {
    background-color: #2c3e50 !important;
}

.color-title-default {
    color: #0067d6 !important;
}

.color-title-orange {
    color: #ff0 !important;
}

.color-title-white {
    color: #ffffff !important;
}

.color-content-default {
    color: #000000 !important;
}

.color-content-yellow {
    color: #ff0 !important;
}

.color-content-aqua {
    color: #ffffff !important;
}

/* Content Styles */
.container-fluid {
    max-width: 100%;
    padding: 15px;
}

.card-register {
    background: transparent !important;
    margin: 0 auto;
    max-width: 1200px;
    width: 95%;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    overflow: hidden;
}

.card {
    border: none;
    background-color: transparent !important;
}

.card-body {
    padding: 20px;
}

/* Title Styling with CSS Variables */
h3[style*="font-size: 48px"] {
    font-size: var(--main-title-size) !important;
    text-decoration: underline !important;
    text-decoration-color: #3498db;
    text-decoration-thickness: 3px;
    text-underline-offset: 8px;
    padding: 0px 0 !important;
    margin: 0 !important;
    text-align: start;
    font-weight: 700;
}

span[style*="font-size: 30px"] {
    font-size: var(--section-title-size) !important;
    font-weight: 600 !important;
    display: block;
    margin-bottom: 15px;
    padding: calc(10px * var(--font-scale)) 0;
    border-bottom: 2px solid #e9ecef;
}

/* Main title - กลุ่มงานที่เปิดรับสมัคร */
h3, .card-register h3 {
    font-size: var(--main-title-size) !important;
}

/* Apply base font to body */
body {
    font-size: var(--base-font-size) !important;
    line-height: calc(1.5 * var(--font-scale));
}

/* Ensure all text elements inherit properly */
p, div, a, li, td, th, label {
    font-size: inherit;
    line-height: inherit;
}

/* Override any inline styles on spans */
.category-header span[style*="font-size: 28px"] {
    font-size: var(--header-font-size) !important;
}

/* Alternative method: Direct inline style override */
[style*="font-size: 28px"] {
    font-size: var(--header-font-size) !important;
}

/* Force font size for nested elements */
.category-header * {
    font-size: inherit;
}

/* Specific override for first span child */
.category-header > a > span:first-child,
.category-header > span:first-child {
    font-size: var(--header-font-size) !important;
}

/* Media query for mobile responsiveness */
@media (max-width: 768px) {
    :root {
        --base-font-size: 14px;
        --header-font-size: 16px;
        --badge-font-size: 14px;
    }

    .font-level-1 {
        --base-font-size: 16.8px;
        --header-font-size: 19.2px;
        --badge-font-size: 16.8px;
    }

    .font-level-2 {
        --base-font-size: 19.6px;
        --header-font-size: 22.4px;
        --badge-font-size: 19.6px;
    }

    .font-level-3 {
        --base-font-size: 22.4px;
        --header-font-size: 25.6px;
        --badge-font-size: 22.4px;
    }
}

.toggle-icon {
    font-size: calc(1.25rem * var(--font-scale));
    transition: transform 0.3s ease;
    margin-left: 5px;
    flex-shrink: 0;
}

    .toggle-icon.rotated {
        transform: rotate(180deg);
    }

/* Job Positions List */
.job-positions {
    list-style: none;
    padding: 0;
    margin: 0 0 8px 0;
    display: none;
    margin-top: -5px;
}

    .job-positions.show {
        display: block;
        animation: slideDown 0.4s ease;
    }

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        max-height: 400px;
        transform: translateY(0);
    }
}

.job-positions li {
    border-bottom: 1px solid #f1f3f4;
}

    .job-positions li:last-child {
        border-bottom: none;
    }

    .job-positions li a,
    .job-positions li button {
        font-size: calc(1.1rem * var(--font-scale)) !important;
        padding: calc(12px * var(--font-scale)) calc(15px * var(--font-scale));
        display: block;
        width: 100%;
        text-align: left;
        border: none;
        background: transparent;
        text-decoration: none;
        color: inherit;
        transition: all 0.3s ease;
    }

        .job-positions li button:hover {
            padding-left: calc(25px * var(--font-scale)) !important;
            background-color: #f8f9fa;
        }

/* General text scaling */
p, span:not([style*="font-size"]),
div:not([class*="category-header"]) {
    font-size: calc(1.375rem * var(--font-scale)) !important;
}
span[style*="font-size: 28px"] {
    font-size: calc(1.5rem * var(--font-scale)) !important;
}
/* Responsive Design */
@media (max-width: 768px) {
    .container-fluid {
        padding: 5px;
    }

    .card-register {
        margin: 0 5px;
        border-radius: 10px;
    }

    .card-body {
        padding: 15px;
        padding-bottom: 0px;
    }

    .category-header {
        margin-bottom: 3px;
    }

        .category-header span[style*="font-size: 28px"] {
            padding: calc(12px * var(--font-scale)) 15px;
        }

        .category-header span:first-child {
            margin-right: 5px;
            max-width: calc(100% - 80px);
            min-width: 0;
        }

        .category-header span[style*="margin-right: 3%"] {
            margin-right: 5px !important;
            flex-shrink: 0;
        }

    .job-positions button {
        padding: calc(12px * var(--font-scale)) calc(15px * var(--font-scale));
    }

        .job-positions button:hover {
            padding-left: calc(25px * var(--font-scale)) !important;
        }
}

@media (max-width: 576px) {
    .category-header span[style*="font-size: 28px"] {
        padding: calc(10px * var(--font-scale)) 12px;
    }

    .category-header span:first-child {
        max-width: calc(100% - 70px);
        font-size: calc(1rem * var(--font-scale)) !important;
    }

    .category-header span[style*="margin-right: 3%"] {
        padding: calc(3px * var(--font-scale)) calc(8px * var(--font-scale));
    }

    .job-positions button {
        padding: calc(10px * var(--font-scale)) calc(12px * var(--font-scale));
        font-size: calc(0.9rem * var(--font-scale)) !important;
    }

        .job-positions button:hover {
            padding-left: calc(20px * var(--font-scale)) !important;
        }
}

@media (max-width: 480px) {
    .category-header span[style*="font-size: 28px"] {
        padding: calc(8px * var(--font-scale)) 10px;
    }

    .category-header span:first-child {
        max-width: calc(100% - 60px);
        font-size: calc(1.1rem * var(--font-scale)) !important;
    }

    .category-header span[style*="margin-right: 3%"] {
        padding: calc(2px * var(--font-scale)) calc(6px * var(--font-scale));
        font-size: calc(1rem * var(--font-scale)) !important;
    }

    .toggle-icon {
        font-size: calc(1rem * var(--font-scale));
    }
}

/* Focus and Accessibility */
.category-header:focus-within {
    outline: 2px solid #3498db;
    outline-offset: 2px;
}

img[data-toggle="modal"]:focus {
    outline: 3px solid #3498db;
    outline-offset: 4px;
}

* {
    box-sizing: border-box;
}

.iframe-custom-container {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    background: white;
}

    .iframe-custom-container iframe {
        width: 100%;
        height: 100%;
        border: none;
    }

/* Multiple overlays to hide different sections */
.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: white;
    z-index: 10;
    border-bottom: 1px solid #e0e0e0;
}

.footer-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: white;
    z-index: 10;
    border-top: 1px solid #e0e0e0;
}

.sidebar-overlay {
    position: absolute;
    right: 0;
    top: 80px;
    bottom: 100px;
    width: 200px;
    background: white;
    z-index: 10;
    border-left: 1px solid #e0e0e0;
}

/* Responsive overlays */
@media (max-width: 768px) {
    .header-overlay {
        height: 60px;
    }

    .footer-overlay {
        height: 80px;
    }

    .sidebar-overlay {
        width: 150px;
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

#iframe-container {
    position: relative;
    min-height: 600px;
}

.iframe-error {
    text-align: center;
    padding: 50px 20px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    color: #6c757d;
}

    .iframe-error h3 {
        color: #dc3545;
        margin-bottom: 15px;
    }

.retry-button {
    background: #1c49a6;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 15px;
}

    .retry-button:hover {
        background: #143a7a;
    }
.radio-group-large {
    font-size: 22px;
}

    .radio-group-large label {
        font-size: 22px;
        cursor: pointer;
    }

    .radio-group-large input[type="radio"] {
        transform: scale(1.3); /* ขยาย radio button ให้เหมาะกับฟอนต์ */
        margin-right: 8px;
    }