/* =============================================================================
   TABLEX WIDGET v4.0 - Default Styles (Cleaned)
   ============================================================================= */

/* =============================================================================
   CSS VARIABLES
   ============================================================================= */
:root {
    --color-primary: #048D66;
    --color-primary-hover: #036b4e;
    --p: var(--color-primary);
    --ph: var(--color-primary-hover);
    --t: #121212;
    --tm: #666;
    --td: #aaa;
    --bg: #fff;
    --sf: #f5f5f5;
    --bd: #ddd;
    --err: #c00;
    --ok: #048D66;
    --f: 'Inter', system-ui, sans-serif;
    --fs: 16px;
    --fss: 14px;
    --fsx: 12px;
    --r: 8px;
    --h: 44px;
    --s: 180ms;
    --w: 94%;
    --gap: 16px;
    --gap-sm: 8px;
}

/* =============================================================================
   RESET & BASE
   ============================================================================= */

/* Gemeinsame Container-Styles */
.container-options,
.cal-container,
.month-buttons-container,
.tx_select_container,
.field-wrapper,
.calendar-information-text,
.watch-information-text,
.wpwl-container-card,
.tx_confirmed_container,
#watch .h-day-active,
#payment_information_comment,
#payment_additional_information,
#Labeltxfe_confirmAGB,
.cal .booked-message,
#watch .booked-message,
section > nav {
    width: var(--w);
	/*
    margin-left: auto;
    margin-right: auto;
	*/
}

/* Leere Elemente verstecken */
.calendar-information-text:empty,
.watch-information-text:empty,
.booked-message:empty,
#payment_information_comment:empty,
#payment_additional_information:empty,
.option-headline:empty,
.progressorInfo:empty {
    display: none !important;
}

*, *::before, *::after { box-sizing: border-box; }

html {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

body {
    /*min-width: 340px;*/
    max-width: 560px;
    width: 100%;
    margin: 0 auto;
    /*padding: 10px;*/
    font: var(--fs)/1.5 var(--f);
    color: var(--t);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a { color: var(--p); text-decoration: none; }
a:hover { color: var(--ph); }

/* =============================================================================
   LAYOUT
   ============================================================================= */
.limiter {
    position: relative;
    width: 100%;
    margin: 0 auto;
    white-space: nowrap;
    overflow: hidden;
    text-align: left;
}

section {
    position: relative;
    display: inline-block;
    width: 100%;
    vertical-align: top;
    white-space: normal;
    margin-top: var(--gap);
}

/* Inert Sections: nicht interaktiv und nicht fokussierbar */
section[inert] {
    pointer-events: none;
}

/* Inert polyfill für ältere Browser */
section[aria-hidden="true"] * {
    pointer-events: none;
}

form#bucket { display: none; }

/* =============================================================================
   NAVIGATION & BUTTONS
   ============================================================================= */
.nav-button-next,
.nav-button-back,
.nav-button-center,
#sendButton,
#repeatButton {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: var(--h);
    font: 600 var(--fs) var(--f);
    color: #fff;
    background: var(--p);
    border: 2px solid var(--p);
    border-radius: var(--r);
    cursor: pointer;
    transition: all var(--s);
}

.nav-button-next:hover,
.nav-button-back:hover,
.nav-button-center:hover,
#sendButton:hover,
#repeatButton:hover {
    background: var(--ph);
    border-color: var(--ph);
}

.nav-button-back {
    background: transparent;
    color: var(--p);
}

.nav-button-back:hover {
    background: var(--p);
    color: #fff;
}

section > nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: var(--gap-sm);
    min-height: var(--h);
    margin-top: var(--gap);
    padding: 0;
}

section > nav:has(.nav-button-back):has(.nav-button-next) {
    display: grid;
    grid-template-columns: 1fr 2fr;
}

section#calendar .nav-button-back { display: none; }
section#calendar .nav-button-next { visibility: hidden; }

/* Watch: Navigation nicht nötig - User klickt auf Zeitslot */
section#watch > nav:last-of-type { display: none; }

/* =============================================================================
   INFO BADGES (pickedInfoContainer)
   ============================================================================= */
