/* ===================================================
   order.css – CSS für orderapproach.php
   Extrahiert aus SuperWidget.css
   =================================================== */

/* --- CSS-Variablen (aus SuperWidget.css) --- */
:root {
    --Red:      #CE1126;
    --Grey:     #E1E3E6;
    --GreyDark: #252525;
    --Steel:    #4D5256;
}

/* --- Flex-Utilities --- */
.FlexRow {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: left;
}

.FlexColumn {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: left;
}

.JustifyContentSpaceBetween {
    justify-content: space-between;
}

/* --- Gap-Utilities --- */
.Gap10 {
    gap: 10px;
}

.Gap25 {
    gap: 25px;
}

/* --- InputGroup --- */
.InputGroup {
    min-width: 200px;
    max-width: 230px;
    display: flex;
    flex-direction: column;
    flex: 1;
    font-size: 13px;
    color: var(--GreyDark);
}

@media (max-width: 700px) {
    .InputGroup {
        width: 100%;
        max-width: 100%;
        min-width: unset;
    }
}

/* --- DropDownFrame --- */
.DropDownFrame {
    padding: 12px;
    background-color: #fff;
    border-radius: 5px;
    border: 1px solid var(--Grey);
    width: 100%;
    color: var(--Steel);
}

/* ===================================================
   Kalenderfunktionen – scoped auf .order-approach
   =================================================== */

.order-approach .kalender-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 16px;
    color: #666;
    user-select: none;
}

.order-approach .kalender-icon:hover {
    color: #333;
}

.order-approach .input-gruppe {
    margin-bottom: 20px;
    position: relative;
}

.order-approach label {
    margin-bottom: 4px;
    font-weight: 500;
    color: var(--GreyDark);
    font-size: 16px !important;
    font-family: 'Work Sans', sans-serif;
}

.order-approach select,
.order-approach input[type="text"] {
    padding: 12px;
    max-width: 100%;
    border: 1px solid var(--Grey);
    border-radius: 5px;
    font-size: 16px;
    cursor: text;
    background: rgba(255, 255, 255, 0.4);
    transition: all 0.2s;
    box-sizing: border-box;
    font-family: 'Work Sans', sans-serif;
    height: 45px;
    padding-right: 4rem;
}

.order-approach input[type="text"]:focus {
    outline: none;
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.order-approach select:not([class*="flex"]),
.order-approach input[type="text"]:not([class*="flex"]) {
    width: 100%;
    padding-right: 4rem;
    background: rgba(255, 255, 255, 0.4);
}

.order-approach input[type="date"] {
    width: 100%;
    max-width: 100%;
    padding: 12px;
    border: 1px solid var(--Grey);
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.4);
    transition: all 0.2s;
    box-sizing: border-box;
}

.order-approach input[type="date"]:focus {
    outline: none;
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.order-approach select.highlight {
    border: 0px solid var(--Red);
    box-shadow: 0 0 8px rgba(206, 17, 38, 0.3),
                0 0 5px rgba(206, 17, 38, 0.3);
    animation: pulse-border 1.5s ease-in-out infinite;
}

@keyframes pulse-border {
    0%   { box-shadow: 0 0 8px rgba(206, 17, 38, 0.6), 0 0 8px rgba(206, 17, 38, 0.3); }
    50%  { box-shadow: 0 0 14px rgba(206, 17, 38, 0.9), 0 0 20px rgba(206, 17, 38, 0.5); }
    100% { box-shadow: 0 0 8px rgba(206, 17, 38, 0.6), 0 0 8px rgba(206, 17, 38, 0.3); }
}

@media (max-width: 768px) {
    .order-approach input[type="date"] {
        font-size: 16px;
        padding: 10px;
        max-width: 94%;
    }
}

.order-approach input[type="radio"] {
    accent-color: var(--Red);
}

.order-approach input[type="checkbox"] {
    accent-color: var(--Red);
}

.order-approach select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    width: 100%;
    padding: 12px;
    padding-right: 3rem;
    height: 45px;

    border: 1px solid var(--Grey);
    border-radius: 5px;
    font-size: 14px;
    font-family: 'Work Sans', sans-serif;
    background: rgba(255, 255, 255, 0.4);

    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath fill='%23666' d='M0,0 L10,0 L5,6 Z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 10px 6px;

    box-sizing: border-box;
    transition: all 0.2s;
    cursor: pointer;
}

