/* ========================================
   Shared Styles - Common Assets
   Used across all pages (Login, Dashboard, etc.)
   ======================================== */

/* ========================================
   Google Fonts Import
   ======================================== */
@import url('https://fonts.googleapis.com/css2?family=Barlow:ital,wght@0,400;0,600;1,400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@500;600&display=swap');

/* ========================================
   Other Fonts
   ======================================== */
@font-face {
    font-family: 'Zalando Sans Expanded';
    src: url('../../../../themes/simple/webfonts/2026/ZalandoSansExpanded-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Antonio Bold';
    src: url('../../../../themes/simple/webfonts/2026/Antonio-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Antonio Variable';
    src: url('../../../../themes/simple/webfonts/2026/Antonio-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Bon Vivant';
    src: url('../../../../themes/simple/webfonts/2026//BonVivant-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* ========================================
   CSS Variables - Global Theme
   ======================================== */
:root {
    /* ===== Colors - Warm Beige Palette ===== */

    /* Primary brand color */
    --color-primary: #bc9662;
    --color-primary-hover: #a67f4d;
    --color-primary-active: #8f6a3d;

    /* Secondary colors */
    --color-secondary: #8b7355;
    --color-tertiary: #d4b896;

    /* Background colors */
    --color-background-dark: #f4f3ec;
    --color-background-light: #ffffff;
    --color-background-darker: #d4d3cc;
    --color-background-hover: #e8e7e0;
    --color-background-sidebar: #d8d6cd;
    --color-background-footer: #43000e;
    --color-background-light-gold: #e4d9ca;

    /* Text colors */
    --color-text-primary: #2c2a26;
    --color-text-secondary: #6b6961;
    --color-text-muted: #9b9890;
    --color-text-dark: #1a1816;

    /* Status colors */
    --color-error: #c94040;
    --color-error-bg: #fdeaea;
    --color-success: #5a9660;
    --color-success-bg: #edf7ed;
    --color-warning: #d4a030;
    --color-warning-bg: #fef9e7;
    --color-info: #5b8fb9;
    --color-info-bg: #e8f4fb;
    --color-notification-bg: red;
    --color-button-exam: #c61f26;

    /* Disabled state */
    --color-disabled: #c4c3bc;
    --color-disabled-text: #c4c3bc;

    /* Borders */
    --color-border: #d8d6cd;
    --color-border-focus: #bc9662;
    --color-border-divider: #a2a19c;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(44, 42, 38, 0.1);
    --shadow-md: 0 4px 6px rgba(44, 42, 38, 0.12);
    --shadow-lg: 0 10px 20px rgba(44, 42, 38, 0.15);

    /* ===== Typography ===== */

    /* Font Families */
    --font-primary-header: 'Antonio Bold', sans-serif;
    --font-secondary-header: 'Zalando Sans Expanded', sans-serif;
    --font-preheader: 'Zalando Sans Expanded', sans-serif;
    --font-body: 'Barlow', sans-serif;
    --font-accent: 'Bon Vivant', sans-serif;
    --font-family-regular: 'Zalando Sans Expanded', sans-serif;
    --font-family-bold: 'Antonio Bold', sans-serif;

    /* Font Weights */
    --weight-primary-header: 700;
    --weight-secondary-header: 600;
    --weight-preheader: 500;
    --weight-body: 400;
    --weight-body-bold: 600;

    /* Font Sizes */
    --font-size-xxs: 8px;
    --font-size-xs: 12px;
    --font-size-sm: 14px;
    --font-size-md: 16px;
    --font-size-lg: 18px;
    --font-size-xl: 24px;
    --font-size-2xl: 32px;
    --font-size-3xl: 48px;
    --font-size-4xl: 64px;
    --size-primary-header: 48px;
    --size-secondary-header: 32px;
    --size-preheader: 14px;
    --size-body: 16px;
    --size-body-small: 14px;
    --size-body-large: 18px;
    --size-banner-title: 75px;

    /* Line Heights */
    --line-height-primary: 1.1;
    --line-height-secondary: 1.2;
    --line-height-preheader: 1.3;
    --line-height-body: 1.6;

    /* Letter Spacing */
    --letter-spacing-primary: -0.02em;
    --letter-spacing-secondary: 0;
    --letter-spacing-preheader: 0.05em;
    --letter-spacing-body: 0;

    /* ===== Spacing ===== */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 10px;
    --spacing-lg: 20px;
    --spacing-xl: 30px;
    --spacing-2xl: 42px;
    --spacing-3xl: 60px;
    --spacing-4xl: 120px;

    /* ===== Padding ===== */
    --padding-lateral: 37px;

    /* ===== Border Radius ===== */
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 12px;
    --border-radius-xl: 16px;
    --border-radius-round: 50%;

    /* ===== Dimensions ===== */
    --input-width: 350px;
    --input-height: 40px;
    --icon-width: 43px;
    --icon-small-width: 20px;
    --icon-smaller-width: 10px;
    --logo-width: 250px;
    --logo-height: 220px;
    --logo-image-width: 220px;
    --logo-image-height: 220px;
    --form-container-width: 350px;
    --icon-dashboard-width: 70px;
    --icon-footer-width: 25px;

    /* ===== Logo ===== */
    --logo-url: url('../../../../themes/simple/images/2026/logo/Alternate Logo Vertical.png');
    --logo-url-ivory: url('../../../../themes/simple/images/2026/logo/Alternate Logo Vertical Ivory.png');
    --logo-filter: none;

    /* ===== Transitions ===== */
    --transition-fast: all 0.15s ease;
    --transition-default: all 0.3s ease;
    --transition-slow: all 0.5s ease;
}

/* ========================================
   Typography Utility Classes
   ======================================== */

/* Primary Header - Antonio Bold, ALL CAPS */
.text-primary-header {
    font-family: var(--font-primary-header);
    font-weight: var(--weight-primary-header);
    font-size: var(--size-primary-header);
    line-height: var(--line-height-primary);
    letter-spacing: var(--letter-spacing-primary);
    text-transform: uppercase;
    color: var(--color-text-primary);
}

/* Secondary Header - Roboto Condensed SemiBold */
.text-secondary-header {
    font-family: var(--font-secondary-header);
    font-weight: var(--weight-secondary-header);
    font-size: var(--size-secondary-header);
    line-height: var(--line-height-secondary);
    letter-spacing: var(--letter-spacing-secondary);
    text-transform: none;
    color: var(--color-text-primary);
}

/* Preheader/Label - Roboto Condensed Medium, ALL CAPS */
.text-preheader {
    font-family: var(--font-preheader);
    font-weight: var(--weight-preheader);
    font-size: var(--size-preheader);
    line-height: var(--line-height-preheader);
    letter-spacing: var(--letter-spacing-preheader);
    text-transform: uppercase;
    color: var(--color-text-secondary);
}

/* Body Text - Barlow Regular */
.text-body {
    font-family: var(--font-body);
    font-weight: var(--weight-body);
    font-size: var(--size-body);
    line-height: var(--line-height-body);
    letter-spacing: var(--letter-spacing-body);
    color: var(--color-text-primary);
}

.text-body-small {
    font-family: var(--font-body);
    font-weight: var(--weight-body);
    font-size: var(--size-body-small);
    line-height: var(--line-height-body);
    color: var(--color-text-secondary);
}

.text-body-large {
    font-family: var(--font-body);
    font-weight: var(--weight-body);
    font-size: var(--size-body-large);
    line-height: var(--line-height-body);
    color: var(--color-text-primary);
}

/* Body Bold */
.text-body-bold {
    font-family: var(--font-body);
    font-weight: var(--weight-body-bold);
    font-size: var(--size-body);
    line-height: var(--line-height-body);
    color: var(--color-text-primary);
}

/* ========================================
   Common Button Styles
   ======================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: var(--font-size-lg);
    border: none;
    cursor: pointer;
    transition: var(--transition-default);
    text-decoration: none;
}

.btn:active, .btn.active {
    box-shadow: unset;
}

.btn--primary {
    background: var(--color-primary);
    color: #ffffff;
    border-radius: 24px;
}

.btn--primary:hover {
    background: var(--color-primary-hover);
}

.btn--primary:active {
    background: var(--color-primary-active);
}

.btn--secondary {
    background: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
    border-radius: 24px;
}

.btn--secondary:hover {
    background: rgba(188, 150, 98, 0.1);
}

.btn--disabled {
    background: var(--color-disabled);
    color: var(--color-disabled-text);
    cursor: not-allowed;
}

.btn--back {
    font-size: var(--font-size-sm);
    text-transform: uppercase;
    font-family: var(--font-preheader);
    font-weight: var(--weight-body);
    padding-left: 13px;
}

.btn--back:hover {
    opacity: 0.85;
}

#containerDashboardCorrections .btn--back {
    padding-left: 0;
}

/* ========================================
   Common Input Styles
   ======================================== */

.input {
    width: 100%;
    padding: var(--spacing-md) var(--spacing-sm);
    font-family: var(--font-body);
    font-size: var(--font-size-md);
    color: var(--color-text-primary);
    background: var(--color-background-light);
    border: 1px solid var(--color-border);
    outline: none;
    transition: var(--transition-default);
}

.input:focus {
    border-color: var(--color-border-focus);
}

.input::placeholder {
    color: var(--color-text-secondary);
    opacity: 0.7;
}

/* ========================================
   Tooltip Styles
   ======================================== */
.info-badge {
    background-color: var(--color-primary);
    border-radius: 100%;
    color: #fff;
    font-size: var(--font-size-xxs);
    font-weight: bold;
    height: var(--spacing-md);
    width: var(--spacing-md);
    display: flex;
    padding: 0 var(--spacing-xs);;
    align-items: center;
    line-height: var(--spacing-md);
    cursor: pointer;
    text-transform: lowercase !important;
}

.tooltip-container {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.tooltip-container__icon {
    width: 16px;
    height: 16px;
    margin-left: 5px;
    vertical-align: middle;
}

.tooltip-container__text {
    visibility: hidden;
    width: 250px;
    background-color: black;
    color: #fff;
    text-align: center;
    border-radius: 5px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s;
}

.tooltip-container:hover .tooltip-container__text {
    visibility: visible;
    opacity: 1;
}

/* ========================================
   Base Reset
   ======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--color-text-primary);
    background: var(--color-background-dark);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

button {
    font-family: inherit;
}

.full-height {
    height: 100%;
}

/* ========================================
   Utility Classes
   ======================================== */

.uppercase {
    text-transform: uppercase;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.clear {
    clear: both;
}

/* Color utilities */
.text-primary {
    color: var(--color-primary);
}

.text-secondary {
    color: var(--color-text-secondary);
}

.text-muted {
    color: var(--color-text-muted);
}

.text-white {
    color: #ffffff;
}

.color-text-primary {
    color: var(--color-text-primary);
}

/* Background utilities */
.bg-primary {
    background-color: var(--color-primary);
}

.bg-light {
    background-color: var(--color-background-light);
}

.bg-dark {
    background-color: var(--color-background-dark);
}

/* ========================================
   Shared Table Component (.table)
   Flex-based table for ranking, results, calendars.
   Responsive: horizontal scroll on small viewports.
   ======================================== */

.table {
    display: flex;
    flex-direction: column;
    width: 100%;
    font-family: var(--font-body);
    color: var(--color-text-primary);
}

/* --- Header row --- */
.table__header {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    height: 48px;
    width: 100%;
}

.table__header-cell {
    flex-basis: 0;
    font-family: var(--font-preheader);
    font-size: var(--font-size-xxs);
    font-weight: var(--weight-preheader);
    text-transform: uppercase;
    letter-spacing: var(--letter-spacing-preheader);
    color: var(--color-text-muted);
    line-height: 48px;
}

/* --- Data row --- */
.table__row {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    margin-bottom: 2px;
    min-height: 48px;
    background: var(--color-background-light);
    transition: var(--transition-fast);
}

.table__cell {
    flex-basis: 0;
    display: flex;
    align-items: center;
}

/* --- Striped variant --- */
.table--striped .table__row:nth-child(odd) {
    background: var(--color-background-dark);
}

.table--striped .table__row:nth-child(even) {
    background: var(--color-background-light);
}

/* --- Highlight variant (current user) --- */
.table__row--highlight {
    background: rgba(188, 150, 98, 0.08) !important;
    border-left: 3px solid var(--color-primary);
}

/* --- Responsive wrapper --- */
.table--responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

@media screen and (max-width: 860px) {
    .table--responsive .table__header {
        display: none;
    }

    .table--responsive .table__row {
        flex-wrap: wrap;
        min-height: auto;
        padding: var(--spacing-sm);
        gap: var(--spacing-xs);
    }
}

/* ========================================
   Shared Badge Component (.badge)
   Small labeled indicators for positions,
   grades, statuses, ratings.
   ======================================== */

.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-secondary-header);
    font-weight: var(--weight-secondary-header);
    border-radius: var(--border-radius-sm);
    line-height: 1;
    white-space: nowrap;
}

/* --- Sizes --- */
.badge--sm {
    font-size: var(--font-size-xs);
    padding: 2px 6px;
    min-width: 20px;
    min-height: 20px;
}

.badge--md {
    font-size: var(--font-size-md);
    padding: 4px 10px;
    min-width: 32px;
    min-height: 32px;
}

.badge--lg {
    font-size: var(--font-size-xl);
    padding: 6px 14px;
    min-width: 44px;
    min-height: 44px;
}

/* --- Color variants --- */
.badge--primary {
    background: var(--color-primary);
    color: #ffffff;
}

.badge--secondary {
    background: var(--color-secondary);
    color: #ffffff;
}

.badge--muted {
    background: var(--color-text-muted);
    color: #ffffff;
}

.badge--gold {
    background: #d4a030;
    color: #ffffff;
}

.badge--silver {
    background: #b4b4b4;
    color: #ffffff;
}

.badge--bronze {
    background: #8b6914;
    color: #ffffff;
}

.badge--success {
    background: var(--color-success-bg);
    color: var(--color-success);
}

.badge--warning {
    background: var(--color-warning-bg);
    color: var(--color-warning);
}

.badge--error {
    background: var(--color-error-bg);
    color: var(--color-error);
}

/* --- Shape variants --- */
.badge--round {
    border-radius: var(--border-radius-round);
}

.badge--pill {
    border-radius: 999px;
}

/* --- Outline variant --- */
.badge--outline {
    background: transparent;
    border: 1.5px solid currentColor;
}

/* Item toggle */
.row-item__toggle {
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.row-item__toggle--open {
    background: transparent url('../../../../themes/simple/images/2026/FULL_ARROW_DOWN.png') center center no-repeat;
    background-size: 15px;
}

.row-item__toggle--open:hover {
    background-color: var(--color-background-darker);
}

.row-item__toggle--close {
    background: transparent url('../../../../themes/simple/images/closeRowSession.png') center center no-repeat;
}

.row-item__toggle--close:hover {
    background-color: var(--color-background-darker);
}

/* ========================================
   Shared Card Component (.card)
   Reusable container for sub-dashboard items,
   course info, lesson guides, profiles.
   ======================================== */

.card {
    border: 1px solid var(--color-border);
    background: var(--color-background-light);
    transition: var(--transition-default);
}

.card__header {
    padding: var(--spacing-lg) var(--spacing-xl);
    border-bottom: 1px solid var(--color-border);
}

.card__body {
    padding: var(--spacing-lg) var(--spacing-xl);
}

.card__footer {
    padding: var(--spacing-lg) var(--spacing-xl);
    border-top: 1px solid var(--color-border);
}

.card--active {
    border-color: var(--color-primary);
}

.card--active:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.card--disabled {
    opacity: 0.55;
    pointer-events: none;
    cursor: default;
}

.card--clickable {
    cursor: pointer;
}

.card--clickable:hover {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-sm);
}

/* ========================================
   Shared Form Group Component (.form-group)
   Label + input pairs for profile, settings,
   recording-request, and similar forms.
   ======================================== */

.form-group {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    padding: var(--spacing-md) 0;
}

.form-group__label {
    flex: 0 0 160px;
    font-family: var(--font-body);
    font-weight: var(--weight-body-bold);
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
}

.form-group__input {
    flex: 1;
    padding: var(--spacing-sm) var(--spacing-md);
    font-family: var(--font-body);
    font-size: var(--font-size-md);
    color: var(--color-text-primary);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-sm);
    background: var(--color-background-light);
    transition: var(--transition-default);
}

.form-group__input:focus {
    border-color: var(--color-border-focus);
    outline: none;
}

.form-group__input:disabled {
    background: var(--color-background-dark);
    color: var(--color-text-muted);
    cursor: not-allowed;
}

.form-group__select {
    flex: 1;
    padding: var(--spacing-sm) var(--spacing-md);
    font-family: var(--font-body);
    font-size: var(--font-size-md);
    color: var(--color-text-primary);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-sm);
    background: var(--color-background-light);
    transition: var(--transition-default);
    cursor: pointer;
}

.form-group__select:focus {
    border-color: var(--color-border-focus);
    outline: none;
}

.form-group__select:disabled {
    background: var(--color-background-dark);
    color: var(--color-text-muted);
    cursor: not-allowed;
}

input[type="checkbox"] {
    accent-color: var(--color-primary);
}

.form-group__checkbox {
    width: 18px;
    height: 18px;
    accent-color: var(--color-primary);
    cursor: pointer;
}

.form-group__checkbox:disabled {
    cursor: not-allowed;
}

@media screen and (max-width: 768px) {
    .form-group {
        flex-direction: column;
        align-items: stretch;
        gap: var(--spacing-sm);
    }

    .form-group__label {
        flex: none;
    }
}

/* ========================================
   Shared Modal Component (.modal)
   Reusable overlay dialog for popups, surveys,
   confirmations, and any overlay interaction.
   ======================================== */

.modal {
    position: fixed;
    inset: 0;
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-lg);
}

.modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(44, 42, 38, 0.55);
    z-index: -1;
}

.modal__dialog {
    position: relative;
    background: var(--color-background-light);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: modal-fade-in 0.25s ease;
}

.modal__dialog--wide {
    max-width: 1000px;
}

.modal__dialog--narrow {
    max-width: 450px;
}

.modal__dialog--fullscreen {
    max-width: none;
    max-height: none;
    width: 100%;
    height: 100%;
    border-radius: 0;
}

.modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-lg) var(--spacing-xl);
    background: var(--color-primary);
    color: #ffffff;
    flex-shrink: 0;
}