#pickedInfoContainer,
#pickedInfoContainerOptions,
#pickedInfoContainerForm {
    display: flex;
    justify-content: center;
    width: 100%;
    gap: 4px;
    margin-bottom: var(--gap);
    font: 600 var(--fs) var(--f);
    text-align: center;
}

.progressorInfo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    min-width: 0;
    height: var(--h);
    padding: 0 8px;
    font-weight: 600;
    color: #fff;
    background: var(--p);
    border: 2px solid var(--p);
    border-radius: var(--r);
    cursor: pointer;
    transition: all var(--s);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.progressorInfo:hover {
    background: var(--ph);
    border-color: var(--ph);
}

/* =============================================================================
   PAX & DURATION SELECTS
   ============================================================================= */
.tx_select_container {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: var(--gap-sm);
    margin-top: var(--gap);
    margin-bottom: var(--gap);
}

.pax-select-like,
.vd-option-like {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    min-height: var(--h);
    background: var(--p);
    border: 2px solid var(--p);
    border-radius: var(--r);
    transition: all var(--s);
}

.pax-select-like:hover,
.vd-option-like:hover {
    background: var(--ph);
    border-color: var(--ph);
}

#pax-select,
#vd {
    width: 100%;
    min-height: var(--h);
    padding: 0 32px 0 12px;
    font: 500 var(--fs) var(--f);
    color: #fff;
    background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23fff' d='M6 8L1 3h10z'/%3E%3C/svg%3E") no-repeat right 10px center;
    border: none;
    outline: none;
    cursor: pointer;
    text-align: center;
    text-align-last: center;
    -webkit-appearance: none;
    appearance: none;
    position: relative;
    z-index: 1;
}

#pax-select:focus,
#vd:focus {
    outline: none;
}

#pax-select:focus-visible,
#vd:focus-visible {
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.5);
}

#pax-select option,
#vd option {
    color: var(--t);
    background: var(--bg);
}

.vd-option-like.hide { display: none; }

@media (max-width: 400px) {
    .tx_select_container { flex-direction: column; }
    .pax-select-like, .vd-option-like { width: 100%; }
}

/* =============================================================================
   MONTH NAVIGATION
   ============================================================================= */
.month-buttons-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 4px;
    margin-top: var(--gap);
    margin-bottom: var(--gap);
    padding: 5px;
}

.month-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    height: 60px;
    padding: 4px 8px;
    font-family: var(--f);
    background: transparent;
    border: 2px solid transparent;
    border-radius: var(--r);
    cursor: pointer;
    transition: all var(--s);
}

.month-button:hover { border-color: var(--p); }

.month-button.m-active {
    color: #fff;
    background: var(--p);
    border-color: var(--p);
}

.month-button .m-btn_month {
    font: 600 var(--fss) var(--f);
    text-transform: uppercase;
}

.month-button .m-btn_year {
    font-size: var(--fsx);
    color: var(--tm);
}

.month-button.m-active .m-btn_year {
    color: rgba(255,255,255,.8);
}

.month-button.hide-month { display: none; }
.month-button.show { display: flex; }

.remmonth, .addmonth {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
    transition: all var(--s);
}

.remmonth:hover:not(.hide-arrow),
.addmonth:hover:not(.hide-arrow) {
    transform: scale(1.1);
}

.remmonth img, .addmonth img {
    width: 20px;
    opacity: 0.6;
}

.remmonth:hover img, .addmonth:hover img { opacity: 1; }

.hide-arrow {
    opacity: .3;
    cursor: not-allowed;
    pointer-events: none;
}

.show-arrow {
    opacity: 1;
    cursor: pointer;
    pointer-events: auto;
}

@media (max-width: 400px) {
    .month-button { min-width: 50px; height: 50px; }
}

/* =============================================================================
   CALENDAR
   ============================================================================= */
.cal-container { padding: 5px; position: relative; }

.cal {
    display: none;
    flex-wrap: wrap;
    gap: 4px;
    justify-content: center;
    align-items: center;
}

.cal.show { display: flex; }

