@import url('https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,300..900;1,300..900&display=swap');
body{
    font-family: "Figtree",
        sans-serif;
}
.pasted-image{
    border-radius: 21px;
}
p{
    font-family: "Figtree",
        sans-serif;
}
.text-center {
    text-align: center;
}
.form-check-input {
    border: var(--bs-border-width) solid var(--bs-card-cap-color);
}
/*Write your custom css in this file.*/
.screenshot {
    max-width: 100px;
    border-radius: 10px;
}

.form-signin .mw100p {
    max-height: 200px;
}

.form-signin {
    height: 100%;
    margin: 0 auto;
    padding: 0;
    align-content: center;
    ;
}

/* Settings Form elements */
.ui-window {
    width: 20px;
    height: 20px;
    display: block;
    border-radius: 4px;
    border-color: #ffffff;
    border-style: solid;
    border-width: 2px;
    align-content: center;
    padding: 2px;
}

.nizuwheel-button {
    margin: 30px auto 0;
    width: 13em;
    height: 13em;
    border-radius: 3em;
    position: relative;
    background-image: linear-gradient(to bottom, #dddddd, #d5d5d5);
    box-shadow: inset 0 3px 7px 0px #FFF, inset 0 -5px 5px 0px rgba(0, 0, 0, 0.2), 0 27px 51px -10px rgba(0, 0, 0, 0.5);
}

.nizuwheel-button:before,
.nizuwheel-button:after {
    box-sizing: border-box;
    display: block;
}

.nizuwheel-button:before {
    content: "";
    position: absolute;
    border-radius: 50%;
    left: calc(50% - 6.25em);
    top: calc(50% - 6.25em);
    width: 12.5em;
    height: 12.5em;
    background-image: linear-gradient(to bottom, #ffffff, #aaaaaa);
    -webkit-filter: blur(4px);
}

.nizuwheel-button:after {
    content: "";
    position: absolute;
    border-radius: 50%;
    left: calc(50% - 5.5em);
    top: calc(50% - 5.5em);
    width: 11em;
    height: 11em;
    background-image: linear-gradient(to bottom, #c5c5c5, #dddddd 80%);
    box-shadow: 0 4px 28px -10px rgba(0, 0, 0, 0.2);
}

.nizuwheel-wheel,
.nizuwheel-colors,
.nizuwheel-color {
    content: "";
    position: absolute;
    border-radius: 50%;
    left: calc(50% - 4.75em);
    top: calc(50% - 4.75em);
    width: 9.5em;
    height: 9.5em;
}

.nizuwheel-wheel {
    display: block;
    z-index: 1;
    box-shadow: inset 0 16px 32px 14px rgba(0, 0, 0, 0.7);
}

.nizuwheel-colors {
    list-style: none;
    background: #ddd;
    position: relative;
    -webkit-filter: blur(10px);
    transform: rotate(170deg) scaleX(-1);
}

.nizuwheel-color {
    clip: rect(0px, 9.5em, 9.5em, 4.75em);
}

.nizuwheel-color:after {
    content: "";
    position: absolute;
    border-radius: 50%;
    left: calc(50% - 4.75em);
    top: calc(50% - 4.75em);
    width: 9.5em;
    height: 9.5em;
    clip: rect(0px, 4.75em, 9.5em, 0px);
}

.nizuwheel-color:nth-child(1):after {
    background-color: #9ED110;
    z-index: 12;
    transform: rotate(30deg);
}

.nizuwheel-color:nth-child(2):after {
    background-color: #50B517;
    z-index: 11;
    transform: rotate(60deg);
}

.nizuwheel-color:nth-child(3):after {
    background-color: #179067;
    z-index: 10;
    transform: rotate(90deg);
}

.nizuwheel-color:nth-child(4):after {
    background-color: #476EAF;
    z-index: 9;
    transform: rotate(120deg);
}

.nizuwheel-color:nth-child(5):after {
    background-color: #9f49ac;
    z-index: 8;
    transform: rotate(150deg);
}

.nizuwheel-color:nth-child(6):after {
    background-color: #CC42A2;
    z-index: 7;
    transform: rotate(180deg);
}

.nizuwheel-color:nth-child(7):after {
    background-color: #FF3BA7;
    z-index: 6;
    transform: rotate(180deg);
}

.nizuwheel-color:nth-child(8):after {
    background-color: #FF5800;
    z-index: 5;
    transform: rotate(210deg);
}

.nizuwheel-color:nth-child(9):after {
    background-color: #FF8100;
    z-index: 4;
    transform: rotate(240deg);
}

.nizuwheel-color:nth-child(10):after {
    background-color: #FEAC00;
    z-index: 3;
    transform: rotate(270deg);
}

.nizuwheel-color:nth-child(11):after {
    background-color: #FFCC00;
    z-index: 2;
    transform: rotate(300deg);
}

.nizuwheel-color:nth-child(12):after {
    background-color: #EDE604;
    z-index: 1;
    transform: rotate(330deg);
}

.nizuwheel-color:nth-child(n+7) {
    transform: rotate(180deg);
}

.nizuwheel-center {
    content: "";
    position: absolute;
    border-radius: 50%;
    left: calc(50% - 3.15em);
    top: calc(50% - 3.15em);
    width: 6.3em;
    height: 6.3em;
    z-index: 2;
    background-image: linear-gradient(to bottom, #eeeeee, #cccccc);
    box-shadow: inset 0 3px 7px 0px #FFF, 0 25px 30px -5px rgba(0, 0, 0, 0.5);
}

.nizuwheel-center:before {
    content: "";
    position: absolute;
    border-radius: 50%;
    left: calc(50% - 2.1em);
    top: calc(50% - 2.1em);
    width: 4.2em;
    height: 4.2em;
    background-image: linear-gradient(to bottom, #ffffff 20%, #aaaaaa);
    box-shadow: 0 25px 30px -5px rgba(0, 0, 0, 0.5);
}

.nizuwheel-center:after {
    content: "";
    position: absolute;
    border-radius: 50%;
    left: calc(50% - 1.5em);
    top: calc(50% - 1.5em);
    width: 3em;
    height: 3em;
    background-image: linear-gradient(to bottom, #aaaaaa, #f5f5f5 80%);
    box-shadow: inset 0 -1px 4px 0px #FFF;
}

.nizuwheel-pin {
    content: "";
    position: absolute;
    border-radius: 50%;
    left: calc(50% - 2.75em);
    top: calc(50% - 2.75em);
    width: 5.5em;
    height: 5.5em;
    z-index: -1;
    -webkit-animation: spin infinite 4s linear;
}

.nizuwheel-pin:after {
    content: "";
    width: 40px;
    height: 40px;
    transform: rotate(10deg) skew(40deg, 20deg);
    box-shadow: inset 0px 0px 4px 1px rgba(0, 0, 0, 0.1), 0 0 15px 3px rgba(0, 0, 0, 0.2);
    background: #FFF;
    position: absolute;
    z-index: -1;
    left: 6px;
    top: 10px;
}

@-webkit-keyframes nizuwheel-spin {
    from {
        -webkit-transform: rotate(0deg);
    }

    to {
        -webkit-transform: rotate(360deg);
    }
}
.float-right{
    float: right;
}
.float-left{
    float: left;
}
/* --- theme dark-light button ---*/

/* --- Documentation --- */
.help-catagory.list-group .list-group-item {
    font-size: medium;
}
/* --- End Documentation --- */
/* --- 2FA Authenticator --- */
.secure_field {
    background-color: black !important;
    color: lime !important;
    font-weight: 200 !important;
    font-size: large !important;
    letter-spacing: 6px;
}
.qrcode2fa {
    width: 200px;
    height: 200px;
    background-color: white ;
    padding: 10px;
    border-radius: 10px ;
    border-width: 5px;
    border-color: black;
    border-style: solid;
}
:root {
    --nizu2fa-box-size: 44px;
    /* smaller boxes */
    --nizu2fa-gap: 10px;
    --nizu2fa-radius: 10px;
    --nizu2fa-font-size: 20px;
    --nizu2fa-accent: #ccc;
    /* light-blue text color */
    --nizu2fa-muted: #94a3b8;
    /* empty box muted color */
    --nizu2fa-bg: #20242C;
    /* dark gray background for boxes */
    --nizu2fa-cursor-width: 2px;
    --nizu2fa-cursor-height: 54%;
    /* relative to box height */
    --nizu2fa-cursor-blink: 0.9s;
    /* blink speed */
}
/* container: center children, max width */
.nizu2fa_pin-input {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
    position: relative;
    font-family: system-ui, Roboto, "Segoe UI", Arial, sans-serif;
    -webkit-tap-highlight-color: transparent;
}

/* hide real input */
.nizu2fa_pin-input input {
    position: absolute;
    inset: 0;
    opacity: 0;
    width: 100%;
    height: 100%;
    caret-color: transparent;
    border: none;
    background: transparent;
}

/* boxes wrapper */
.nizu2fa_boxes {
    display: flex;
    gap: var(--nizu2fa-gap);
    cursor: text;
    align-items: center;
    justify-content: center;
}

/* each box */
.nizu2fa_box {
    width: var(--nizu2fa-box-size) !important;
    height: var(--nizu2fa-box-size) !important;
    border-radius: var(--nizu2fa-radius) !important;
    background: var(--nizu2fa-bg) !important;
    display: grid;
    place-items: center;
    font-size: var(--nizu2fa-font-size);
    font-weight: 700;
    color: var(--nizu2fa-accent);
    border: 2px solid transparent;
    box-sizing: border-box;
    position: relative;
    transition: transform .08s ease, border-color .08s ease;
    user-select: none;
}

/* empty boxes */
.nizu2fa_box.nizu2fa_empty {
    color: var(--nizu2fa-muted);
}

/* focused box highlight */
.nizu2fa_pin-input.nizu2fa_focused .nizu2fa_box.nizu2fa_focused {
    border-color: rgba(125, 211, 252, 0.18);
    transform: translateY(-2px);
}

/* blinking cursor on focused empty slot */
.nizu2fa_box.nizu2fa_focused::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: var(--nizu2fa-cursor-width);
    height: calc(var(--nizu2fa-box-size) * var(--nizu2fa-cursor-height) / 100);
    background: var(--nizu2fa-accent);
    border-radius: 1px;
    animation: nizu2fa_blink var(--nizu2fa-cursor-blink) steps(1, start) infinite;
    opacity: 1;
}

@keyframes nizu2fa_blink {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@media (max-width: 420px) {
    :root {
        --nizu2fa-box-size: 40px;
        --nizu2fa-font-size: 18px;
        --nizu2fa-gap: 8px;
    }
}
/* --- End 2FA Authenticator --- */
/* --- SketchBoard --- */
.nizusketchboard{
    border: 1px solid #2c2c2c;
}
.page-content.noscroll {
    overflow: hidden !important;
    touch-action: none;
    -ms-touch-action: none;
}
/* --- End SketchBoard --- */
/* --- NizuLogs Plugin --- */
td, label {
    border-radius: 4px;
}
.logdetails_property {
    border-bottom-style: dotted;
}
.nizulog_widget-details{
    text-align: right;
    position: absolute;
    right: 20px;
    top: 10px;
}
/* --- End NizuLogs Plugin --- */
/* --- Help & Knowledge Base --- */
.github_badge{
    background: black;
    width: 100px;
    text-align: center;
    color: white;
    display: block;
    height: 27px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    padding-top: 3px;
    border-color: white;
    border-width: 1px;
    border-style: solid;
    position: absolute;
    top: 0px;
    right: 10px;
}
.github_badge a {
    color: white;
    font-weight: bold;
    font-size: small;
    text-decoration: none;
}
.postman_badge{
    background: #FF6C37;
    width: 100px;
    text-align: center;
    color: white;
    display: block;
    height: 27px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    padding-top: 3px;
    border-color: white;
    border-width: 1px;
    border-style: solid;
    position: absolute;
    top: 0px;
    right: 120px;
}
.postman_badge a {
    color: white;
    font-weight: bold;
    font-size: small;
    text-decoration: none;
}
.example-header {
    background: #3D4351;
    color: #FFF;
    font-weight: 300;
    padding: 3em 1em;
    text-align: center;

    h1 {
        color: #FFF;
        font-weight: 300;
        margin-bottom: 20px
    }

    p {
        font-size: 12px;
        text-transform: uppercase;
        letter-spacing: 3px;
        font-weight: 700;
    }
}

.example-header {
    background: #3d4351;
    color: #fff;
    font-weight: 300;
    padding: 3em 1em;
    text-align: center;
}

.example-header h1 {
    color: #fff;
    font-weight: 300;
    margin-bottom: 20px;
}

.example-header p {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
}


.example-title {
    text-align: center;
    margin-bottom: 60px;
    padding: 3em 0;
    border-bottom: 1px solid #e4eaec;
}

.example-title p {
    margin: 0 auto;
    font-size: 16px;
    max-width: 400px;
}

/*==================================
    TIMELINE
==================================*/
/*-- GENERAL STYLES
    ------------------------------*/
.timeline {
    line-height: 1.4em;
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
}

.timeline h1,
.timeline h2,
.timeline h3,
.timeline h4,
.timeline h5,
.timeline h6 {
    line-height: inherit;
}

/*----- TIMELINE ITEM -----*/
.timeline-item {
    padding-left: 40px;
    position: relative;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

/*----- TIMELINE INFO -----*/
.timeline-info {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    margin: 0 0 0.5em 0;
    text-transform: uppercase;
    white-space: nowrap;
    color:#7b8190;
}

/*----- TIMELINE MARKER -----*/
.timeline-marker {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 15px;
}

.timeline-marker:before {
    background: #6690f5;
    border: 3px solid transparent;
    border-radius: 100%;
    content: "";
    display: block;
    height: 15px;
    position: absolute;
    top: 4px;
    left: 0;
    width: 15px;
    transition: background 0.3s ease-in-out, border 0.3s ease-in-out;
}

.timeline-marker:after {
    content: "";
    width: 3px;
    background: #ccd5db;
    display: block;
    position: absolute;
    top: 24px;
    bottom: 0;
    left: 6px;
}

.timeline-item:last-child .timeline-marker:after {
    content: none;
}

.timeline-item:not(.period):hover .timeline-marker:before {
    background: transparent;
    border: 3px solid #6690f5;
}

/*----- TIMELINE CONTENT -----*/
.timeline-content {
    padding-bottom: 40px;
}

.timeline-content p:last-child {
    margin-bottom: 0;
    color:#7b8190;
}
.timeline-anchor {
    color: var(--bs-list-group-color);
    text-decoration: none;
    background-color: var(--bs-list-group-bg);
}
/*----- TIMELINE PERIOD -----*/
.period {
    padding: 0;
}

.period .timeline-info {
    display: none;
}

.period .timeline-marker:before {
    background: transparent;
    content: "";
    width: 15px;
    height: auto;
    border: none;
    border-radius: 0;
    top: 0;
    bottom: 30px;
    position: absolute;
    border-top: 3px solid #ccd5db;
    border-bottom: 3px solid #ccd5db;
}

.period .timeline-marker:after {
    content: "";
    height: 32px;
    top: auto;
}

.period .timeline-content {
    padding: 40px 0 70px;
}

.period .timeline-title {
    margin: 0;
}
/* Tables transformations */
.nizu_table_icon{
    padding: 4px;
    width: 22px !important;
    height: 22px;
    border-radius: 4px;
}
.nizu_danger_list_badge{
    color:white;
    background-color: #f5325c;
}
.nizu_success_list_badge{
    color:white;
    background-color: limegreen;
}
.nizu_warning_list_badge{
    color:yellow;
    background-color: black;
}
/*----------------------------------------------
        MOD: TIMELINE SPLIT
    ----------------------------------------------*/
@media (min-width: 768px) {

    .timeline-split .timeline,
    .timeline-centered .timeline {
        display: table;
    }

    .timeline-split .timeline-item,
    .timeline-centered .timeline-item {
        display: table-row;
        padding: 0;
    }

    .timeline-split .timeline-info,
    .timeline-centered .timeline-info,
    .timeline-split .timeline-marker,
    .timeline-centered .timeline-marker,
    .timeline-split .timeline-content,
    .timeline-centered .timeline-content,
    .timeline-split .period .timeline-info {
        display: table-cell;
        vertical-align: top;
    }

    .timeline-split .timeline-marker,
    .timeline-centered .timeline-marker {
        position: relative;
    }

    .timeline-split .timeline-content,
    .timeline-centered .timeline-content {
        padding-left: 30px;
    }

    .timeline-split .timeline-info,
    .timeline-centered .timeline-info {
        padding-right: 30px;
    }

    .timeline-split .period .timeline-title,
    .timeline-centered .period .timeline-title {
        position: relative;
        left: -45px;
    }
}

/*----------------------------------------------
        MOD: TIMELINE CENTERED
    ----------------------------------------------*/
@media (min-width: 992px) {

    .timeline-centered,
    .timeline-centered .timeline-item,
    .timeline-centered .timeline-info,
    .timeline-centered .timeline-marker,
    .timeline-centered .timeline-content {
        display: block;
        margin: 0;
        padding: 0;
    }

    .timeline-centered .timeline-item {
        padding-bottom: 40px;
        overflow: hidden;
    }

    .timeline-centered .timeline-marker {
        position: absolute;
        left: 50%;
        margin-left: -7.5px;
    }

    .timeline-centered .timeline-info,
    .timeline-centered .timeline-content {
        width: 50%;
    }

    .timeline-centered>.timeline-item:nth-child(odd) .timeline-info {
        float: left;
        text-align: right;
        padding-right: 30px;
    }

    .timeline-centered>.timeline-item:nth-child(odd) .timeline-content {
        float: right;
        text-align: left;
        padding-left: 30px;
    }

    .timeline-centered>.timeline-item:nth-child(even) .timeline-info {
        float: right;
        text-align: left;
        padding-left: 30px;
    }

    .timeline-centered>.timeline-item:nth-child(even) .timeline-content {
        float: left;
        text-align: right;
        padding-right: 30px;
    }

    .timeline-centered>.timeline-item.period .timeline-content {
        float: none;
        padding: 0;
        width: 100%;
        text-align: center;
    }

    .timeline-centered .timeline-item.period {
        padding: 50px 0 90px;
    }

    .timeline-centered .period .timeline-marker:after {
        height: 30px;
        bottom: 0;
        top: auto;
    }

    .timeline-centered .period .timeline-title {
        left: auto;
    }
}

/*----------------------------------------------
        MOD: MARKER OUTLINE
    ----------------------------------------------*/
.marker-outline .timeline-marker:before {
    background: transparent;
    border-color: #6690f5;
}

.marker-outline .timeline-item:hover .timeline-marker:before {
    background: #6690f5;
}
/* --- End Help & Knowledge Base --- */
/* --- Highlight.js --- */
pre code.hljs {
    border-radius: 10px;
}
.isolated {
    all: initial;
}
.isolated pre {
    white-space: pre;
}
/* --- End Highlight.js --- */
/* --- Product and Store Styles --- */
.product-card {
    padding: 4px;
}
.product-card-content {
    border: 1px solid #eeeeee;
    border-radius: 15px;
    padding: 4px;
    text-align: center;
    display: block;
}
.product-card-image{
    border-radius: 15px;
    height: 100%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    transition: transform 1s ease;
    min-height: 160px;
}
.product-card-image:hover{
    transform: scale(1.05);
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.product-card-item{
    padding-top: 8px;
    padding-left: 4px;
}
.text-left{
    text-align: left;
}
.subscription-card-image {
    width: 268px;
    height: 268px;
    border-radius: 10px;
    margin-bottom: 15px;
}
.w-300{
    width: 300px;
}
.content-center{
    margin:auto;
}
.nizu_danger{
    color: var(--bs-danger);
}
.nizu_primary{
    color: var(--bs-primary);
}
.nizu_success{
    color: var(--bs-success);
}
.nizu_warning{
    color: var(--bs-warning);
}
.nizu_info{
    color: var(--bs-info);
}
.select-member-field a.delete,
.send-invitation-form .delete,
.automation-form .delete,
.calendar-ids-form .delete-post-dropzone,
.edit-image-file .delete-saved-file,
.external-tickets-embedded-code {
    margin-left: -35px;
    margin-top: 20px;
    position: relative;
}
.seo-preview{
    text-align: left;
    background-color: #ffffff;
    color: #343434;
    padding: 10px;
    border-radius: 10px;
    font-family: sans-serif;
    font-size: smaller;
}
.seo-title{
    font-weight: bold;
    color:blue;
    text-decoration: underline;
    font-size: medium;
}
.seo-app-name{
    color: #202124;
    font-size: medium;
}
.seo-app-url{
    color: #4d5156;
    font-size: small;
}
.seo-featured-image{
    width: 96px;
    height: 96px;
    border-radius: 10px;
    background-repeat: no-repeat;
    float:right;
}
.seo-description{
    max-width: 400px;
}
/* --- End Product and Store Styles --- */
/* --- Nizu Sign up --- */
@media (max-width: 767px) {
    #page-content:not(.no-padding) {
        padding: 5px !important;
    }
    .form-signin {
        width: 100%;
    }
}
:root{
    --bs-card-cap-color: #696666;
}
/* --- Password show/hide toggle button --- */
.pw-toggle-btn {
    border: 1px solid #f9f9f9;
    color: #6c757d;
}
.pw-toggle-btn:hover,
.pw-toggle-btn:focus {
    border: 1px solid #f9f9f9;
    background-color: transparent;
    color: #6c757d;
}
/* --- Sidebar contract/expand micro animation --- */
@media (min-width: 991px) {
    .sidebar,
    .sidebar-brand {
        transition: width 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .navbar-custom {
        transition: left 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .page-container {
        transition: margin-left 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    }
}
/* toggle icon subtle swap animation */
#sidebar-toggle-icon {
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.15s ease;
}
.sidebar-toggle-btn:hover #sidebar-toggle-icon {
    transform: scale(1.1);
}

/* =========================================================================
   macOS 26 ("Tahoe" / Liquid Glass) window styling for the platform modals
   Applies to the shared #ajaxModal and every Bootstrap .modal across the app.
   Only the window chrome is restyled (radius, shadow, frosted title bar /
   footer, traffic-light buttons) so it adapts to both light and dark skins,
   which set the content background after this file.
   ========================================================================= */

/* The window itself: rounded, layered shadow, hairline border, clipped corners */
.modal .modal-content {
    border: 0.5px solid rgba(0, 0, 0, 0.10);
    border-radius: 16px;
    overflow: hidden;
    box-shadow:
        0 0 0 0.5px rgba(0, 0, 0, 0.04),
        0 12px 28px rgba(0, 0, 0, 0.18),
        0 40px 80px rgba(0, 0, 0, 0.28);
    background-clip: padding-box;
}

/* A glassy "genie" scale-in instead of Bootstrap's slide-down */
.modal.fade .modal-dialog {
    transform: scale(0.94);
    transition: transform 0.28s cubic-bezier(0.2, 0.85, 0.25, 1), opacity 0.2s ease;
}
.modal.show .modal-dialog {
    transform: scale(1);
}

/* Frosted title bar */
.modal .modal-content .modal-header {
    position: relative;
    justify-content: center;
    min-height: 46px;
    padding: 0 84px;
    border-bottom: 0.5px solid rgba(0, 0, 0, 0.10);
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.015), rgba(0, 0, 0, 0.05));
    -webkit-backdrop-filter: saturate(180%) blur(22px);
    backdrop-filter: saturate(180%) blur(22px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

/* Centered, macOS-style title text */
.modal .modal-content .modal-header .modal-title {
    flex: 0 1 auto;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.1px;
    opacity: 0.85;
    margin: 0;
    line-height: 46px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

/* Traffic lights — the functional red dot IS Bootstrap's close button */
.modal .modal-content .modal-header .btn-close {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    padding: 0;
    margin: 0;
    border-radius: 50%;
    background: #ff5f57;
    border: 0.5px solid rgba(0, 0, 0, 0.18);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0.10);
    opacity: 1;
    transition: filter 0.15s ease;
}
.modal .modal-content .modal-header .btn-close:hover {
    filter: brightness(0.92);
}
.modal .modal-content .modal-header .btn-close:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 95, 87, 0.30);
}

/* The decorative yellow + green dots */
.modal .modal-content .modal-header .btn-close::before,
.modal .modal-content .modal-header .btn-close::after {
    content: "";
    position: absolute;
    top: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 0.5px solid rgba(0, 0, 0, 0.18);
    pointer-events: none; /* decorative dots must not capture the close hit area */
}
.modal .modal-content .modal-header .btn-close::before {
    left: 20px;
    background: #febc2e;
}
.modal .modal-content .modal-header .btn-close::after {
    left: 40px;
    background: #28c840;
}

/* Hover glyphs — revealed when the cursor is anywhere over the title bar,
   exactly like macOS: × (close), − (minimize), and the two triangles (zoom). */
.modal .modal-content .modal-header .btn-close,
.modal .modal-content .modal-header .btn-close::before,
.modal .modal-content .modal-header .btn-close::after {
    background-repeat: no-repeat;
    background-position: center;
    background-size: 12px 12px;
}
.modal .modal-content .modal-header:hover .btn-close {
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2012%2012'%3E%3Cpath%20d='M3.6%203.6l4.8%204.8M8.4%203.6l-4.8%204.8'%20stroke='rgba(0,0,0,0.55)'%20stroke-width='1.3'%20stroke-linecap='round'/%3E%3C/svg%3E");
}
.modal .modal-content .modal-header:hover .btn-close::before {
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2012%2012'%3E%3Cpath%20d='M3.2%206h5.6'%20stroke='rgba(0,0,0,0.55)'%20stroke-width='1.3'%20stroke-linecap='round'/%3E%3C/svg%3E");
}
.modal .modal-content .modal-header:hover .btn-close::after {
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2012%2012'%3E%3Cpath%20d='M3.2%203.2L7%203.2L3.2%207Z'%20fill='rgba(0,0,0,0.55)'/%3E%3Cpath%20d='M8.8%208.8L5%208.8L8.8%205Z'%20fill='rgba(0,0,0,0.55)'/%3E%3C/svg%3E");
}

/* Frosted footer with macOS-style pill buttons */
.modal .modal-content .modal-footer {
    border-top: 0.5px solid rgba(0, 0, 0, 0.10);
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.015), rgba(0, 0, 0, 0.02));
    -webkit-backdrop-filter: saturate(180%) blur(22px);
    backdrop-filter: saturate(180%) blur(22px);
}
.modal .modal-content .modal-footer .btn {
    border-radius: 9px;
    font-weight: 600;
}

/* Soften the dimmed backdrop to match the lighter glass aesthetic */
.modal-backdrop.show {
    opacity: 0.35;
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
}

/* =========================================================================
   Windows 11 caption-bar variant — only when <html> is tagged .os-windows.
   The macOS rules above remain the default (mac, iOS, and unknown OSes).
   These selectors are prefixed with html.os-windows so they reliably win on
   specificity over the macOS defaults. Caption buttons sit on the RIGHT:
   minimize (−), maximize (▢), close (×, red hover) — Win11 order.
   ========================================================================= */

/* Squarer window with the flatter Win11 elevation shadow */
html.os-windows .modal .modal-content {
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.10);
    box-shadow:
        0 2px 6px rgba(0, 0, 0, 0.16),
        0 16px 40px rgba(0, 0, 0, 0.22);
}

/* Caption bar: title on the LEFT, room reserved on the right for 3 buttons */
html.os-windows .modal .modal-content .modal-header {
    justify-content: flex-start;
    align-items: center;
    min-height: 40px;
    padding: 0 138px 0 16px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.03));
    border-bottom: 0.5px solid rgba(0, 0, 0, 0.10);
    box-shadow: none;
}
html.os-windows .modal .modal-content .modal-header .modal-title {
    flex: 1 1 auto;
    text-align: left;
    font-size: 13px;
    font-weight: 600;
    line-height: 40px;
    opacity: 0.9;
    padding: 0;
}