.order-approach select:focus {
    outline: none;
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

/* --- Kalender-Widget --- */
.kalender, .kalender * {
    font-family: 'Work Sans', sans-serif;
}

.kalender {
    position: fixed;
    margin-top: 8px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    z-index: 9999;
    display: none;
    width: 320px;
    max-width: 90vw;
    overflow: hidden;
    border: 1px solid #e5e7eb;
}

.datum-bereich {
    padding: 16px 20px;
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
    font-size: 13px;
    color: #4e5356;
    text-align: center;
}

.kalender-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px 16px;
}

.nav-button {
    background: none;
    border: none;
    color: #6b7280;
    font-size: 16px;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: all 0.2s;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-button:hover {
    background: #f3f4f6;
    color: #374151;
}

.monat-jahr {
    font-weight: 600;
    font-size: 14px;
    color: #4e5356;
}

.kalender-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    padding: 0 24px 20px;
}

#kalender-tage {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
}

.wochentag {
    padding: 8px 0;
    text-align: center;
    font-weight: 500;
    font-size: 11px;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tag {
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 13px;
    font-weight: 400;
    color: #4e5356;
    transition: all 0.2s;
    border-radius: 50px;
    margin: 1px;
    position: relative;
}

.tag:hover {
    background: #f3f4f6;
}

.tag.anderer-monat {
    color: #d1d5db;
}

.tag.anderer-monat:hover {
    background: transparent;
}

.tag.deaktiviert {
    color: #d1d5db;
    cursor: not-allowed;
    text-decoration: line-through;
    pointer-events: none;
}

.tag.deaktiviert:hover {
    background: transparent;
}

.tag.heute {
    font-weight: 600;
    color: #ef4444;
}

.tag.von {
    background: #ef4444;
    color: white;
    font-weight: 500;
}

.tag.bis {
    background: #ef4444;
    color: white;
    font-weight: 500;
}

.tag.zwischen {
    background: #fef2f2;
    color: #ef4444;
}

.tag.von-bis-einzeln {
    background: #ef4444;
    color: white;
    font-weight: 500;
}

.tag.von::before,
.tag.bis::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ef4444;
    border-radius: 45px;
    z-index: -1;
}

.tag.zwischen::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: -1px;
    right: -1px;
    background: #fef2f2;
    z-index: -2;
}

.tag.von::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: -1px;
    width: 50%;
    background: #fef2f2;
    z-index: -2;
}

.tag.bis::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: -1px;
    width: 50%;
    background: #fef2f2;
    z-index: -2;
}

.wochenzeile {
    display: contents;
}

.wochenzeile:first-child .tag.von::after,
.wochenzeile:last-child .tag.bis::after {
    display: none;
}

/* --- Responsive --- */
@media (max-width: 700px) {
    .FlexRow {
        flex-direction: column;
        gap: 15px;
    }

    .Gap25 {
        gap: 15px;
    }

    .kalender {
        width: 300px;
        max-width: calc(100vw - 20px);
        left: 10px !important;
    }
}

@media (max-width: 560px) {
    .FlexRow {
        flex-direction: column;
        gap: 10px;
    }

    .InputGroup {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .order-approach input[type="text"] {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        font-size: 16px;
    }

    .order-approach label {
        font-size: 14px !important;
        margin-bottom: 6px;
    }

    .Gap25 {
        gap: 10px;
    }

    .Gap10 {
        gap: 5px;
    }

    .kalender {
        width: calc(100vw - 30px);
        max-width: calc(100vw - 30px);
        left: 15px !important;
        right: 15px;
    }

    .kalender-header {
        padding: 12px 15px 10px;
    }

    .kalender-grid, #kalender-tage {
        padding: 0 15px 15px;
    }

    .tag {
        height: 32px;
        font-size: 13px;
    }

    .wochentag {
        font-size: 10px;
        padding: 6px 0;
    }
}

@media (max-width: 500px) {
    .kalender {
        width: 280px;
        max-width: calc(100vw - 10px);
        left: 5px !important;
    }

    .kalender-header {
        padding: 15px 20px 12px;
    }

    .kalender-grid {
        padding: 0 20px 15px;
    }
}

/* --- Auswahl-Zusammenfassung --- */
.order-summary {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 24px;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: var(--card-radius, 16px);
    border: 1px solid rgba(255, 255, 255, 0.65);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
    overflow: hidden;
}