.cal .wd {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: calc(14.28% - 4px);
    min-height: var(--h);
    font: 500 var(--fsx) var(--f);
    color: var(--tm);
    text-transform: uppercase;
}

.cal .day,
.cal .placebo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: calc(14.28% - 4px);
    min-height: var(--h);
    font-size: var(--fs);
    background: transparent;
    border: 2px solid transparent;
    border-radius: var(--r);
    transition: all var(--s);
}

.cal .placebo { visibility: hidden; }

.cal .day:not(.d-active) {
    color: var(--td);
    cursor: not-allowed;
}

.cal .d-active { color: var(--t); cursor: pointer; }

.cal .d-active:hover {
    color: var(--p);
    border-color: var(--p);
}

.cal .d-today {
    font-weight: 600;
    border-color: var(--p);
}

.cal .d-today:hover {
    background: var(--p);
    color: #fff;
}

.cal .d-selected {
    background: var(--p);
    border-color: var(--p);
    color: #fff;
}

.cal .booked-message,
#watch .booked-message {
    clear: both;
    padding: 24px;
    margin-top: var(--gap);
    margin-right:27px;
    text-align: center;
    background: var(--sf);
    border-radius: var(--r);
}

.cal .booked-message {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    background: rgba(255,255,255,.95);
    box-shadow: 0 4px 12px rgba(0,0,0,.1);
    z-index: 10;
}

.calendar-information-text,
.watch-information-text {
    text-align: center;
    margin-top: var(--gap-sm);
    margin-bottom: var(--gap-sm);
    color: var(--tm);
    font-size: var(--fss);
}

/* =============================================================================
   WATCH (TIME SELECTION)
   ============================================================================= */
#watch { text-align: center; width: 100%; }

#watch .hour {
    display: none;
    width: 100%;
    margin: 0 auto 4px;
    clear: both;
}

#watch .h-day-active {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    justify-content: flex-start;
    margin-bottom: 4px;
}

#watch .quarter {
    flex: 1;
    min-width: 70px;
    max-width: calc(25% - 4px);
    display: none;
    align-items: center;
    justify-content: center;
    height: var(--h);
    font-size: var(--fs);
    background: var(--sf);
    border: 2px solid transparent;
    border-radius: var(--r);
    cursor: pointer;
    transition: all var(--s);
}

#watch .q-active { display: flex; }

#watch .quarter:hover {
    color: var(--p);
    border-color: var(--p);
}

#watch .quarter.selected {
    color: #fff;
    background: var(--p);
    border-color: var(--p);
}

#watch .hour ._00 > div::before,
#watch .hour ._15 > div::before,
#watch .hour ._30 > div::before,
#watch .hour ._45 > div::before { content: attr(data-hour); }

#watch .hour ._00 > div::after { content: ':00'; }
#watch .hour ._15 > div::after { content: ':15'; }
#watch .hour ._30 > div::after { content: ':30'; }
#watch .hour ._45 > div::after { content: ':45'; }

#calendar, #watch { -webkit-user-select: none; user-select: none; }
#_form { user-select: auto; }

/* =============================================================================
   OPTIONS
   ============================================================================= */
.container-options {
    margin-top: var(--gap);
    margin-bottom: var(--gap);
}

.option-headline {
    font-weight: 600;
    margin-bottom: var(--gap-sm);
    padding-left: 8px;
}

.option {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 56px;
    margin: 0 auto var(--gap-sm);
    padding: 12px 16px;
    position: relative;
    background: var(--bg);
    border: 2px solid var(--bd);
    border-radius: var(--r);
    cursor: pointer;
    transition: all var(--s);
    -webkit-user-select: none;
    user-select: none;
}

.option:hover { border-color: var(--p); }

.option.active-option {
    border-color: var(--p);
    background: var(--p);
    color: #fff;
}

.option > div:first-child { flex: 1; line-height: 1.4; }
.option.active-option > div:first-child { padding-right: 50px; }
.option.active-option.drop-down > div:first-child { padding-right: 200px; }

.option > div:first-child .sumup {
    display: block;
    font-size: var(--fss);
    font-weight: 600;
    margin-top: 2px;
    opacity: 0.9;
}

