@media only screen and (min-width: 769px) {


/* Stil für die Zeile mit dem nächstgelegenen Strike-Preis */
.closest-strike .slide-row {
    background-color: rgba(0, 122, 255, 0.1); /* Hier können Sie die Farbe und Transparenz anpassen */
}

/* Verbesserung der Slide-Zeilen */
.slide-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
}

.slide-row .cell {
    flex: 1;
    text-align: center;
    border-right: 1px solid #ccc;
    padding: 2px;
    box-sizing: border-box;
    font-size: 12px;
}

.slide-row .cell:last-child {
    border-right: none;
}

/* Spezifische Einstellungen für die einzelnen Zellen */
.delta-call,
.theta-call,
.vega-call,
.moneyness-call,
.price-call,
.price-put,
.moneyness-put,
.vega-put,
.theta-put,
.delta-put,
.strike,
.call-header,
.put-header,
.iv-header {
    flex-basis: var(--option-chain-column-width, 9.09%);
    max-width: var(--option-chain-column-width, 9.09%);
}

.strike {
    font-weight: bold;
}


/* Anpassung der Header-Zellen in der ersten Zeile */
.call-header,
.put-header {
    flex-basis: var(--option-chain-side-width, 45.45%);
    max-width: var(--option-chain-side-width, 45.45%);
    flex-grow: 3;
}

.iv-header {
    flex-basis: var(--option-chain-column-width, 9.09%);
    max-width: var(--option-chain-column-width, 9.09%);
    flex-grow: 1;
}

.header-row .cell {
    font-weight: bold;
    white-space: nowrap;
}

/* Überschriftenbereich */
.swiper-header {
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    border-bottom: none; /* Entfernt den unteren Rand, um die Verbindung zum Swiper nahtlos zu gestalten */
    border-top-left-radius: 5px; /* Fügen Sie die oberen abgerundeten Ecken hinzu */
    border-top-right-radius: 5px;
    margin-bottom: 0;
}



.header-row {
    display: flex;
    align-items: center;
    width: 100%;
}

.header-row .cell {
    font-weight: bold;
}



/* Entfernen Sie die Positionsanpassungen */
.swiper-wrapper {
    position: relative;
    top: 0;
    transform: none;
}

/* Entfernen Sie die Flex-Eigenschaften aus den Headern der zweiten Zeile */
.header-row:nth-child(2) .cell {
    flex-basis: var(--option-chain-column-width, 9.09%);
    max-width: var(--option-chain-column-width, 9.09%);
    flex-grow: 1;
}





        .swiper-container {
/*            width: 100%;*/
/*            height: 30px;*/
            margin: 10px 0;
            border: 2px solid #ddd;
            border-radius: 10px;
            overflow: hidden;
            position: relative;
        }

.swiper-container.horizontal-swiper {
    height: 30px;
    width: 100%;
}

/* Dark Mode: Swiper Text Kontrast */
.dark-mode #modal-option-chain .swiper-slide {
    color: rgba(248, 250, 252, 0.86) !important;
}

.dark-mode #modal-option-chain .swiper-slide-active {
    color: #00a3ff !important;
}

.dark-mode #modal-option-chain .vertical-swiper-container {
    border-color: #94a3b8 !important;
}

.dark-mode #modal-option-chain .swiper-slide-active::before,
.dark-mode #modal-option-chain .swiper-slide-active::after {
    background-color: #00a3ff !important;
}

.dark-mode #modal-option-chain .swiper-header,
.dark-mode #modal-option-chain .swiper-container.horizontal-swiper {
    background-color: #3a3a3a !important;
    border-color: #94a3b8 !important;
}

.dark-mode #modal-option-chain .slide-row .cell {
    border-right-color: rgba(203, 213, 225, 0.35) !important;
}



.vertical-swiper-container {
    height: 160px; /* Passen Sie die Höhe nach Bedarf an */
    border: 1px solid #ccc;
    margin-bottom: 10px;
    display: none;
    border-top-left-radius: 0; /* Entfernt die obere linke abgerundete Ecke */
    border-top-right-radius: 0; /* Entfernt die obere rechte abgerundete Ecke */
    border-bottom-left-radius: 5px; /* Behalten Sie die unteren abgerundeten Ecken bei */
    border-bottom-right-radius: 5px;
    margin-top: 0;
}

#verticalSwipersContainer {
    position: relative;
}


        .vertical-swiper-container.active {
            display: block;
        }

        .swiper-slide {
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: 12px;
            color: #333;
            position: relative;
        }

        .swiper-slide-active::before,
        .swiper-slide-active::after {
            content: "";
            position: absolute;
            left: 0;
            right: 0;
            height: 1px;
            background-color: #007aff;
        }

        .swiper-slide-active::before {
            top: 0;
        }

        .swiper-slide-active::after {
            bottom: 0;
        }

        .swiper-slide-active {
            color: #007aff;
            font-size: 12px;
        }

        .notification-circle {
            position: absolute;
            top: 3px;
            width: 15px;
            height: 15px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 12px;
            color: white;
            z-index: 20;
        }

        .notification-circle.long {
            background-color: green;
        }

        .notification-circle.short {
            background-color: red;
        }

        .notification-circle.call {
            left: 5px;
        }

        .notification-circle.put {
            right: 5px;
        }

        .status-circle {
            position: absolute;
            top: 50%;
            left: -15px;
            transform: translateY(-50%);
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background-color: orange;
            z-index: 20;
        }

        .slide-text {
            position: relative;
            display: inline-block;
        }