/* Close button (functional) → rightmost caption button with the red hover */
html.os-windows .modal .modal-content .modal-header .btn-close {
    left: auto;
    right: 0;
    top: 0;
    transform: none;
    width: 46px;
    height: 100%;
    border: 0;
    border-radius: 0 8px 0 0;
    background-color: transparent;
    box-shadow: none;
    background-size: 10px 10px;
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2010%2010'%3E%3Cpath%20d='M1.2%201.2L8.8%208.8M8.8%201.2L1.2%208.8'%20stroke='rgba(0,0,0,0.75)'%20stroke-width='1.05'%20stroke-linecap='round'/%3E%3C/svg%3E");
    transition: background-color 0.12s ease;
}
html.os-windows .modal .modal-content .modal-header .btn-close:hover {
    filter: none;
    background-color: #e81123;
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2010%2010'%3E%3Cpath%20d='M1.2%201.2L8.8%208.8M8.8%201.2L1.2%208.8'%20stroke='rgba(255,255,255,0.95)'%20stroke-width='1.05'%20stroke-linecap='round'/%3E%3C/svg%3E");
}
html.os-windows .modal .modal-content .modal-header .btn-close:focus {
    outline: none;
    box-shadow: none;
}

/* Maximize (::before) and Minimize (::after) — decorative, left of close */
html.os-windows .modal .modal-content .modal-header .btn-close::before,
html.os-windows .modal .modal-content .modal-header .btn-close::after {
    top: 0;
    left: 0;
    width: 46px;
    height: 100%;
    border: 0;
    border-radius: 0;
    background-color: transparent;
    background-size: 10px 10px;
    pointer-events: none;
}
html.os-windows .modal .modal-content .modal-header .btn-close::before {
    transform: translateX(-100%); /* maximize: the square, just left of close */
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2010%2010'%3E%3Crect%20x='1'%20y='1'%20width='8'%20height='8'%20rx='0.5'%20fill='none'%20stroke='rgba(0,0,0,0.75)'%20stroke-width='1.05'/%3E%3C/svg%3E");
}
html.os-windows .modal .modal-content .modal-header .btn-close::after {
    transform: translateX(-200%); /* minimize: the line, leftmost of the three */
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2010%2010'%3E%3Cpath%20d='M1%205H9'%20stroke='rgba(0,0,0,0.75)'%20stroke-width='1.05'%20stroke-linecap='round'/%3E%3C/svg%3E");
}

/* Flatter, squarer footer buttons to match Win11 */
html.os-windows .modal .modal-content .modal-footer .btn {
    border-radius: 4px;
}
/* --- End Sidebar micro animation --- */

/* --- Themed site logo (light/dark cross-fade) --------------------------
   get_themed_logo_html() wraps both logos in .nizu-logo-stack when a dark
   logo is set. setThemeColor() (general_helper.js) tags the body with class
   color-1E202D when the dark theme is active. The two logos are stacked on
   top of each other and their opacity is cross-faded so the swap animates
   in step with the day/night theme toggle instead of flipping instantly. */
.nizu-logo-stack {
    position: relative;
    display: inline-block;
    line-height: 0;
}
.nizu-logo-stack .nizu-logo-light,
.nizu-logo-stack .nizu-logo-dark {
    transition: opacity .45s ease;
}
.nizu-logo-stack .nizu-logo-dark {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}
body.color-1E202D .nizu-logo-stack .nizu-logo-light {
    opacity: 0;
}
body.color-1E202D .nizu-logo-stack .nizu-logo-dark {
    opacity: 1;
}
/* --- End themed site logo --- */