.option input[type="number"] {
    position: absolute;
    visibility: hidden;
    pointer-events: none;
}

/* Option Toolhandles */
.option > .toolhandle {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: none;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 8px;
    background: var(--sf);
    border: 2px solid var(--bd);
    border-radius: var(--r);
    color: var(--t);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--s);
    -webkit-user-select: none;
    user-select: none;
}

.option > .toolhandle > div { line-height: 1; }

.option.active-option > .toolhandle {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.5);
    color: #fff;
}

.option.active-option > .toolhandle:hover {
    background: rgba(255,255,255,0.4);
    border-color: #fff;
}

.option > .toolhandle.checker { right: 12px; }
.option > .toolhandle.increaser { right: 60px; }
.option > .toolhandle.decreaser { display: none !important; }
.option > .toolhandle.toolhandle-X.increaser1 { right: 108px; }
.option > .toolhandle.toolhandle-X.increaser5 { right: 156px; }
.option > .toolhandle.toolhandle-X.increaser10 { right: 204px; }

.option > .toolhandle[style*="block"] { display: flex !important; }

@media (max-width: 480px) {
    .option > .toolhandle {
        min-width: 34px;
        height: 34px;
        padding: 0 6px;
        font-size: 14px;
    }
    .option > .toolhandle.checker { right: 8px; }
    .option > .toolhandle.increaser { right: 48px; }
    .option > .toolhandle.toolhandle-X.increaser1 { right: 88px; }
    .option > .toolhandle.toolhandle-X.increaser5 { right: 128px; }
    .option > .toolhandle.toolhandle-X.increaser10 { right: 168px; }
    .option.active-option > div:first-child { padding-right: 40px; }
    .option.active-option.drop-down > div:first-child { padding-right: 170px; }
}

/* =============================================================================
   FORM
   ============================================================================= */
#grid-wrapper {
    width: 100%;
    display: inline-block;
    margin-bottom: calc(var(--gap) * 1.5);
    padding-top: var(--gap-sm);
}

.field-wrapper {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    min-height: var(--h);
    margin-bottom: var(--gap-sm);
    background: var(--sf);
    border: 2px solid var(--bd);
    border-radius: var(--r);
}

.field-wrapper.issues { border-color: var(--err); }
.field-wrapper.issues label { color: var(--err); }
.cc-issues { border:2px solid var(--err) !important;  }

#grid-wrapper .default-wrapper label,
#grid-wrapper .select-wrapper label,
#grid-wrapper .textarea-wrapper label {
    width: 35%;
    padding: 8px 16px;
    font-size: var(--fss);
    color: var(--tm);
	min-width: 32%;
}

#grid-wrapper .field-wrapper label.mandatory::after {
    content: ' *';
    color: var(--err);
}

#grid-wrapper .default-wrapper input,
#grid-wrapper .select-wrapper select,
#grid-wrapper .textarea-wrapper textarea {
    flex: 1;
    min-width: 0;
    
    height: var(--h);
    padding: 8px 16px;
    font: 500 var(--fs) var(--f);
    color: var(--t);
    background: transparent;
    border: none;
    outline: none;
}

#grid-wrapper .default-wrapper input:focus,
#grid-wrapper .select-wrapper select:focus,
#grid-wrapper .textarea-wrapper textarea:focus {
    background: rgba(0,0,0,.02);
}

#grid-wrapper .textarea-wrapper textarea {
    height: auto;
    min-height: 80px;
    resize: vertical;
}

#grid-wrapper .select-wrapper select {
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
}

input[type="checkbox"] {
    width: 22px;
    height: 22px;
    accent-color: var(--p);
    cursor: pointer;
}

.checkbox-wrapper { padding: 12px 16px; gap: 12px; }
.checkbox-wrapper label {
    flex: 1;
    width: auto !important;
    padding: 0 !important;
    cursor: pointer;
}

/* International Telephone Input */
.iti { flex: 1; }
.iti__flag-container { padding-top: 0; }
.iti__selected-flag { padding: 8px; background: transparent; }
.iti__country-list {
    border: 2px solid var(--bd);
    border-radius: var(--r);
    box-shadow: 0 4px 12px rgba(0,0,0,.1);
    background: var(--bg);
}
.iti__country.iti__highlight { background: var(--sf); }