/*ANPASSUNG FÜR DESKTOP - OPTIONSKETTE aus style-swiper-modal.css*/

        /* Anpassungen für #modal-option-chain */
#modal-option-chain {
    position: fixed;
    left: 50%;
    bottom: 0;
    transform: translate(-50%, 0);
    width: 80%;  /* Passe die Breite nach Bedarf an */
    max-width: 710px; /* Optionale Begrenzung */
    z-index: 20;
    transition: transform 0.3s ease-in-out;
}

/* Minimierter Zustand: Nur modalBar sichtbar */
#modal-option-chain.minimized {
    transform: translate(-50%, calc(100% - 30px));
    /* Verschiebung nach unten */
}

/*ANPASSUNG FÜR DESKTOP - OPTIONSKETTE aus style-swiper-modal.css*/


        #modalBar {
            height: 30px;
            background: #666;
            display: flex;
            align-items: center;
            justify-content: center;
            border-top-right-radius: 10px;
            border-top-left-radius: 10px;
            cursor: pointer;
        }

        .modal-content-option-chain {
            background-color: #fefefe;
            padding-left: 20px;
            padding-right: 20px;
            padding-bottom: 20px;
            border: 1px solid #888;
            overflow: hidden;
            position: relative;
        }

.option-chain-settings-anchor {
    position: absolute;
    top: 4px;
    right: 4px;
    z-index: 50;
}

.option-chain-settings-button {
    width: 20px;
    height: 20px;
    border: 1px solid rgba(120, 120, 120, 0.35);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    color: #555;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 9px;
    line-height: 1;
    padding: 0;
    backdrop-filter: blur(3px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
}

.option-chain-settings-button:hover {
    background: rgba(255, 255, 255, 0.96);
    color: #222;
}

.option-chain-settings-panel {
    position: absolute;
    top: 24px;
    right: -2px;
    min-width: 148px;
    padding: 10px 12px;
    border: 1px solid rgba(120, 120, 120, 0.35);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
    color: #222;
    font-size: 12px;
}

.option-chain-settings-section + .option-chain-settings-section {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid rgba(120, 120, 120, 0.18);
}

.option-chain-settings-heading {
    margin-bottom: 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #666;
}

.option-chain-settings-item {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 4px 0;
    cursor: pointer;
}

.dark-mode .option-chain-settings-button {
    background: rgba(58, 58, 58, 0.86);
    color: #d4d4d4;
    border-color: rgba(148, 163, 184, 0.45);
}

.dark-mode .option-chain-settings-button:hover {
    background: rgba(71, 71, 71, 0.96);
    color: #ffffff;
}

.dark-mode .option-chain-settings-panel {
    background: rgba(51, 51, 51, 0.97);
    color: #f3f4f6;
    border-color: rgba(148, 163, 184, 0.4);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.dark-mode .option-chain-settings-heading {
    color: #cbd5e1;
}

        .modal-grip {
            width: 50px;
            height: 5px;
            background-color: #aaa;
            border-radius: 10px;
            cursor: pointer;
        }


/* Neuer Wrapper für horizontalen Swiper und neuen Container */
.horizontal-swiper-wrapper {
    display: flex;
    align-items: center;
}

/* Stil für den horizontalen Swiper bleibt unverändert */
.swiper-container.horizontal-swiper {
    flex-grow: 1;
    height: 30px;
    margin: 10px 0;
    border: 2px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
    position: relative;
}

/* Neuer Container neben dem Swiper */
#addDurationContainerSwiper {
    box-sizing: border-box;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border: 2px solid #ddd;
    border-radius: 5px;
    background-color: inherit;
    outline: none;
    height: 30px;
    width: 30px;
    margin-left: 5px;
    font-size: 0;
}

#addDurationContainerSwiper .add-duration-plus {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 14px;
    height: 14px;
    transform: translate(-50%, -50%);
}

#addDurationContainerSwiper .add-duration-plus::before,
#addDurationContainerSwiper .add-duration-plus::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    background-color: #333;
    border-radius: 999px;
    transform: translate(-50%, -50%);
}

#addDurationContainerSwiper .add-duration-plus::before {
    width: 14px;
    height: 3px;
}

#addDurationContainerSwiper .add-duration-plus::after {
    width: 3px;
    height: 14px;
}

/* Optionaler Hover-Effekt */
#addDurationContainerSwiper:hover {
    background-color: #f0f0f0;
}