.order-summary-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.order-summary-item:last-child {
    border-bottom: none;
}

.order-summary-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--titlegrey, rgba(80, 80, 80, 0.75));
    text-transform: uppercase;
    letter-spacing: 0.6px;
    font-family: 'Work Sans', sans-serif;
    min-width: 110px;
}

.order-summary-value {
    font-size: 15px;
    font-weight: 600;
    color: var(--GreyDark, #252525);
    font-family: 'Work Sans', sans-serif;
}

@media (max-width: 700px) {
    .order-summary-item {
        padding: 10px 16px;
    }
    .order-summary-label {
        min-width: 90px;
    }
}

/* --- Visa-Ergebnis Karten --- */
.visa-result,
.visa-result-free {
    margin-top: 20px;
    border-radius: var(--card-radius, 16px);
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.visa-result {
    border: 1px solid rgba(206, 32, 41, 0.15);
    background: rgba(206, 32, 41, 0.06);
}

.visa-result-free {
    border: 1px solid rgba(85, 175, 0, 0.2);
    background: rgba(85, 175, 0, 0.06);
}

.visa-result-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 28px;
    color: var(--vprot, #CE2029);
}

.visa-result-free .visa-result-header {
    color: #55af00;
}

.btn-abfrage-aendern {
    display: block;
    width: 100%;
    margin-top: 28px;
    padding: 11px 24px;
    box-sizing: border-box;
    text-align: center;
    background: #fff;
    color: var(--vprot, #CE2029);
    border: 1px solid var(--vprot, #CE2029);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Work Sans', sans-serif;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.btn-abfrage-aendern:hover {
    background: var(--vprot, #CE2029);
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(206, 32, 41, 0.35);
}

.visa-result ~ .hoch,
.visa-result-free ~ .hoch {
    margin-top: 28px !important;
}

.pflichtfeld-hinweis {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff5f5;
    border: 1px solid var(--vprot, #CE1126);
    border-left: 4px solid var(--vprot, #CE1126);
    color: var(--vprot, #CE1126);
    border-radius: 6px;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 500;
    margin-top: 16px;
}

.visa-result-icon {
    font-size: 28px;
    flex-shrink: 0;
}

.visa-result-title {
    font-size: 18px;
    font-weight: 700;
    font-family: 'Work Sans', sans-serif;
    line-height: 1.2;
    text-align: center;
    flex: 1;
}

/* --- Stammfelder Layout --- */
.DisplayNone {
    display: none;
}

/* AddInput-Container leer → kein Platz im Layout */
[id^="AddInput"]:empty {
    display: none;
}
/* Wenn befüllt → volle Breite über beide Spalten */
[id^="AddInput"]:not(:empty) {
    flex: 0 0 100% !important;
    width: 100% !important;
}

.FlexRow.flex-container > [style*="clear:both"] {
    display: none;
}

.StableW {
    flex: 1 1 auto;
    min-width: 0;
}

.FlexRow.flex-container {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 25px;
    align-items: flex-start;
}

.FlexRow.flex-container > .StableW {
    flex: 0 0 calc((100% - 25px) / 2) !important;
    min-width: 0;
    width: calc((100% - 25px) / 2) !important;
    box-sizing: border-box;
}

.FlexRow.flex-container > .StableW.FlexColumn {
    display: flex;
    flex-direction: column;
}

.FlexRow.flex-container > .StableW > input,
.FlexRow.flex-container > .StableW > select,
.FlexRow.flex-container > .StableW > textarea,
.FlexRow.flex-container .StableW input,
.FlexRow.flex-container .StableW select,
.FlexRow.flex-container .StableW textarea {
    width: 100% !important;
    min-width: 0;
    box-sizing: border-box !important;
    height: 45px !important;
}

.InputLabel {
    font-size: 13px;
    font-weight: 600;
    color: var(--GreyDark, #252525);
    font-family: 'Work Sans', sans-serif;
    margin-bottom: 6px;
    display: block;
}

@media (max-width: 700px) {
    .FlexRow.flex-container > .StableW {
        flex: 0 0 100% !important;
        width: 100% !important;
    }
}

@media (max-width: 560px) {
    .FlexRow.flex-container {
        gap: 16px;
    }
}

/* SW-field-grid: InnerContentText immer volle Breite */
.SW-field-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.SW-field-grid > .InnerContentText {
    flex: 0 0 100%;
    width: 100%;
}
.InnerContentText
{
    font-size: 14px;
    font-family: "Work Sans", sans-serif;
}
.InnerContentText h1
{
  font-size: 28px;
  color: var(--GreyDark);
  margin-bottom: 10px;
  font-family: "Work Sans", sans-serif;
}
.InnerContentText h2
{
  font-size: 24px;
  color: var(--GreyDark);
  margin-bottom: 10px;
  font-family: "Work Sans", sans-serif;
}
.InnerContentText p
{
    font-family: "Work Sans", sans-serif;
    font-size: 14px;
}
@media (max-width: 700px) {
}
    .transmit-notice {
        display: flex;
        align-items: center;
        gap: 12px;
        background: #f0fdf4;
        border: 1.5px solid #86efac;
        border-radius: 12px;
        padding: 14px 18px;
        margin-bottom: 20px;
        margin-top: 15px;
        font-family: 'Work Sans', sans-serif;
        font-size: 0.95rem;
        color: #166534;
    }
    .transmit-notice__icon {
        font-size: 1.4rem;
        color: #22c55e;
        flex-shrink: 0;
    }
    .transmit-notice__text strong {
        font-weight: 600;
    }
        .info-box_bounce_info {
            margin-top: 15px;
            padding: 16px;
            background: rgba(138, 138, 138, 0.2);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            border: 1px solid rgba(138, 138, 138, 0.6);
            border-radius: 12px;
            display: flex;
            gap: 12px;
            align-items: center;
            width: 100%;
            color: #383838;
            font-size: 16px;
            font-family: 'Work Sans', sans-serif;
        }

        .info-icon_bounce_info {
            width: 20px;
            height: 20px;
            border-radius: 50%;
            border: 0px solid #666;
            flex-shrink: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 26px;
            font-weight: 700;
            color: #383838;
            margin-top: 2px;
            padding:16px;
        }
        .info-box_bounce_success {
            margin-top: 15px;
            padding: 16px;
            position: relative;
            background: rgba(233, 247, 232, 0.4);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            border: 1px solid rgba(233, 247, 232, 0.4);
            border-radius: 12px;
            border: 1px solid #0CBA00;
            display: flex;
            gap: 12px;
            align-items: center;
            width: 100%;
            color: #097F00;
            font-size: 16px;
            font-family: 'Work Sans', sans-serif;
        }

        .info-recommendation-badge {
            position: absolute;
            top: -1px;
            right: -1px;
            background: #0CBA00;
            color: #fff;
            font-size: 13px;
            font-weight: 600;
            padding: 5px 14px;
            border-radius: 0 12px 0 8px;
            font-family: 'Work Sans', sans-serif;
            white-space: nowrap;
        }

        .info-icon_bounce_success {
            width: 20px;
            height: 20px;
            border-radius: 50%;
            border: 0px solid #666;
            flex-shrink: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 26px;
            font-weight: 700;
            color: #097F00;
            margin-top: 2px;
            padding:16px;
        }
        .info-box_bounce_error {
            margin-top: 15px;
            padding: 16px;
            background: #bac6d9;
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            border: 0px solid rgba(233, 247, 232, 0.4);
            border-radius: 12px;
            border: 0px solid #0CBA00;
            display: flex;
            gap: 12px;
            align-items: flex-start;
            width: 100%;
            color: #ce1126;
            font-size: 17px;
            font-family: 'Work Sans', sans-serif;
            font-weight: 400;
        }

        .info-icon_bounce_error {
            width: 20px;
            height: 20px;
            border-radius: 50%;
            border: 0px solid #666;
            flex-shrink: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
            font-weight: 700;
            color: #D42E2A;
            margin-top: 2px;
        }
        /* Responsive */
        @media (max-width: 600px) {
            .footer-badges_bounce {
                gap: 16px;
            }
        }
       /* Steps List */
        .steps-list_bounce {
            display: flex;
            flex-direction: column;
            gap: 0;
            position: relative;
            margin-top: 15px;
        }
        .step-item_bounce_withoutline {
            display: flex;
            gap: 16px;
            align-items: flex-start;
            padding: 7px 0;
            position: relative;
        }

        .step-item_bounce {
            display: flex;
            gap: 16px;
            align-items: flex-start;
            padding: 16px 0;
            position: relative;
        }

        /* Vertikale Linie zwischen Icons */
        .step-item_bounce:not(:last-child)::before {
            content: '';
            position: absolute;
            left: 11px;
            top: 52px;
            bottom: -8px;
            width: 1px;
            background: #d1fae5;
            z-index: 0;
        }

        .step-icon_bounce {
            width: 24px;
            height: 24px;
            border-radius: 50%;
            background: #22c55e;
            flex-shrink: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            z-index: 1;
        }

        .step-icon_bounce svg {
            width: 14px;
            height: 14px;
            color: white;
            stroke-width: 3;
        }

        .step-content_bounce {
            flex: 1;
        }

        .step-title_bounce {
            font-size: 15px;
            font-weight: 700;
            color: var(--text);
            margin-bottom: 6px;
            font-family: 'Work Sans', sans-serif;

        }

        .step-description_bounce {
            font-size: 14px;
            line-height: 1.6;
            color: var(--GreyDark);
            font-family: 'Work Sans', sans-serif;
        }

        .step-description_bounce strong {
            font-family: 'Work Sans', sans-serif;
            font-weight: 700;
            color: var(--GreyDark);
        }
        .success-icon-check {
            max-width: 50px;
            width: 100%;
            height: auto;
        }

        /* Auf mobilen Geräten kleiner */
        @media (max-width: 768px) {
            .success-icon-check {
                max-width: 35px;
            }
        }
        /* Info Box */
        .info-box_bounce {
            margin-top: 15px;
            padding: 16px;
            background: #f8f9fa;
            border-radius: 12px;
            border-bottom: 3px solid #e5e7eb;
            display: flex;
            gap: 12px;
            align-items: flex-start;
        }

        .info-icon_bounce {
            width: 20px;
            height: 20px;
            border-radius: 50%;
            border: 2px solid #666;
            flex-shrink: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 14px;
            font-weight: 700;
            color: #666;
            margin-top: 2px;
        }

        .info-content_bounce {
            flex: 1;
        }

        .info-title_bounce {
            font-size: 14px;
            font-weight: 600;
            color: #1a1a1a;
            margin-bottom: 4px;
        }

        .info-text_bounce {
            font-size: 13px;
            line-height: 1.5;
            color: #666;
            
        }
/* Trust Row */
.trust-row {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    margin-top: 14px;
    flex-wrap: wrap;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1 1 0;
    justify-content: center;
    color: var(--GreyDark);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    white-space: nowrap;
}
.trust-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
    filter: grayscale(100%) brightness(0.5);
}
@media (max-width: 480px) {
    .trust-row {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    .trust-item {
        white-space: normal;
    }
}
.FlexRowNoWrapDisclaimer {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    justify-content: left;
    align-items: flex-start; /* ← NEU */
}
.FlexRowNoWrapDisclaimer > div:first-child {
    display: flex;
    align-items: flex-start;
}
.FlexRowNoWrapDisclaimer input[type="checkbox"] 
{
    accent-color: var(--Red);
    margin: 0px;
    padding: 0px;
}
/* ========== Achtung-Popup (Warning) ========== */
.warning-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(3px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}
.warning-overlay.show {
    display: flex;
}
.warning-popup {
    background: #fff;
    border-radius: 14px;
    width: 90%;
    max-width: 520px;
    padding: 28px 28px 24px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
    position: relative;
    animation: warningSlideIn 0.3s ease;
}
@keyframes warningSlideIn {
    from { transform: translateY(-20px); opacity: 0; }
    to   { transform: translateY(0);     opacity: 1; }
}
.warning-close {
    position: absolute;
    top: 14px;
    right: 16px;
    background: none;
    border: none;
    font-size: 22px;
    color: #999;
    cursor: pointer;
    line-height: 1;
    padding: 0;
}
.warning-close:hover {
    color: #333;
}
.warning-title {
    color: var(--VPRed);
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 14px;
}
.warning-message {
    color: #1a1a1a;
    font-size: 15px;
    line-height: 1.55;
    margin: 0 0 18px;
}
.warning-link {
    display: inline-block;
    color: #2563eb;
    font-size: 15px;
    text-decoration: underline;
    margin-bottom: 22px;
}
.warning-link:hover {
    color: #1d4ed8;
}
.warning-footer {
    margin-top: 4px;
}
.warning-btn-correct {
    width: 100%;
    background: var(--VPRed);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 14px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
}
.warning-btn-correct:hover {
    background: #a80e1f;
}