.txfe_confirmSMS {
    flex-direction: row;
    justify-content: flex-start;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 16px;
}

.txfe_confirmSMS label {
    width: auto;
    padding-left: 8px;
    font-size: var(--fss);
    color: var(--p);
    cursor: pointer;
}

#txfe_telefon{
	width:100%;
}

#Labeltxfe_confirmAGB {
    display: block;
    margin-top: var(--gap);
    margin-bottom: var(--gap);
    font-size: var(--fsx);
    text-align: center;
    color: var(--tm);
}

#Labeltxfe_confirmAGB a { color: var(--p); }

/* =============================================================================
   PAYMENT
   ============================================================================= */
.wpwl-form{
	margin: 0 auto 0px auto;
}
.wpwl-container-card {
    width: var(--w);
    margin: var(--gap) auto;
    padding: 16px;
    background: var(--sf);
    border: 2px solid var(--bd);
    border-radius: var(--r);
}

.wpwl-label {
    font-size: var(--fss);
    color: var(--tm);
    margin-bottom: 4px;
    padding-left: 16px;
}

.wpwl-wrapper { padding: 0 16px; }
.wpwl-wrapper-submit, .wpwl-group-brand, .wpwl-group-submit { display: none; }

#payment_information_comment,
#payment_additional_information {
    margin-top: var(--gap);
    margin-bottom: var(--gap);
    font-size: var(--fss);
    color: var(--tm);
    text-align: center;
}

iframe#saferpay-iframe {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 90vw;
    max-width: 500px;
    height: 90vh;
    border: none;
    display: none;
    z-index: 1000;
    background: var(--bg);
    border-radius: var(--r);
    box-shadow: 0 8px 32px rgba(0,0,0,.2);
}

form#paymentForm {
    display: none;
    width: var(--w);
    margin: 0 auto;
}

form#paymentForm > div.default-wrapper {
    padding: 8px;
    border: 1px solid var(--bd);
    background: var(--sf);
    margin-bottom: 8px;
    border-radius: var(--r);
}

form#paymentForm > div.default-wrapper > label { font-size: var(--fss); }
form#paymentForm > div.issues > label { color: var(--err); }
form#paymentForm > div.default-wrapper > div.placeholder { height: 30px; }

/* =============================================================================
   CONFIRMED
   ============================================================================= */
.tx_confirmed_container {
    text-align: center;
    padding: 32px 16px;
    background: var(--sf);
    border-radius: var(--r);
    margin-bottom: var(--gap);
}

.tx_confirmed_container.pending,
.tx_confirmed_container.confirmed { display: none; }

.tx_confirmed_heading {
    font-size: 1.5em;
    font-weight: 600;
    color: var(--p);
    margin-bottom: var(--gap);
}

.tx_confirmed_message {
    color: var(--tm);
    line-height: 1.6;
}

/* Legacy evalInfo compatibility */
.evalInfo.pending, .evalInfo.confirmed {
    display: none;
    text-align: center;
    padding: 32px 16px;
    background: var(--sf);
    border-radius: var(--r);
    margin-bottom: var(--gap);
}

/* =============================================================================
   ALERT & SPINNER
   ============================================================================= */
.custom-alert {
    position: fixed;
    inset: 0;
    text-align: center;
    display: none;
    background: rgba(0,0,0,.5);
    z-index: 1000;
}

.custom-alert > .alert-window {
    position: relative;
    display: inline-block;
    top: 50%;
    transform: translateY(-50%);
    padding: 32px;
    max-width: 85%;
    background: var(--bg);
    border-radius: var(--r);
    box-shadow: 0 8px 32px rgba(0,0,0,.2);
}

.custom-alert > .alert-window > .closer {
    position: absolute;
    right: 16px;
    top: 16px;
    padding: 0;
    font-size: 24px;
    line-height: 1;
    background: none;
    border: none;
    opacity: .5;
    cursor: pointer;
    transition: opacity var(--s);
}