.modal__title {
    font-family: var(--font-secondary-header);
    font-weight: var(--weight-secondary-header);
    font-size: var(--font-size-xl);
    line-height: var(--line-height-secondary);
    margin: 0;
}

.modal__close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: none;
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border-radius: var(--border-radius-round);
    cursor: pointer;
    font-size: var(--font-size-lg);
    font-weight: 700;
    transition: var(--transition-fast);
    flex-shrink: 0;
}

.modal__close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.modal__body {
    padding: var(--spacing-xl);
    overflow-y: auto;
    flex: 1 1 auto;
    font-family: var(--font-body);
    font-size: var(--font-size-md);
    line-height: var(--line-height-body);
    color: var(--color-text-primary);
}

.modal__footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: var(--spacing-md);
    padding: var(--spacing-lg) var(--spacing-xl);
    border-top: 1px solid var(--color-border);
    flex-shrink: 0;
}

.hr-divider {
    border-color: var(--color-border-divider);
    margin: 50px 0;
}

.padding-lateral {
    padding: 0 var(--padding-lateral);
}

@keyframes modal-fade-in {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Modal — Responsive */
@media screen and (max-width: 768px) {
    .modal {
        padding: var(--spacing-sm);
    }

    .modal__dialog {
        max-width: 100%;
        max-height: 95vh;
    }

    .modal__header {
        padding: var(--spacing-md) var(--spacing-lg);
    }

    .modal__title {
        font-size: var(--font-size-lg);
    }

    .modal__body {
        padding: var(--spacing-lg);
    }

    .modal__footer {
        padding: var(--spacing-md) var(--spacing-lg);
    }
}

@media screen and (max-width: 480px) {
    .modal__dialog {
        max-height: 100vh;
        border-radius: 0;
    }

    .modal__close {
        width: 44px;
        height: 44px;
    }
}

/* Global confirm dialog (#dialogDiv / confirmConferma) */
#dialogDiv {
    min-height: 180px;
    height: auto;
    padding: var(--spacing-lg);
    box-sizing: border-box;
}

#dialogDiv::after {
    content: "";
    display: table;
    clear: both;
}

#dialogDiv #info {
    float: none;
    position: absolute;
    top: var(--spacing-md);
    left: var(--spacing-md);
    margin: 0;
    width: 44px;
    height: 44px;
    font-size: 26px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--color-primary);
    color: #fff;
    font-family: var(--font-preheader);
    font-weight: var(--weight-body-bold);
    font-style: normal;
}

#dialogDiv p {
    margin: 0 0 var(--spacing-xl);
    padding: 6px 0 0 calc(44px + var(--spacing-sm));
    font-size: var(--font-size-md);
    font-weight: var(--weight-body-bold);
    line-height: var(--line-height-body);
    overflow-wrap: anywhere;
}

#dialogDiv .dialogDivButton {
    padding: 8px 0;
    line-height: 1.2;
    margin: 0 0 var(--spacing-xs);
}

/* Yes is first in DOM but floats right, so margin-left creates gap from No */
#dialogDiv #yesDialogDivButton {
    margin-left: var(--spacing-lg);
}

@media screen and (max-width: 768px) {
    #dialogDiv {
        min-height: 266px;
        height: auto;
    }
}