.notification-modal {
    position: fixed;
    width: 43px; /* Etwas breiter als die Buttons */
    padding: 8px;
    background-color: #f0f0f0; /* Gräulicher Hintergrund */
    border: 1px solid #ccc; /* Leichter Rahmen */
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.3); /* Weicher Schatten */
    border-radius: 5px; /* Abgerundete Ecken */
    z-index: 100;
    display: none;
    cursor: default;
    position: fixed;
}

.notification-modal.left::after,
.notification-modal.right::after {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
}

.notification-modal.left::after {
    top: 50%;
    right: -10px;
    border-width: 10px 0 10px 10px; /* Größe des Pfeils */
    border-color: transparent transparent transparent #f0f0f0; /* Pfeil nach rechts */
    transform: translateY(-50%);
}

.notification-modal.right::after {
    top: 50%;
    left: -10px;
    border-width: 10px 10px 10px 0; /* Größe des Pfeils */
    border-color: transparent #f0f0f0 transparent transparent; /* Pfeil nach links */
    transform: translateY(-50%);
}

.notification-modal button {
    width: 25px; /* Klein und quadratisch */
    height: 25px;
    padding: 0;
    margin-bottom: 3px;
    margin-top: 3px;
    border: 1px solid #ccc; /* Leichter Rahmen */
    border-radius: 5px; /* Leicht abgerundete Ecken */
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2); /* Schatten für einen Button-Effekt */
    background-color: white;
    cursor: pointer;
}

.notification-modal button i {
    font-size: 15px; /* Größe des Icons anpassen */
    color: #333; /* Icon-Farbe */
}

.dark-mode .notification-modal button {
    background-color: #475569;
    border-color: #94a3b8;
    box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.45);
}

.dark-mode .notification-modal button:hover {
    background-color: #64748b;
    border-color: #cbd5e1;
}

.dark-mode .notification-modal button i {
    color: #f8fafc;
}



/*===============================================================*/





/* Hauptcontainer: Drei Spalten, zwei Zeilen. 
   Statt center nun stretch, damit der Reset-Button sich über die volle Höhe erstrecken kann. */
.main-container {
    display: grid;
    grid-template-columns: auto 60px auto; 
    grid-template-rows: auto auto;
    gap: 16px;
    align-items: stretch; /* streckt die Zeilenhöhe */
}

/* Linke Sektion über zwei Zeilen */
.buttons-left-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
    grid-column: 1 / 2;
    grid-row: 1 / 3;
}

/* Dropdown soll genau 180px breit sein */
#dropdown-container > * {
    width: 180px;
    font-size: 10px;
    padding: 3px 5px;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-sizing: border-box;
}

/* Untere Zeile links: Input + Buttons je 60px breit */
.input-buttons-row {
    display: flex;
    gap: 8px;
    align-items: center;
}

.inputField {
    width: 60px;
    font-size: 10px;
    padding: 3px 5px;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-sizing: border-box;
}

/* Entfernt die Pfeile im Number-Feld */
.inputField[type=number]::-webkit-inner-spin-button,
.inputField[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.inputField[type=number] {
    -moz-appearance: textfield;
}

.long-button,
.short-button {
    width: 60px;
    padding: 3px 5px;
    border: none;
    border-radius: 6px;
    color: white;
    cursor: pointer;
    font-size: 10px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-sizing: border-box;
    text-align: center;
}

.long-button {
    background-color: #28a745; /* Grün */
}

.short-button {
    background-color: #dc3545; /* Rot */
}

.long-button:hover {
    background-color: #218838;
    transform: scale(1.05);
}

.short-button:hover {
    background-color: #c82333;
    transform: scale(1.05);
}

/* Reset-Section über zwei Zeilen */
.reset-section {
    grid-column: 2 / 3;
    grid-row: 1 / 3;
    /* Kein justify-content/align-items center, damit sich das Element auf volle Höhe erstreckt */
    display: grid;
}

/* Reset-Button füllt den gesamten Bereich aus, Text zentriert */
.reset-button {
    width: 100%;
    height: 100%;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 10px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    display: flex; 
    justify-content: center;
    align-items: center;
}

.reset-button:hover {
    background-color: #0056b3;
    transform: scale(1.05);
}

/* Rechte Sektion: rechtsbündig */
.buttons-right-section {
    grid-column: 3 / 4;
    grid-row: 1 / 3;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

/* Calls-Puts-Container mit definiertem Platz:
   Gesamtbreite: 140px (60px Calls + 20px Abstand + 60px Puts)
   Die Linie ist genau bei 70px (Mitte), dadurch entsteht etwas Luft zwischen den Spalten. */
.calls-puts-container {
    position: relative;
    width: 140px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.calls-puts-container::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 70px; /* Genau in der Mitte von 140px */
    width: 1px;
    background: #ccc;
}

/* Jede Spalte 60px breit, Buttons 60px, etwas Platz bleibt dann auf einer Seite */
.calls-column,
.puts-column {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center; 
    width: 60px; /* fixierte Breite */
    box-sizing: border-box;
}


    
}