.custom-alert > .alert-window > .closer:hover {
    opacity: 1;
}

.custom-alert > .alert-window > .closer:focus-visible {
    outline: 2px solid var(--p);
    outline-offset: 2px;
}

.spinner {
    position: fixed;
    inset: 0;
    background: rgba(255,255,255,.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1001;
}

.spinner.active { display: flex; }

.spinner svg {
    width: 60px;
    height: 60px;
    color: var(--p);
    animation: spin 1s linear infinite;
}

.spinner img { width: 60px; height: 60px; }

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* =============================================================================
   STORNO
   ============================================================================= */
.StornoouterDiv {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 24px;
    padding: 16px;
}

.StornoinnerDiv {
    max-width: 400px;
    width: 100%;
    padding: 32px;
    text-align: center;
    color: #fff;
    background: var(--p);
    border-radius: var(--r);
}

#stornomessage {
    font-size: 1.5em;
    padding: 32px 0;
}

.stornoButton {
    width: 210px;
    height: 60px;
    font: 600 var(--fs) var(--f);
    color: #fff;
    background: var(--ok);
    border: 2px solid var(--ok);
    border-radius: var(--r);
    cursor: pointer;
    transition: all var(--s);
}

.stornoButton:hover {
    color: var(--ok);
    background: #fff;
}

/* =============================================================================
   LANGUAGE SWITCHER
   ============================================================================= */
.language-select {
    display: inline-block;
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 100;
    cursor: pointer;
}

.selected-language {
    width: 40px;
    height: 30px;
    background: var(--bg) no-repeat center;
    border: 2px solid var(--bd);
    border-radius: var(--r);
    box-shadow: 0 2px 8px rgba(0,0,0,.1);
    overflow: hidden;
    opacity: .9;
    transition: all var(--s);
}

.selected-language:hover {
    opacity: 1;
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
}

.language-container {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 4px;
    padding: 8px;
    background: var(--bg);
    border: 2px solid var(--bd);
    border-radius: var(--r);
    box-shadow: 0 4px 16px rgba(0,0,0,.15);
    z-index: 101;
}

.language-container.active-language { display: block; }

.language {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    margin: 4px;
    border: 2px solid transparent;
    border-radius: var(--r);
    font-size: var(--fss);
    cursor: pointer;
    transition: all var(--s);
}

.language:hover { border-color: var(--p); }
.language-img { width: 24px; border-radius: var(--r); }

/* =============================================================================
   UTILITIES
   ============================================================================= */
.hide { display: none !important; }
.show { display: inline-block; }

/* Screen reader only - visually hidden but accessible */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* =============================================================================
   FOCUS STATES (Accessibility)
   ============================================================================= */
:focus {
    outline: none;
}

:focus-visible {
    outline: 2px solid var(--p);
    outline-offset: 2px;
}

/* Buttons & Interactive Elements */
.nav-button-next:focus-visible,
.nav-button-back:focus-visible,
.nav-button-center:focus-visible,
#sendButton:focus-visible,
#repeatButton:focus-visible,
.month-button:focus-visible,
.day:focus-visible,
.quarter:focus-visible,
.option:focus-visible,
.progressorInfo:focus-visible {
    outline: 2px solid var(--p);
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(4, 141, 102, 0.2);
}

/* Form Elements */
#pax-select:focus-visible,
#vd:focus-visible,
#grid-wrapper input:focus-visible,
#grid-wrapper select:focus-visible,
#grid-wrapper textarea:focus-visible {
    outline: 0.5px solid var(--p);
    outline-offset: -2px;
}

#grid-wrapper .default-wrapper input:focus,
#grid-wrapper .textarea-wrapper textarea:focus {
    outline: none;
    border: 0.5px solid #aba9a9;
    border-radius: var(--r);
}

/* Skip to content link (screen readers) */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    padding: 8px 16px;
    background: var(--p);
    color: #fff;
    z-index: 1000;
    transition: top 0.2s;
}

.skip-link:focus {
    top: 0;
}

/* =============================================================================
   RESPONSIVE
   ============================================================================= */
@media (max-width: 400px) {
    :root { --fs: 14px; --h: 40px; }
}