﻿
/* =============================
    Dropdown
    ============================
*/
.ssy2-dropdown {
    position: relative;
}


.ssy2-dropdown-content {
    position: absolute;
    background-color: #1d263b;
    border: 1px solid #6ab0e0;
    border-radius: 10px;
    padding: 12px 16px;
    min-width: 10rem;
    transform: scaleY(0);
    transform-origin: top;
    opacity: 0;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.ssy2-dropdown:hover .ssy2-dropdown-content {
    transform: scaleY(1);
    opacity: 1;
}

/* =============================
    Checkbox
    ============================
*/
.ssy2-checkbox-dot {
    accent-color: #6ab0e0;
    cursor: pointer;
}

.ssy-checkbox-dot::before {
    content: '';
    display: block;
    transition: 3s linear transform;
}

.ssy2-checkbox-dot:hover {
    outline: 1px solid;
    outline-color: #6ab0e0;
    outline-offset: 1px;
}

.ssy2-checkbox-dot:not(:checked) {
    accent-color: #3C3C3C;
    border: 1px solid lightgrey;
}

.ssy2-checkbox-dot:focus {
    outline: 1px solid;
    outline-color: #009DC9;
    outline-offset: 1px;
}

/* =============================
    Tabs
    ============================
*/
.ssy2-tab {
    background: none;
    padding: 0;
    border: none;
    cursor: pointer;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    color: #b0b0cc;
    border-bottom: 1px solid #b0b0cc;
    outline: inherit;
}

    .ssy2-tab:hover {
        color: #FAFBFC;
        border-bottom: 1px solid #6ab0e0;
    }

.ssy2-tab-active {
    color: #6ab0e0;
    border-bottom: 1px solid #6ab0e0;
    /* border-radius: 3px 3px 0 0; */
}

    .ssy2-tab::before,
    .ssy2-tab-active::before {
        content: "";
        position: absolute;
        inset: 0;
        background-color: #1d263b;
        transform: scaleY(0);
        transform-origin: bottom;
        transition: transform 0.3s ease;
        z-index: -2;
    }

    .ssy2-tab::after,
    .ssy2-tab-active::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        bottom: 1px;
        border-left: 1px solid #6ab0e0;
        border-right: 1px solid #6ab0e0;
        border-top: 1px solid #6ab0e0;
        transform: scaleY(0);
        transform-origin: bottom;
        transition: transform 0.3s ease;
        z-index: -1;
    }

    .ssy2-tab-active::before,
    .ssy2-tab-active::after {
        transform: scaleY(1);
    }

/* =============================
    Headers
    ============================
*/

.ssy2-h1 {
    font-family: 'Soehne breit', 'Franklin Gothic Book', Arial, sans-serif;
    font-size: 3em;
    color: #e0e0e0;
    display: inherit;
    margin: 0;
    font-weight: 700;
    line-height: 1;
}

.ssy2-h2 {
    font-family: 'Soehne breit', 'Franklin Gothic Book', Arial, sans-serif;
    font-size: 2em;
    color: #6ab0e0;
    display: inherit;
    margin: 0;
    font-weight: 700;
    line-height: 1;
}

.ssy2-h3 {
    font-family: 'Soehne breit', 'Franklin Gothic Book', Arial, sans-serif;
    font-size: 1.5em;
    color: #8888aa;
    display: inherit;
    margin: 0;
    font-weight: 700;
    line-height: 1;
}

.ssy2-h4 {
    font-family: 'Soehne breit', 'Franklin Gothic Book', Arial, sans-serif;
    font-size: 1.2em;
    color: #e0e0e0;
    display: inherit;
    margin: 0;
    font-weight: normal;
    line-height: 1;
}

/* ==========================================================================
   "NEW" feature highlight badge
   --------------------------------------------------------------------------
   Used to mark recently-added features. Put .ssy-new-feature on the
   container (it becomes position:relative) and add a child
   <span class="ssy-new-feature__badge">NEW</span>.

   TODO: REMOVE THIS BLOCK ON OR AFTER 2026-07-23 (badge added 2026-05-23).
   Also remove the matching .ssy-new-feature markup from:
     - Navigator/Components/Pages/General/CustomCharts.razor
     - Navigator/Components/Pages/Tankers/TankerPriceExtractor/TankerPriceExtractor.razor
     - Navigator/Components/Pages/Futures/FuturesDataExtractor/FuturesPriceExtractor_95.razor
     - Navigator/Components/Pages/Futures/FuturesDataExtractor/FuturesTradeExtractor_00.razor
   ========================================================================== */
.ssy-new-feature {
    position: relative;
    /* Allow the absolutely-positioned badge to extend outside the element */
    overflow: visible;
}

/* Use .ssy-new-feature--inline when placing the badge on something inline
   (e.g. inside a Tab TitleTemplate) so the wrapper gets a layout box. */
.ssy-new-feature--inline {
    display: inline-block;
}

.ssy-new-feature__badge {
    position: absolute;
    top: -8px;
    left: -8px;
    z-index: 10;
    background-color: #EB3871;
    color: #FFFFFF;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    padding: 1px 5px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
    pointer-events: none;
    line-height: 1;
    text-transform: uppercase;
}
