﻿.content {
    min-height: calc(100vh - 218px);
    font-size: 14px;
    color: var(--color-text-muted);
}

.content-right {
    margin-right: 15px;
}


section.header a, section.header a:hover, section.header a:visited {
    color: #343a40 !important;
}

.fileinput-button {
    position: relative;
    overflow: hidden;
    height: 20px;
    color: var(--color-primary);
    text-decoration: underline;
    cursor: pointer;
}

    .fileinput-button:hover,
    .fileinput-button:focus,
    .fileinput-button:hover span,
    .fileinput-button:focus span,
    .fileinput-button:hover a,
    .fileinput-button:focus a {
        color: var(--color-primary-hover);
    }

    .fileinput-button span,
    .fileinput-button a,
    .fileinput-button a:hover,
    .fileinput-button a:visited {
        color: var(--color-primary);
        text-decoration: underline;
        cursor: pointer;
    }

.fileinput-button input {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        margin: 0;
        opacity: 0;
        -ms-filter: 'alpha(opacity=0)';
        font-size: 100%;
        direction: ltr;
        cursor: pointer !important;
    }

/* Fixes for IE < 8 */
@media screen\9 {
    .fileinput-button input {
        filter: alpha(opacity=0);
        font-size: 100%;
        height: 100%;
    }
}

section.header .logo a {
    color: #231F20;
    text-decoration: none;
}

    section.header .logo a:hover {
        color: #fff;
    }

section.header .wrapper .right .icon.icon-profile {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-image: url("../images/icon-profile-grey-no-arrow.png");
    background-size: auto;
    position: relative;
}

section.header .wrapper .right .icon:hover {
    border-radius: 0px;
    background-color: transparent;
    box-shadow: none;
}

section.header .nav-link {
    padding: 0px;
}

section.header .wrapper .right .icon {
    margin: 0px 0px;
}

section.header .nav-link .text-dark {
    display: inline-block;
    vertical-align: top;
    padding-top: 3px;
}

.logged-main .content-right {
    padding: 0px 0px 0px 0px;
}

    .logged-main .content-right .content {
        padding-top: 20px;
        padding-left: 30px;
    }

    .logged-main .content-right .on .content {
        padding-left: 0px;
    }

#contentRight .content.disable-padding {
    padding-left: 0px;
}

#contentRight.content-right.disable-margin {
    margin-right: 0px;
}

.menu-side {
    padding-top: 5px;
}

.jstree-node, .jstree-children, .jstree-container-ul {
    margin: 5px;
}


.actionbox .dropdown a.dropdown-toggle {
    text-decoration: none;
    font-size: 18px;
    background-color: var(--color-primary);
    color: var(--color-text-on-primary);
    letter-spacing: 3px;
    height: 40px;
    display: inline-block;
    padding: 8px 20px;
    text-transform: uppercase;
}

    .actionbox .dropdown a.dropdown-toggle.disabled {
        background-color: #cfcfcf;
        cursor: default;
    }


section.header .logo {
    width: auto;
}

.button {
    font-family: var(--font-body);
}

td > .button {
    margin-top: 0;
    margin-bottom: 0;
}

.actions-and-metas {
    color: var(--color-text-muted);
    padding-left: 3px;
}

    .actions-and-metas .actionbox table th, .actions-and-metas .actionbox table td {
        padding: 10px 16px;
        border: 1px solid var(--color-border);
        text-transform: uppercase;
    }

    .actions-and-metas .actionbox table th {
        font-size: 18px;
        background-color: var(--color-primary);
        color: var(--color-text-on-primary);
        letter-spacing: 3px;
    }

        .actions-and-metas .actionbox table th .dotdotdot {
            position: relative;
            top: -5px;
            font-weight: 700;
        }

    .actions-and-metas .actionbox table td {
        font-size: 14px;
        font-weight: 600;
        cursor: pointer;
    }

        .actions-and-metas .actionbox table td:hover {
            color: var(--color-primary);
        }

    .actions-and-metas .metadatas {
        margin-top: 40px;
        font-size: 14px;
        max-width: 300px;
    }

        .actions-and-metas .metadatas .title {
            font-weight: bold;
            padding-bottom: 6px;
        }

        .actions-and-metas .metadatas .property-name {
            color: var(--color-primary);
            font-weight: bold;
            margin-bottom: 0px;
        }

        .actions-and-metas .metadatas .onemeta {
            margin-top: 4px !important;
        }

        .actions-and-metas .metadatas table {
            margin-top: 10px;
        }

            .actions-and-metas .metadatas table td {
                padding-top: 5px;
            }

section.video {
    margin-right: 0;
    padding: 0;
    padding-bottom: 20px;
}

.bordered-col-left {
    border-left: 1px solid var(--color-border);
    padding-left: 30px;
    padding-right: 30px;
}

.bordered-col-right {
    border-right: 1px solid var(--color-border);
    padding-left: 30px;
    padding-right: 30px;
}

section.video .width-limit .title-row .right {
    font-size: 27px;
    font-weight: 100;
    width: 30%;
    padding-top: 0px;
    text-align: right;
    display: flex;
}


table th {
    font-weight: normal;
    color: var(--color-primary);
    border-bottom: 1px solid var(--color-primary);
    padding-bottom: 6px;
}

    table th a, table th a:hover {
        font-weight: normal;
        color: var(--color-primary);
    }


.table th {
    padding: 0.75rem;
    vertical-align: top;
    border-top: none;
}


/*.jstree .jstree-open > .jstree-children {
    background-image: url("../images/tree-ul-bg.png");
    background-repeat: repeat-y;
    background-position: -5px;
}*/

/* jstree: show "-" and "empty folder" icons on leaves */
.jstree-default .jstree-leaf > .jstree-ocl {
    background-position: -100px -100px;
}

.jstree-default .jstree-leaf > .jstree-anchor > .jstree-themeicon {
    background-position: -27px -1px;
}

/* jstree: selected-node highlight — Figma node 142-2668 */
.jstree-default .jstree-clicked {
    background: #E1F7F2 !important;
    border-radius: 4px !important;
    box-shadow: none !important;
}

/* jstree: hover state — tinted step of the mint palette */
.jstree-default .jstree-hovered {
    background: #EFF9F7 !important;
    border-radius: 4px !important;
    box-shadow: none !important;
}

.folder-content {
    font-size: 14px;
}

    .folder-content a, a:hover, .folder-content a:visited {
        color: var(--color-text-muted);
    }

    .folder-content .one-file {
        display: flex;
        align-items: center;
        font-size: 14px;
        margin-bottom: 12px;
    }

    .folder-content .img-wrap {
        width: 50px;
        margin-right: 15px;
        text-align: left;
    }

    .folder-content .one-file h3 {
        margin-bottom: 0px;
    }

    .folder-content .one-file p {
        margin: 0;
    }

    .folder-content .butt-wrap {
        text-align: center;
        margin-top: 50px;
    }

    .folder-content a.button, .folder-content a.button:hover {
        color: #fff;
    }

        .folder-content a.button.white {
            background: var(--color-surface);
            color: var(--color-primary);
        }

            .folder-content a.button.white:hover {
                background: var(--color-primary-hover);
                color: var(--color-text-on-primary);
            }

h3 {
    display: block;
    font-size: 1.17em;
    font-weight: bold;
}

section.homepage {
    margin-right: 0px;
    min-height: calc(100vh - 218px);
}

a.dropdown-item:active, a.dropdown-item:hover {
    background-color: var(--color-surface-alt);
}

#folderTree {
    min-height: calc(100vh - 265px);
}

#folderTree, label, .table, .button {
    font-size: 1rem;
}

#content-upload-select-folderreferences #folderTree {
    margin: 0 auto;
    width: 700px;
    min-height: inherit;
    max-height: 47vh;
    overflow-y: auto;
}

    #content-upload-select-folderreferences #folderTree ul li {
        margin-left: 13px;
    }

    #content-upload-select-folderreferences #folderTree > ul > li:first-child {
        margin-left: 0;
    }

    #content-upload-select-folderreferences #folderTree .jstree-ocl {
        cursor: pointer;
    }


.bootstrap-datetimepicker-widget.dropdown-menu {
    min-width: 300px;
}

#documentArea {
    min-height: calc(100vh - 240px);
    overflow-y: auto;
    overflow-x: auto;
    margin-bottom: 5px;
}

.content-item {
    margin-top: 6px;
    font-size: 14px;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 5px;
    min-width: 200px;
}

    .content-item h3 {
        font-weight: bold;
    }

    .content-item .property-name, .content-item-text .property-name, span.label-readonly {
        color: var(--color-primary);
        font-weight: bold;
    }

    .content-item .onemeta {
        margin-top: 10px;
    }

.content-item-width {
    width: 100%;
    padding-left: 3px;
}

.img-box {
    width: 105px;
    float: left;
    text-align: center;
}

.img-box-width {
    width: 105px;
}

.img-box-saved-search {
    width: 15px;
    float: left;
}

.content-item-text {
    margin-left: 10px;
}

.content-item-text-saved-search {
    margin-left: 25px;
}

.input-validation-error {
    box-shadow: 0 0 0 0.08rem rgb(255, 0, 0) !important;
}

.steps-wrap {
    margin: 0 auto 30px auto;
    max-width: 1000px;
}

.required:after {
    /*content: " *"; */
}

.icon-error:after {
    background-repeat: no-repeat;
    background-image: url(../images/inputerror.png);
    background-size: 20px 20px;
    background-position: right center;
    position: absolute;
    right: -25px;
    top: 0px;
    height: 33px;
    width: 33px;
    content: " ";
    display: block;
    z-index: 1000;
    pointer-events: none;
}

.multiselect-container .input-group {
    margin: 0px;
}

/* Multiselect dropdown: full width, display caret on the right, hide selected text overflow */

.multiselect-native-select .btn-group {
    width: 100%;
}

.multiselect .dropdown-toggle .btn {
    height: 33px !important;
}

.multiselect-native-select button.multiselect {
    display: block;
    width: 100%;
    height: calc(2.25rem + 2px);
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 1.4;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    outline: none;
    text-align: left;
    height: 33px !important;
}

.multiselect-native-select .multiselect-selected-text {
    display: inline-block;
    max-width: calc(100% - .75rem);
    overflow: hidden;
}

/* Suppress Bootstrap 4 ::after caret on all multiselect pill buttons — SVG background-image chevron is used instead */
.multiselect-native-select .dropdown-toggle::after {
    display: none;
}

.multiselect-native-select .multiselect-container {
    width: 100%;
    max-height: 42vh;
    overflow-y: scroll;
}

    .multiselect-native-select .multiselect-container > li > a > label {
        padding: .25rem 1.5rem .25rem .5rem;
        color: rgb(73,80,87);
        font-family: var(--font-body);
        font-size: 16px;
        font-weight: 400;
    }

    .multiselect-native-select .multiselect-container input[type="checkbox"] {
        position: static;
        opacity: 100;
    }

/* Register, ResetPassword, ChangePassword, Activate */

.input-group-append-pwd a, a:hover {
    color: #333;
}

.form-group label {
    font-weight: 400;
}

/*.sub-label {
    margin: 1px;
}*/

span.sub-label.field-validation-valid {
    padding: 0;
}

.strength-meter-custom {
    margin-top: 6px;
    height: 4px;
}

.input-block .input-wrapper select, .input-block .input-wrapper input[type="text"], .input-block .input-wrapper input[type="password"], .input-block .input-wrapper input[type="mail"], .input-block .input-wrapper input[type="email"] {
    margin-bottom: 0px;
}

.input-group-append-pwd {
    padding: .5rem .75rem;
    margin-bottom: 0;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.25;
    color: #495057;
    text-align: center;
    background-color: #e9ecef;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    border-left: none;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.input-pw {
    width: auto !important;
}

.input-block .input-wrapper.icon:before {
    z-index: 9999;
}

label.sub-label.strength-verdict-hidden {
    display: none;
}

/* FolderEdit, ContentUploadEditData, ContentAcceptProposed */
#datetimepicker1 {
    margin-bottom: 16px;
}

#CreationDate {
    width: auto;
}

div.tagsinput {
    width: 100% !important;
    height: 33px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    padding-left: 10px;
    padding-right: 10px;
    margin-bottom: 16px;
    border-radius: 3px;
    color: var(--color-text-muted);
    outline: none;
    display: block;
    font-size: 1rem;
    line-height: 1.5;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    overflow: visible;
    margin: 0;
    font-family: inherit;
    display: inline-table;
}

    div.tagsinput span.tag {
        border: 1px solid var(--color-primary);
        -moz-border-radius: 2px;
        -webkit-border-radius: 2px;
        display: block;
        float: left;
        padding: 2px;
        text-decoration: none;
        background: var(--color-primary);
        color: var(--color-text-on-primary);
        margin-right: 10px;
        font-family: var(--font-body);
        font-size: 13px
    }

        div.tagsinput span.tag a {
            font-weight: 700;
            color: var(--color-text-muted);
            text-decoration: none;
            font-size: 11px
        }

    div.tagsinput input {
        width: 80px;
        margin: 0 5px 5px 0;
        border: 0px solid transparent;
        background: 0 0;
        color: var(--color-text-muted) !important;
        outline: 0;
        font-size: inherit;
        padding: 0px
    }

    div.tagsinput div {
        display: block;
        float: left
    }

.tags_clear {
    clear: both;
    width: 100%;
    height: 0
}

.not_valid {
    background: #FBD8DB !important;
    color: #90111A !important
}

.content-icon {
    font-size: 16px;
    float: left;
    padding-right: 4px;
}

.content-icon-big {
    font-size: 44px;
    float: left;
    padding-right: 5px;
}

.content-icon-upload {
    width: 42px;
}


.fa.fa-lock {
    margin-right: 5px;
}

/******/

div.top-margin {
    margin-top: 10px;
}

.subtitle-main {
    text-align: center;
    font-weight: 100;
}

    .subtitle-main span {
        font-size: 1em;
    }

.fa.fa-lock {
    margin-right: 5px;
}

.close-icon {
    right: 21px;
    display: none;
}

.search-icon {
    right: 0px;
}

.close-icon, .search-icon {
    border: 1px solid transparent;
    background-color: transparent;
    vertical-align: middle;
    outline: 0;
    cursor: pointer;
    color: var(--color-text-muted);
    margin-top: 1px;
    position: absolute;
}

    .close-icon:after, .search-icon:after {
        display: block;
        width: 15px;
        height: 15px;
        position: absolute;
        z-index: 1;
        right: 5px;
        top: 0;
        bottom: 0;
        margin: auto;
        padding: 2px;
        text-align: center;
        color: white;
        font-weight: normal;
        font-size: 12px;
        cursor: pointer;
    }

#quicksearch {
    width: 100%;
}

.search-box:not(:valid) ~ .close-icon {
    display: none;
}

/* Bootstrap 4 spinner */

@-webkit-keyframes spinner-border {
    to {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes spinner-border {
    to {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

.spinner-border {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    vertical-align: text-bottom;
    border: 0.25em solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    -webkit-animation: spinner-border .75s linear infinite;
    animation: spinner-border .75s linear infinite;
}

.spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border-width: 0.2em;
}

/**/

.spinner-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
}

.spinner-container-continous {
    position: relative;
    height: 3rem;
    top: 1rem;
    margin-top: 1rem;
    width: 3rem;
    margin-left: auto;
    margin-right: auto;
    transform: translate(-50%, -50%);
    z-index: 9999;
    opacity: .5;
}

#searchDocumentArea, #playlistDocumentArea {
    overflow-y: hidden;
    overflow-x: auto;
    margin-bottom: 30px;
}

.back-to-top {
    cursor: pointer;
    position: fixed;
    bottom: 70px;
    right: 20px;
    display: none;
    z-index: 100;
}

.back-to-top i {
    font-size: 64px;
    color: var(--color-nav-teal);
    line-height: 1;
    display: block;
}

.back-to-top:hover i {
    color: var(--color-nav-dark);
}

.rotate-180 {
    transform: rotate(180deg);
}

#delim-arrow-image {
    font-size: 32px;
    color: var(--color-nav-teal);
    transition: transform 0.2s ease;
}

.breakword {
    word-wrap: break-word;
}

.menu-side a.link.level-2 {
    margin-left: 30px;
    padding-left: 40px;
    word-wrap: normal;
}

    .menu-side a.link.level-2:before {
        content: "";
        width: 0px;
        margin-right: 0px;
    }

input[type="checkbox"] {
    -webkit-appearance: none;
    appearance: none;
    position: relative;
    opacity: 1;
    width: 15px;
    height: 15px;
    margin-right: 6px;
    border: 1px solid var(--color-nav-teal);
    border-radius: 4px;
    background-color: #fff;
    display: inline-grid;
    place-content: center;
}

input[type="checkbox"]::before {
    content: "";
    width: 4px;
    height: 8px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(45deg) scale(0);
    transform-origin: center;
}

input[type="checkbox"]:checked {
    background-color: var(--color-nav-teal);
    border-color: var(--color-nav-teal);
}

input[type="checkbox"]:checked::before {
    transform: rotate(45deg) scale(1);
}

    input[type="checkbox"] + label {
        position: relative;
        cursor: auto;
        padding: 0px;
    }

        input[type="checkbox"] + label:before {
            content: none;
        }

.img-fluid {
    max-height: 85px;
}

td .img-fluid {
    max-height: 85px;
}

.radio-label {
    display: inline !important;
}

.saved-seach-meta {
    color: var(--color-primary);
    font-weight: bold;
}

.playlist-row a {
    color: var(--color-text-muted);
}

.half {
    -ms-transform: scale(0.5,0.5); /* IE 9 */
    -webkit-transform: scale(0.5,0.5); /* Safari prior 9.0 */
    transform: scale(0.5,0.5); /* Standard syntax */
}

.t75perc {
    -ms-transform: scale(0.75,0.75); /* IE 9 */
    -webkit-transform: scale(0.75,0.75); /* Safari prior 9.0 */
    transform: scale(0.75,0.75); /* Standard syntax */
}

.title-icon {
    float: left;
    margin-right: 20px;
    margin-bottom: 10px;
}

    .title-icon a {
        margin-bottom: 8px;
    }

.hidden {
    display: none;
}

.playlist-item:hover {
    cursor: move;
}

.playlist-order-number {
    margin: 0;
    padding-top: 3em;
    z-index: 9999;
    text-align: center;
    height: 100%;
    width: 100%;
}

    .playlist-order-number h3 {
        margin: 0;
        padding: 0;
    }

    .playlist-order-number.can-reorder .drag-hint {
        display: none;
        color: var(--color-primary);
        font-size: 18px;
    }

    .plon-header:hover .playlist-order-number.can-reorder h3 {
        display: none;
    }

    .plon-header:hover .playlist-order-number.can-reorder .drag-hint {
        display: block;
    }

.playlist-item .playlist-delete-icon {
    margin-top: 25px;
    cursor: pointer;
}

@media (max-width:1400px) {
    .playlist-item.onemeta {
        font-size: 80%;
    }
}

section.video .width-limit .title-row .right button {
    margin-right: 20px;
    margin-top: 0px;
}

.vjs-fullscreen-center {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

a.active {
    background-color: var(--color-border);
}

.menu-side a.link.level-2:before {
    margin-right: 0px;
}

div.contentRightRow:hover h3.playlist-order-number {
    color: transparent;
    width: 15px;
}

div.contentRightRow:hover h3.playlist-order-number::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    content: "\f04b";
    color: var(--color-nav-teal);
    display: block;
    font-size: 15px;
}

h3.playlist-order-number {
    width: 30px;
    height: 65px;
    padding-top: 25px;
}

.contentRightRow div {
    cursor: pointer;
}

#playlistArea {
    overflow-y: auto;
    max-height: 40vh;
}

.subtitle-delete-icon,
.playlist-delete-icon {
    font-size: 20px;
    color: #ff4047;
    cursor: pointer;
}

.table-row-move-img-2 i {
    font-size: 16px;
    color: var(--color-primary);
    cursor: grab;
}

.table-row-move-td-2 {
    width: 50px;
}

div.imageDecriptionEditMain .row input[type=text] {
    width: 86%;
    height: 33px;
    border: 0;
    border-radius: 2px;
    background-color: #EAEAEA;
    padding-left: 5px;
    padding-right: 5px;
    color: #222;
}

    div.imageDecriptionEditMain .row input::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
        color: #444;
        opacity: 0.4; /* Firefox */
    }

    div.imageDecriptionEditMain .row input:-ms-input-placeholder { /* Internet Explorer 10-11 */
        color: #888;
    }

    div.imageDecriptionEditMain .row input::-ms-input-placeholder { /* Microsoft Edge */
        color: #888;
    }

.icon-delete-img {
    width: 34px;
    height: 34px;
    margin: auto;
}

.table-row-move-img {
    width: 24px;
    height: 24px;
    margin: auto;
}

.table-row-move-img-2 {
    width: 24px;
    height: 24px;
    margin: auto;
    font-size: 19px;
    text-align: center;
    margin: unset
}

.ui-sortable-placeholder {
    border: 3px dashed #aaa;
    height: 108px;
    width: 1813px;
    background: #ccc;
}

div.imageDecriptionEditMain .row {
    min-height: 80px;
}

#magnifierModal .modal-dialog {
    max-width: 100%;
    max-height: 80vh;
    text-align: center;
}

#magnifierModal img {
    max-width: 100%;
    max-height: 80vh;
}

.playlist-status-text {
    margin-top: 15px;
    display: inline-block;
}

.ellipsis-20 {
    width: 20vw;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-block;
}

.ellipsis-30 {
    width: 30vw;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-block;
}

.ellipsis-50 {
    width: 50vw;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-block;
}

.ellipsis-60 {
    width: 60vw;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-block;
}

.ellipsis-70-percent {
    width: 70%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-block;
}

.ellipsis-90-percent {
    width: 90%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-block;
}

.ellipsis-100-percent {
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-block;
}

.white-space-inherit {
    white-space: inherit;
}

.white-space-nowrap {
    white-space: nowrap;
}

.center {
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.vertical-center {
    margin: 0;
    position: absolute;
    top: 50%;
    transform: translate(0%, -50%);
}

.playlist-detail-buttons .button:first-child {
    margin-left: 0;
}

blockquote {
    font-family: monospace;
    background: white;
    padding-left: 10px;
    overflow: scroll;
    max-height: 400px;
}

.button-playlist-add {
    border: 1.5px solid var(--color-nav-dark);
    border-radius: 8px;
    background: none;
    width: auto;
    height: auto;
    padding: 6px 8px;
    color: var(--color-nav-dark);
    margin-left: 15px;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

    .button-playlist-add i {
        color: var(--color-nav-dark);
    }

.content-status-label {
    margin-bottom: 0px;
}

.no-margin {
    margin: 0px;
}

.error-page {
    min-height: calc(100vh - 120px);
}

/* dropdown ie fix*/
.dropdown, .dropleft, .dropright, .dropup {
    position: inherit;
}

.dropdown-menu .dropright {
    position: relative;
}

div.debug-info {
    text-align: center;
    padding: 0 1em;
    font-weight: 100;
    font-size: 80%;
}

.item-list .playlist-item:hover, .item-list .content-item-text {
    cursor: auto !important;
}

.item-list.ui-sortable .playlist-item .plon-header h3:hover, .item-list.ui-sortable .content-item .plon-header h3:hover {
    cursor: move !important;
}

#add-to-favorites {
    font-size: 20px;
    color: var(--color-primary);
}

.playlist-thumbnail {
    width: 105px;
    float: left;
    margin-right: 15px;
}

.content-item h3 {
    font-size: 14px;
}

    .content-item h3 a {
        font-weight: bold;
        text-transform: uppercase;
        padding-bottom: 6px;
        color: var(--color-text-muted);
    }

.menu-side a.link.icon-star:before {
    content: '\2605' !important;
    font-size: 36px;
    line-height: 10px;
    margin-left: -5px;
    margin-right: 16px;
    vertical-align: middle;
}

.row {
    margin-right: 0px;
    margin-left: 0px;
}

.details-row {
    margin-right: -15px;
    margin-left: -15px;
}

@media (max-width: 1000px) {
    footer.page-footer .wrapper {
        height: initial;
    }
}

@media (max-width: 767.98px) {
    footer.page-footer .icon {
        width: 50%;
    }
}

@media (max-width: 872px) {
    .bordered-col-right {
        border-right: none;
        padding-left: 20px;
        padding-right: 20px;
    }

    .button-playlist-add {
        min-width: 40px;
        /*width: auto;
        max-width: 2.5em;
        padding: 3px 9px;*/
    }

    div.debug-info {
        display: none;
    }

    .search-wrap .search-input {
        width: 90%;
        padding-left: 6px;
        padding-right: 44px;
    }

    .logged-main .content-right .content {
        padding-left: 0px;
        padding-top: 10px;
    }

    section.header .wrapper .left {
        width: 22.3333334%;
    }

    section.header .wrapper .middle {
        width: 40.3333334%;
    }

    section.header .wrapper .right {
        width: 37.3333334%;
    }

    section.header .wrapper .left img {
        margin-right: 14px;
    }

    section.header .logo {
        width: 100%;
        min-width: 50px;
        padding-left: 0px;
    }

    section.video .width-limit .title-row .left {
        font-size: 25px;
    }

    section.video .width-limit .details-row {
        font-size: 13px;
        padding-top: 15px;
    }

    .palylist-item {
        width: 85%;
    }

    .playlist-item-head {
        width: 15%;
    }

    .playlist-thumbnail {
        width: 85px;
        float: left;
        margin-right: 15px;
    }

    .content-right {
        margin-right: 0px;
    }
}

div.newsletter-list {
    margin: 0.4em;
    padding: 0.5em;
    display: inline-flex;
    width: 40%;
    height: 2em;
    border-radius: 0.5em;
}

    div.newsletter-list input {
        margin-top: 0.3em;
        display: inline;
        margin-right: 2em;
        color: saddlebrown;
    }

@media (max-width: 649px) {
    body {
        min-width: initial;
    }

    div.newsletter-list {
        display: inline-flex;
        width: 100%;
        height: 1.8em;
        margin: 0.2em !important;
    }

    .header #userName {
        display: none
    }
}

li.page-item .button {
    width: auto;
    padding: 6px 18px;
    margin: 10px;
    min-width: 50px;
}

li.page-item.active > .button {
    background-color: var(--color-primary);
    color: var(--color-text-on-primary);
}

.table td, .table th {
    vertical-align: middle;
}

.no-padding {
    padding: 0px;
}

audio {
    width: 100%;
}

.logged-main .wrapper {
    min-height: calc(100vh - 102px);
}

.logged-main .wrapper-player {
    min-height: calc(100vh - 120px);
}

.input-block .input-wrapper input[readonly] {
    background-color: #e9ecef;
}

label.control-label.form-label.main-label.required {
    white-space: nowrap;
}

    label.control-label.form-label.main-label.required.label-wrap {
        white-space: inherit;
    }


.toast {
    border: 1px var(--color-primary) solid;
    color: var(--color-primary);
    width: 100%;
    margin-bottom: 30px;
    max-width: inherit;
}

/* Style The Dropdown Button */
.image-gallery-resolution-dropbtn {
    border: none;
    background-color: transparent;
    color: white;
    z-index: 3;
    position: absolute;
    right: 79px;
    padding-bottom: 2px;
    padding-top: 3px;
    padding-right: 10px;
    padding-left: 10px;
}

.image-gallery-aspect-ratio-dropbtn {
    border: none;
    background-color: transparent;
    color: white;
    z-index: 3;
    position: absolute;
    right: 141px;
    padding-bottom: 2px;
    padding-top: 2px;
    padding-right: 10px;
    padding-left: 10px;
}

/* The container <div> - needed to position the dropdown content */
.image-gallery-dropdown {
    z-index: 3;
    position: relative;
    top: -29px;
}

/* Dropdown Content (Hidden by Default) */
.image-gallery-resolution-dropdown-content {
    display: none;
    background-color: rgb(34, 34, 34);
    min-width: 46px;
    z-index: 3;
    position: absolute;
    right: 59px;
    top: 28px;
}

    /* Links inside the dropdown */
    .image-gallery-resolution-dropdown-content a {
        font-size: 11px;
        font-family: Arial,Helvetica,sans-serif;
        color: #fff;
        padding: 2px 2px;
        text-decoration: none;
        display: block;
        text-align: center;
    }

        /* Change color of dropdown links on hover */
        .image-gallery-resolution-dropdown-content a:hover {
            background-color: #000;
        }

.image-gallery-aspect-ratio-dropdown-content {
    display: none;
    background-color: rgb(34, 34, 34);
    min-width: 46px;
    z-index: 3;
    position: absolute;
    right: 134px;
    top: 28px;
}

    /* Links inside the dropdown */
    .image-gallery-aspect-ratio-dropdown-content a {
        font-size: 11px;
        font-family: Arial,Helvetica,sans-serif;
        color: #fff;
        padding: 2px 2px;
        text-decoration: none;
        display: block;
        text-align: center;
    }

        /* Change color of dropdown links on hover */
        .image-gallery-aspect-ratio-dropdown-content a:hover {
            background-color: #000;
        }

/* Style the tab */
.tab {
    overflow: hidden;
    margin-top: 8px;
}

    /* Style the buttons that are used to open the tab content */
    .tab button {
        background-color: inherit;
        float: left;
        border: 1px solid #ccc;
        outline: none;
        cursor: pointer;
        padding: 6px 16px;
    }

        /* Change background color of buttons on hover */
        .tab button:hover {
            background-color: var(--color-primary);
        }

        /* Create an active/current tablink class */
        .tab button.active {
            background-color: var(--color-primary);
        }

        .tab button.tablinks {
            padding: 6px 0px;
            width: 32px;
        }

.input-group button.close-icon {
    right: 2.8em;
    height: 100%;
    vertical-align: central
}

    .input-group button.close-icon span {
        left: -1em;
        height: 100%;
        margin-top: 50%
    }

.highlight-row {
    min-height: 200px;
    width: 100%;
    padding: 0.5em;
    overflow-x: auto;
    overflow-y: hidden;
    margin-bottom: 20px;
    padding-bottom: 20px;
    padding: 10px;
    border-bottom: 0.5px solid #bbb;
}

    .highlight-row .content-item {
        border: none;
        min-width: 150px !important;
    }

    .highlight-row h2, .highlight-row h3 {
        padding: 10px;
        margin: 5px;
    }

.highlight-contents-row {
    position: relative;
    height: 100%;
    width: 100%;
    display: inline-flex;
    overflow-x: no-display;
    overflow-y: hidden;
}

    .highlight-contents-row .content-item {
        height: 100%;
        word-break: break-word;
        word-wrap: hyphenate;
        padding: 2px;
    }

        .highlight-contents-row .content-item a {
            color: #242424;
            font-weight: bolder;
        }

    .highlight-contents-row .content-item {
        color: var(--color-text-muted);
    }

        .highlight-contents-row .content-item .img-fluid {
            height: 100px;
        }

        .highlight-contents-row .content-item div {
            max-width: 14em;
        }

.highlight-header {
    width: 100%;
}

    .highlight-header div {
        width: auto;
        height: auto;
        display: inline-flex;
    }

    .highlight-header > div h3 {
        width: auto;
        color: var(--color-text-muted);
        line-height: 1.5em;
        padding: 0;
        margin: .1em;
        padding-bottom: 5px;
        margin-bottom: 5px;
    }

.highlight-pager {
    float: right;
    width: 5em;
    margin-top: 1em;
    min-width: 100px;
    height: auto;
    display: inline;
    z-index: 9999;
}

    .highlight-pager span.fa {
        margin-left: 10px;
        margin-right: 10px;
        padding: 4px 4px;
        margin-bottom: 0;
        font-size: 1rem;
        font-weight: 400;
        line-height: 1.25;
        color: #495057;
        text-align: center;
    }

        .highlight-pager span.fa:hover {
            cursor: pointer;
        }

/* Style the tab content */
.tabcontent {
    display: none;
    border-top: none;
}

section.homepage.disable-bgimage {
    background-image: none;
}

button.disabled:hover {
    background: none !important;
    color: var(--color-primary) !important;
    cursor: default;
}

.favorite {
    color: var(--color-primary);
}

.butt-download-wrap {
    text-align: right;
    margin-top: 4px;
    margin-bottom: 12px;
}

.butt-download-wrap-left {
    text-align: left;
    margin-top: 4px;
    margin-bottom: 12px;
}

@media (max-width: 767px) {
    .butt-download-wrap {
        text-align: left;
    }
}

.butt-download-margin {
    margin-left: 0px;
    margin-right: 0px;
    width: 97px !important;
}

.download-terms-area {
    height: 60vh;
    overflow-y: auto;
}

.download-terms-width {
    min-width: 70vw;
}

th.rotate, th.rotate45 {
    /* Something you can count on */
    height: 150px;
    /*white-space: nowrap;
    word-break:break-all;*/
    text-align: right;
    border-right: 1px solid #ccc;
}

    th.rotate > div {
        transform: translate(0em, 0em) rotate(270deg);
        width: 100px;
    }

    th.rotate45 > div {
        transform: translate(25px, 0px) rotate(315deg);
        width: 60px;
    }

    th.rotate > div > span {
    }

.csstransforms & th.rotate {
    height: 140px;
    white-space: nowrap;
}

th.rotate45 > div > span {
    border-bottom: 1px solid #ccc;
    padding: 5px 10px;
}

.csstransforms & th.rotate45 {
    height: 140px;
    white-space: nowrap;
}

td.cell-align-right {
    text-align: right;
}

.statistics tfoot tr td {
    font-weight: bold;
    border-top: 1px solid var(--color-primary);
}

    .statistics tfoot tr td:first-child {
        vertical-align: middle;
        font-weight: normal;
        color: var(--color-primary);
    }

.menu-side a.link.icon-statistics:before {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-image: url(../images/progress-report.svg);
}

.map {
    height: 100%;
    width: 100%;
    position: fixed;
}

.gps-coordinates-area {
    height: 60vh;
}

.gps-coordinates-width {
    min-width: 70vw;
}

.input-label {
    color: rgb(73, 80, 87) !important;
    font-family: var(--font-body);
    font-size: 16px !important;
    padding: 6px 12px 6px 0px;
    margin-bottom: 0px;
}

.popup-button, table .button {
    min-width: 70px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--color-primary);
    background: var(--color-primary);
    color: var(--color-text-on-primary);
    font-size: 14px;
    font-weight: 600;
    line-height: 21px;
    padding: 6px 12px;
    margin: 5px;
    outline: none;
    transition: .25s ease all;
    cursor: pointer;
    display: inline-block;
    text-align: center;
    font-family: var(--font-body);
}

pagination .button {
    min-width: 20px;
}

table .button {
    width: auto;
    padding-left: 15px;
    padding-right: 15px;
}

    .popup-button:hover, table .button:hover {
        color: var(--color-text-on-primary);
        text-decoration: none;
        background: var(--color-primary-hover);
    }

    table .button.white {
        background: var(--color-surface);
        color: var(--color-primary);
        border-color: var(--color-primary);
    }

        table .button.white:hover {
            background: var(--color-primary-hover);
            color: var(--color-text-on-primary);
        }

.table-responsive .table td {
    padding: 1px;
}

#gpsSaveButton {
    color: var(--color-text-on-primary);
}

#gpsCancelButton {
    color: var(--color-primary);
}

#gpsSaveButton:hover {
    color: var(--color-text-on-primary);
    text-decoration: none;
    background: var(--color-primary-hover);
}

#gpsCancelButton:hover {
    color: var(--color-text-on-primary);
}

#promptSubmitBtn {
    color: var(--color-text-on-primary);
}

#promptCancelBtn {
    color: var(--color-primary);
}

#promptSubmitBtn:hover {
    color: var(--color-text-on-primary);
    text-decoration: none;
    background: var(--color-primary-hover);
}

#promptCancelBtn:hover {
    color: var(--color-text-on-primary);
}

.multiselect-container label {
    width: 100%;
}

    .multiselect-container label:hover {
        background-color: rgb(240,240,240);
    }

.popup-button-div-center {
    text-align: center;
}

.navbar-nav hr {
    margin-top: 0.2em;
    margin-bottom: 0.2em;
}

.link-grey {
    color: var(--color-text-muted);
    text-decoration: underline;
}

.form-container-left {
    width: 390px;
}

.page-title h1, .main-title {
    text-transform: uppercase;
    font-size: 24px;
    margin-bottom: 30px;
    color: var(--color-text-muted);
}

.btn-line {
    min-width: 400px;
}

    .btn-line > .button:first-child {
        margin-left: 0px;
    }

.btn-line-no-min {
}

    .btn-line-no-min > .button:first-child {
        margin-left: 0px;
    }

@media (min-width: 768px) {
    .form-row .indent-if-wide {
        padding-left: 40px;
    }
}

.label-brown {
    color: var(--color-primary);
    font-weight: bold;
    margin-bottom: 0px;
}

.input-with-button-max-width {
    max-width: 440px;
}

.input-max-width {
    max-width: 480px;
}

.no-padding-left {
    padding-left: 0px !important;
}

.no-padding-right {
    padding-right: 0px !important;
}

.daterange-separator {
    line-height: 35px;
    padding: 0 15px;
}

    .daterange-separator:before {
        content: '-';
    }

.content-item-status {
    width: 20%; /*105px;*/
    vertical-align: top;
}

#contentItemArea {
    min-height: calc(100vh - 240px);
    overflow-y: auto;
    overflow-x: hidden;
    margin-bottom: 5px;
    padding-left: 15px;
    padding-right: 15px;
}

section.homepage .wrapper {
    width: 1440px;
}

.highlight-width {
    width: 140px;
    position: relative;
}

.content-icon-height {
    height: 29px;
}

.content-admin-icon {
    position: absolute;
    top: 29px;
    left: 52px;
    font-size: 34px;
    line-height: 1;
    pointer-events: none;
}

.content-length {
    position: absolute;
    left: 80px;
    bottom: 2px;
    background-color: white;
    color: var(--color-primary);
    padding: 3px;
    border-radius: .25em;
    font-weight: bold;
    border: 1px solid var(--color-primary);
    white-space: nowrap;
}

.highlight-width .content-length {
    left: 97px;
}

.img-box-margin {
    margin-right: 10px;
}

.padding-left-15 {
    padding-left: 15px;
}

.date-clear-btn, .date-clear-btn:hover, .date-clear-btn:active, .date-clear-btn:focus, .date-clear-btn:visited {
    border-style: solid;
    border-color: var(--color-border);
    border-width: 1px 0 1px 0;
}

    .date-clear-btn:hover {
        background: none;
        color: #6c757d;
    }

.datetimepicker-input {
    border-right: none !important;
}

.h3-ellipsis-compatible {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.page-title h4 {
    margin-bottom: 34px;
}

.form-container[class] h1 {
    margin: 0px 0px 15px 0px;
}

.password-error-item-color {
    color: var(--color-text-muted);
}

.password-error-title-color {
    color: var(--color-primary);
}

.no-href-link-color {
    color: var(--color-primary) !important;
}

    .no-href-link-color:hover {
        color: var(--color-text-on-primary) !important;
    }

section.header .logo:hover {
    color: #212529;
}

.no-decoration {
    text-decoration: none !important;
}

.globe-icon {
    background-repeat: no-repeat;
    background-image: url(../images/icon-globe.png);
    background-size: 20px 20px;
    background-position: right center;
    position: absolute;
    right: 3px;
    top: 0px;
    height: 33px;
    width: 23px;
    content: " ";
    display: block;
}

.globe-icon-image-description {
    background-repeat: no-repeat;
    background-image: url(../images/icon-globe.png);
    background-size: 20px 20px;
    background-position: right center;
    position: absolute;
    right: 15px;
    top: -4px;
    height: 33px;
    width: 23px;
    content: " ";
    display: block;
}

.multi-language-input-area {
    max-height: 55vh;
    overflow-y: auto;
    overflow-x: hidden;
}

.multi-language-input-width {
    min-width: 32vw;
}

.fa-globe-padding {
    padding-right: .375rem;
    padding-left: .375rem;
    padding-top: 1px;
    padding-bottom: 0;
}

.fa-globe-textarea-padding {
    padding-right: .375rem;
    padding-left: .375rem;
}

.link-color-black {
    color: #495057;
}

.form-control-after-checkbox {
    height: 33px !important;
}

.form-control-before-checkbox {
    margin-left: 1px;
    margin-top: 6px
}

.image-description-label-margin {
    margin-bottom: 13px !important;
    margin-top: 2px !important;
}

.folder-dotdotdot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 27px;
    height: 27px;
    border-radius: 6px;
    background-color: var(--color-primary);
    color: #ffffff;
    font-size: 14px;
    margin-right: 15px;
    flex: 0 0 15%;
    cursor: pointer;
}

.folder-dotdotdot.disabled,
a.disabled .folder-dotdotdot,
[disabled] .folder-dotdotdot,
[readonly] .folder-dotdotdot,
.folder-dotdotdot--inactive {
    background-color: #adb5bd;
    cursor: default;
}

.folder-dotdotdot-td {
    width: 28px;
    vertical-align: top;
}

.embedded-operations-td {
    text-align: right;
    height: 100px;
    vertical-align: middle;
}

.link-button, .link-button:visited, .link-button:hover {
    color: var(--color-primary);
    text-decoration: none;
}

    .link-button .fa {
        font-weight: bold;
    }

.wide-button {
    width: 300px;
}

.code {
    font-family: monospace;
    font-size: small;
}

.embedded-has-external-id {
    padding-top: 7px;
    text-align: center;
}

    .embedded-has-external-id i {
        font-size: 27px;
        margin-top: 5px;
    }

.parameter-back-button {
    margin-top: 26px;
    margin-bottom: 0px;
}

section.upload-type-selector .one-option.disabled {
    opacity: 0.2;
    filter: alpha(opacity=40); /* msie */
    background-color: #000;
    cursor: not-allowed;
}

.one-option.disabled .picwrapper label {
    cursor: not-allowed;
}

.picwrapper label:hover {
    cursor: pointer;
}

.checkbox-disabled {
    opacity: 0.2 !important;
    cursor: not-allowed;
}

.checkboxLabel-disabled {
    color: lightgrey !important;
}

#primaryAttraction {
    border: 2px solid red;
    padding-top: 12px;
    vertical-align: middle;
    text-align: center;
}

.primary-attraction .img-box {
    border: 2px solid red;
}

#playbackDevicesFrame {
    width: 100%;
    height: 82vh;
    border: none;
}

.menu-side a.fa-hamburger-icon {
    margin-left: -30px;
}

    .menu-side a.fa-hamburger-icon i {
        margin-right: 10px;
    }

.external-entity-label {
    color: rgb(73, 80, 87) !important;
    font-family: var(--font-body);
    font-size: 16px !important;
    padding: 6px 12px 6px 0px;
    margin-bottom: 0px;
    margin-left: 20px;
}

#entityRemoveYesButton {
    color: var(--color-text-on-primary);
}

#entityRemoveCancelButton {
    color: var(--color-primary);
}

#entityRemoveYesButton:hover {
    color: var(--color-text-on-primary);
    text-decoration: none;
    background: var(--color-primary-hover);
}

#entityRemoveCancelButton:hover {
    color: var(--color-text-on-primary);
}

.external-entity-add-area {
    height: 76vh;
    padding-bottom: 0rem;
}

.external-entity-add-width {
    min-width: 70vw;
}

#entityAddCloseButton {
    color: var(--color-primary);
}

    #entityAddCloseButton:hover {
        color: var(--color-text-on-primary);
    }

.href-disabled {
    color: var(--color-text-muted);
}

    .href-disabled:hover {
        color: var(--color-text-muted);
        text-decoration: none;
        cursor: default;
    }

/* Audio player layout change */
#audio-player-container {
    display: flex;
    justify-content: space-between;
}

#audio-index-image {
    width: 18%;
    object-fit: contain;
    object-position: bottom;
}

.audio-player {
    width: 80% !important;
    height: 150px !important;
    padding: 0 !important;
    background-color: #fff !important;
}

@media (max-width: 872px) {
    #audio-player-container {
        display: flex;
        justify-content: initial;
        flex-flow: column-reverse;
    }

    #audio-index-image {
        width: 100%;
        height: 350px;
    }

    .audio-player {
        width: 100% !important;
    }
}

.date-clear-btn {
    height: 33px !important;
}

.input-block .btn {
    line-height: 1.4 !important;
}

.input-group-text {
    height: 33px !important;
}

#externalEntityAddTable .entityAddLink {
    height: 21px;
    padding-top: 0px;
    margin: 0;
}

#externalEntityAddTable label {
    padding-top: 6px;
}

#externalEntityAddForm input, #externalEntityAddForm select {
    height: 33px !important;
}

input:not(type=checkbox), select {
    height: 33px !important;
}

    input.form-control, select.form-control {
        height: 33px;
    }

/* Override Bootstrap 4 default blue focus ring to match teal design tokens */
.form-control:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 0.2rem var(--color-primary-light);
}

.form-group-lg .form-control-static {
    min-height: 33px;
}

.tagsinput .tag {
    line-height: 1.2;
    margin-bottom: 0;
}

.tagsinput div {
    height: 18px;
}

    .tagsinput div.tags_clear {
        height: 0px;
    }

.input-group-append, .input-group-append-pwd {
    height: 33px;
}

/* multilingual textarea appended button height fix */
.input-group-textarea-append, .input-group-text.fa-globe-textarea-padding {
    height: initial !important;
}


.margin-top-36px {
    margin-top: 36px;
}

.contentitem-playlist-btn {
    width: 10%;
    vertical-align: top;
}

.content-status-comment {
    position: absolute;
    right: 0px;
    bottom: -28px;
    font-size: 16px;
    display: inline;
    font-weight: 100;
    color: #dc3545 !important;
}

.content-generativestatus-comment {
    position: absolute;
    right: 0px;
    bottom: -28px;
    font-size: 14px;
    display: inline;
    font-weight: 100;
    color: var(--color-primary) !important;
}

.modal-dialog.modal-dialog-wide {
    max-width: 600px !important;
}

.badge-primary {
    background-color: var(--color-primary) !important;
    color: var(--color-text-on-primary) !important;
}

/* =============================================================
   S2 — Global Navigation Shell
   ============================================================= */

/* =============================================================
   S2 — Navigation shell (Figma node 514:851)
   White header bar with three floating pills
   ============================================================= */

/* Outer header — white bar */
.nav-shell {
    background-color: var(--color-surface);
    position: sticky;
    top: 0;
    z-index: 1030;
    box-shadow: 0 2px 12px rgba(8, 101, 101, 0.10);
}

.nav-shell .navbar {
    padding-top: 0;
    padding-bottom: 0;
}

/* Inner flex row: left | centre | right, padded 20px on all sides */
.nav-shell__inner {
    display: flex;
    align-items: center;
    width: 100%;
    padding: var(--nav-shell-padding);
    gap: 16px;
    min-height: calc(var(--nav-shell-height) + 2 * var(--nav-shell-padding));
    flex-wrap: nowrap;
}

/* ----- LEFT: brand pill (teal pill containing white logo) ----- */
.nav-shell__brand {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    height: var(--nav-shell-height);
    padding: 0 20px;
    background-color: var(--color-nav-dark);
    border-radius: var(--radius-pill-lg);
    text-decoration: none !important;
}

.nav-shell__brand:hover,
.nav-shell__brand:focus {
    opacity: 0.9;
    text-decoration: none !important;
}

/* White logo image inside the teal pill */
.nav-shell__logo {
    display: block;
    height: 45px;
    width: auto;
    flex-shrink: 0;
}

/* Mobile toggler */
.nav-shell__toggler {
    border-color: rgba(8, 101, 101, 0.4);
    padding: 4px 8px;
    color: var(--color-nav-dark);
    margin-left: auto;
}

.nav-shell__toggler:focus {
    box-shadow: 0 0 0 2px rgba(8, 101, 101, 0.25);
    outline: none;
}

/* Teal hamburger lines — overrides Bootstrap's default rgba(0,0,0,0.5) SVG */
.nav-shell .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='%23086565' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ----- CENTRE: translucent-white nav pill ----- */
.nav-shell__centre {
    flex: 1 1 auto;
    display: flex;
    justify-content: center;
}

/* Outer pill wrapper — semi-transparent white over teal base (Figma 551:1219) */
.nav-shell__centre-pill {
    display: flex;
    align-items: center;
    height: var(--nav-shell-height);
    padding: 5px 8.5px;
    gap: 15px; /* Figma 551:1220: 15px gap between nav items */
    border-radius: var(--radius-pill-lg);
    /* Figma layered gradient: rgba(255,255,255,0.9) over rgb(74,207,178) → pale mint */
    background-color: #edfaf7; /* fallback: computed pale mint if gradient layers fail */
    background-image: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)),
                      linear-gradient(rgb(74, 207, 178), rgb(74, 207, 178));
    list-style: none;
    margin: 0;
    flex-wrap: nowrap;
    overflow: visible;
}

.nav-shell__centre-pill .nav-item {
    list-style: none;
}

/* Each nav link rendered as an inner pill: icon circle + label */
.nav-shell__centre-pill .nav-link {
    display: flex;
    align-items: center;
    gap: 7px; /* Figma 551:1225: 10px between icon circle and label */
    height: var(--nav-item-height);
    padding: 4px 20px 4px 4px;
    border-radius: var(--radius-pill-lg);
    background-color: rgba(255, 255, 255, 0.85); /* fallback if background-image CSS var fails */
    background-image: var(--color-nav-item-inactive);
    font-family: var(--font-sans);
    font-size: 14px; /* Figma 551:1224: 16px nav item label */
    font-weight: 400;
    color: #086565 !important; /* dark teal text on pale pill; explicit value in case var fails */
    white-space: nowrap;
    text-decoration: none;
    transition: background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

/* Icon circle — white circle containing the FA icon */
.nav-shell__nav-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: var(--nav-icon-size);
    height: var(--nav-icon-size);
    border-radius: 50%;
    background-color: var(--color-surface);
    color: var(--color-nav-teal);
    font-size: 14px;
    line-height: 1;
}

.nav-shell__centre-pill .nav-link:hover {
    /* Slightly more opaque version of the inactive gradient — keeps the teal base visible */
    background-image: linear-gradient(rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.92)),
                      linear-gradient(rgb(54, 202, 169), rgb(54, 202, 169));
    color: var(--color-nav-dark) !important;
    text-decoration: none;
}

/* Active item: teal base with 10% white overlay (Figma 551:1221) */
.nav-shell__centre-pill .nav-link.active {
    background-image: var(--color-nav-active);
    color: var(--color-text-nav-active) !important;
    font-weight: 400;
}

.nav-shell__centre-pill .nav-link.active .nav-shell__nav-icon {
    background-color: var(--color-surface);
    color: var(--color-nav-teal);
}

/* Suppress Bootstrap 4 auto-caret on centre-pill dropdown toggles —
   the design uses no caret decoration on these items */
.nav-shell__centre-pill .dropdown-toggle::after {
    display: none;
}

/* Centre-pill dropdown menus — teal-tinted card matching the right-panel user dropdown aesthetic */
.nav-shell__centre-pill .dropdown-menu {
    top: calc(100% + 8px);
    left: 0;
    min-width: 200px;
    padding: 12px;
    background-color: var(--color-nav-centre-bg); /* #edfaf7 */
    border: none;
    border-radius: 16px;
    box-shadow: 0px 4px 16px 0px rgba(0, 0, 0, 0.12);
    z-index: 1031;
}

/* Centre-pill dropdown items — pill shape, Figma inactive style */
.nav-shell__centre-pill .dropdown-menu .dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    border-radius: var(--radius-pill-lg);
    background: var(--color-nav-item-inactive);
    color: var(--color-nav-dark); /* #086565 */
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 400;
    white-space: nowrap;
    margin-bottom: 6px;
    transition: background 0.15s ease, color 0.15s ease;
}

.nav-shell__centre-pill .dropdown-menu .dropdown-item:last-child {
    margin-bottom: 0;
}

/* Hover/focus — solid teal, dark text */
.nav-shell__centre-pill .dropdown-menu .dropdown-item:hover,
.nav-shell__centre-pill .dropdown-menu .dropdown-item:focus {
    background: var(--color-nav-teal);
    color: var(--color-nav-dark);
    text-decoration: none;
    outline: none;
}

/* Override Bootstrap's .active state (keyboard navigation) inside centre-pill menus */
.nav-shell__centre-pill .dropdown-menu .dropdown-item.active,
.nav-shell__centre-pill .dropdown-menu .dropdown-item:active {
    background: var(--color-nav-active);
    color: var(--color-text-nav-active);
}

/* Dropright sub-menus inside centre-pill: match same card style */
.nav-shell__centre-pill .dropdown-menu .dropright > .dropdown-menu {
    top: 0;
    left: 100%;
    margin-left: 12px;
    border-radius: 16px;
    padding: 12px;
    background-color: var(--color-nav-centre-bg);
    border: none;
    box-shadow: 0px 4px 16px 0px rgba(0, 0, 0, 0.12);
}

/* Suppress Bootstrap's built-in dropright arrow — the dropdown-toggle::after is enough */
.nav-shell__centre-pill .dropdown-menu .dropright > .dropdown-toggle::after {
    display: inline-block; /* keep visible for dropright sub-menu indicator */
    color: var(--color-nav-dark);
    opacity: 0.6;
}

/* ----- RIGHT: dark-teal pill (search + avatar) ----- */
.nav-shell__right {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
    background-color: var(--color-nav-dark);
    height: var(--nav-shell-height);
    border-radius: var(--radius-pill-lg);
    padding: 7.5px;
}

/* Search form in right pill */
.nav-shell__search-form {
    display: flex;
    align-items: center;
    height: 100%;
}

/* Search input — light background inside dark pill */
.nav-shell__search-wrap {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
    background-color: var(--color-nav-search-bg);
    border-radius: var(--radius-pill-lg);
    overflow: hidden;
}

.nav-shell__search-wrap .search-input {
    height: 100%;
    width: 220px;
    font-size: 14px;
    background: transparent;
    border: none;
    outline: none;
    color: var(--color-text-dark);
    font-family: var(--font-sans);
    padding-left: 14px;
    padding-right: 36px; /* room for the search icon inside */
}

.nav-shell__search-wrap .search-input:focus {
    box-shadow: none;
    border: none;
}

/* Search submit icon — positioned inside the right edge of the input */
.nav-shell__search-wrap .search-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    padding: 0;
    color: var(--color-nav-dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    line-height: 1;
}

/* Clear (×) icon — hidden by default, shown when input has value */
.nav-shell__search-wrap .close-icon {
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    padding: 0;
    color: var(--color-nav-dark);
    cursor: pointer;
    display: none;
    align-items: center;
    line-height: 1;
}

.nav-shell__search-wrap .search-box:not(:placeholder-shown) ~ .close-icon,
.nav-shell__search-wrap .search-box:valid ~ .close-icon {
    display: flex;
}

@media (max-width: 1399.98px) {
    /* Reduce centre-pill item gap and font at XL and below to prevent overflow */
    .nav-shell__centre-pill {
        gap: 8px;
    }

    .nav-shell__centre-pill .nav-link {
        font-size: 14px;
        gap: 8px;
        padding: 4px 14px 4px 4px;
    }
}

@media (max-width: 1199.98px) {
    .nav-shell__search-wrap .search-input {
        width: 140px;
    }
}

@media (max-width: 991.98px) {
    .nav-shell__search-wrap .search-input {
        width: 100px;
    }
}

/* Notification icon wrapper */
.nav-shell__notification {
    display: flex;
    align-items: center;
    position: relative;
}

.nav-shell__notification .navbar-nav {
    flex-direction: row;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-shell__notification .nav-item {
    list-style: none;
}

/* Dropdown anchored below the bell icon, right-aligned */
.nav-shell__notification .dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    left: auto;
}

/* Bell icon — white to match the dark-teal pill */
.nav-shell__notification .nav-link,
.nav-shell__notification a.nav-link {
    color: #ffffff !important;
    background-color: var(--color-nav-user-btn-bg);
    border-radius: var(--radius-pill-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 10px;
    height: 40px;
}

.nav-shell__notification .nav-link:hover,
.nav-shell__notification a.nav-link:hover {
    color: #ffffff !important;
    background-color: rgba(255, 255, 255, 0.22);
    text-decoration: none;
}

/* Notification pill — open state (Bootstrap adds .show to parent .dropdown and/or toggle) */
.nav-shell__notification .dropdown.show .nav-link,
.nav-shell__notification .nav-link.show {
    background-color: #ffffff !important;
    color: var(--color-nav-dark) !important;
    text-decoration: none;
}

.nav-shell__notification .dropdown.show .nav-link i,
.nav-shell__notification .nav-link.show i {
    color: var(--color-nav-dark) !important;
}

/* User avatar / login partial wrapper */
.nav-shell__user {
    display: flex;
    align-items: center;
}

/* The _LoginPartial wraps everything in a <nav> — make it a flex container
   so it participates correctly in the right-pill flex row */
.nav-shell__user nav {
    display: flex;
    align-items: center;
}

/* Suppress any residual list bullet that the <ul>/<li> inside the <nav>
   might produce — belt-and-suspenders on top of Bootstrap's .navbar-nav reset */
.nav-shell__user ul,
.nav-shell__user li {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-shell__user .navbar-nav {
    flex-direction: row;
    align-items: center;
}

/* Avatar button styled as translucent pill inside dark-teal right pill */
.nav-shell__user .nav-link,
.nav-shell__user a.nav-link {
    color: #ffffff !important;
    background-color: var(--color-nav-user-btn-bg);
    border-radius: var(--radius-pill-lg);
    padding: 8px 10px;
    font-size: 14px;
    font-family: var(--font-sans);
    display: flex;
    align-items: center;
    gap: 6px;
    height: 40px;
}

/* Ensure username text and icon inside the nav-link are also solidly white */
.nav-shell__user .nav-link span,
.nav-shell__user .nav-link i,
.nav-shell__user a.nav-link span,
.nav-shell__user a.nav-link i {
    color: #ffffff !important;
}

.nav-shell__user .nav-link:hover,
.nav-shell__user a.nav-link:hover {
    color: #ffffff !important;
    background-color: rgba(255, 255, 255, 0.22);
    text-decoration: none;
}

/* Account pill — open state (Bootstrap adds .show to parent .dropdown and/or toggle) */
.nav-shell__user .dropdown.show .nav-link,
.nav-shell__user .nav-link.show {
    background-color: #ffffff !important;
    color: var(--color-nav-dark) !important;
    text-decoration: none;
}

.nav-shell__user .dropdown.show .nav-link span,
.nav-shell__user .dropdown.show .nav-link i,
.nav-shell__user .nav-link.show span,
.nav-shell__user .nav-link.show i {
    color: var(--color-nav-dark) !important;
}

/* Chevron icon inside nav pill toggles — rotates 180° when the dropdown is open */
.nav-shell__chevron {
    font-size: 10px;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.nav-shell__user .dropdown.show .nav-link .nav-shell__chevron,
.nav-shell__user .nav-link.show .nav-shell__chevron,
.nav-shell__notification .dropdown.show .nav-link .nav-shell__chevron,
.nav-shell__notification .nav-link.show .nav-shell__chevron {
    transform: rotate(180deg);
}

/* Suppress Bootstrap 4 auto-caret — nav-shell uses nav-shell__chevron instead */
.nav-shell__notification .dropdown-toggle::after,
.nav-shell__user .dropdown-toggle::after {
    display: none;
}

/* User avatar icon — inherits white from parent nav-link; size matches Figma */
.nav-shell__user .nav-link .nav-shell__user-icon {
    font-size: 16px;
    color: #ffffff !important;
    flex-shrink: 0;
}

/* Dropdown panel — Figma 410:3025: mint bg, 20px radius, 20px padding, subtle shadow */
.nav-shell__user .dropdown-menu {
    right: 0;
    left: auto;
    top: calc(100% + 6px);
    min-width: 220px;
    padding: 20px;
    background-color: var(--color-nav-centre-bg); /* #edfaf7 */
    border: none;
    border-radius: 20px;
    box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.1);
    /* display is intentionally omitted here — Bootstrap JS controls visibility
       via the .show class (display: none → display: block). */
}

/* When Bootstrap adds .show, render as flex column so pills stack correctly. */
.nav-shell__user .dropdown-menu.show {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0; /* spacing handled via margin-bottom on items */
}

/* Each dropdown row — pill shape, 38px tall, Figma 410:3030 inactive state */
.nav-shell__user .dropdown-menu .dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 38px;
    padding: 4px 20px 4px 4px;
    border-radius: 30px;
    background: var(--color-nav-item-inactive); /* rgba(255,255,255,0.79) over #36caa9 */
    color: var(--color-nav-dark); /* #086565 */
    font-size: 16px;
    font-family: var(--font-body);
    font-weight: 400;
    white-space: nowrap;
    margin-bottom: 15px;
    transition: background 0.15s ease, color 0.15s ease;
}

.nav-shell__user .dropdown-menu .dropdown-item:last-child {
    margin-bottom: 0;
}

/* Icon circle — white disc left of label, Figma 410:3027 */
.nav-shell__user .dropdown-menu .dropdown-item .nav-item-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #ffffff;
    color: var(--color-nav-teal); /* #36caa9 */
    font-size: 14px;
}

/* Hover / focus — solid teal pill, white icon circle, white text; Figma 410:3026 active item */
.nav-shell__user .dropdown-menu .dropdown-item:hover,
.nav-shell__user .dropdown-menu .dropdown-item:focus {
    background: var(--color-nav-teal); /* #36caa9 solid */
    color: var(--color-nav-dark);
    text-decoration: none;
    outline: none;
}

.nav-shell__user .dropdown-menu .dropdown-item:hover .nav-item-icon,
.nav-shell__user .dropdown-menu .dropdown-item:focus .nav-item-icon {
    background-color: #ffffff;
    color: var(--color-nav-teal);
}


/* Debug info (hidden visually, kept in DOM) */
.debug-info {
    display: none;
}

/* Mobile collapse */
@media (max-width: 767.98px) {
    .nav-shell__inner {
        flex-wrap: wrap;
        padding: 10px 12px;
        gap: 8px;
    }

    .nav-shell__toggler {
        display: flex;
    }

    .nav-shell .navbar-collapse {
        width: 100%;
        background-color: var(--color-surface-alt);
        border-radius: 0 0 var(--radius-md) var(--radius-md);
        padding: 10px;
        border-top: 1px solid var(--color-border-light);
    }

    .nav-shell__centre {
        justify-content: flex-start;
        width: 100%;
    }

    .nav-shell__centre-pill {
        flex-wrap: wrap;
        border-radius: var(--radius-md);
        height: auto;
        padding: 6px;
        gap: 6px;
        border: none;
        background: rgba(8, 101, 101, 0.06);
        overflow: visible;
    }

    .nav-shell__centre-pill .nav-link {
        font-size: 14px;
        padding: 6px 14px 6px 4px;
    }

    .nav-shell__right {
        width: 100%;
        border-radius: var(--radius-md);
        flex-wrap: wrap;
        height: auto;
        padding: 8px;
        gap: 8px;
    }

    .nav-shell__search-form {
        width: 100%;
    }

    .nav-shell__search-wrap {
        width: 100%;
    }

    .nav-shell__search-wrap .search-input {
        width: 100%;
    }
}

/* =============================================================
   S2 — Footer pill (dark teal, Figma node 551:1447)
   ============================================================= */

/* Footer outer row — override legacy grey background and centred text-align */
.page-footer {
    background: transparent !important;
    text-align: left;
    height: 100px;
}

.page-footer--dark {
    background-color: transparent !important;
}

.page-footer--dark .wrapper {
    padding: var(--nav-shell-padding);
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
}

/* Dark teal pill containing footer links */
.page-footer__pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background-color: var(--color-nav-dark);
    border-radius: var(--radius-pill-lg);
    padding: 8.5px 10px;
    flex-wrap: wrap;
}

/* Each footer link — inner pill with translucent bg */
.page-footer__link {
    position: relative; /* positioning context for ::after icon overlay */
    display: flex;
    align-items: center;
    gap: 10px;
    height: var(--nav-item-height);
    padding: 4px 20px 4px 4px; /* 4px left so icon circle sits flush at left edge of pill */
    border-radius: var(--radius-pill-lg);
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff !important;
    font-family: var(--font-sans);
    font-size: 16px;
    font-weight: 400;
    white-space: nowrap;
    text-decoration: none;
    transition: background-color 0.15s ease, color 0.15s ease;
}

/* Icon circle — FA <i> tag is now the circle; suppress the old pseudo-element */
.page-footer__link::before {
    display: none;
}

/* Old PNG overlay — no longer used; FA <i> circle handles icon rendering */
.page-footer__link::after {
    display: none;
}

/* FA icon inside footer link — styled as the dark teal circle */
.page-footer__link i {
    display: inline-flex;
    flex-shrink: 0;
    align-self: center;
    align-items: center;
    justify-content: center;
    width: var(--nav-icon-size);
    height: var(--nav-icon-size);
    border-radius: 50%;
    background-color: var(--color-nav-dark);
    color: #ffffff;
    font-size: 13px;
}

.page-footer__link:hover,
.page-footer__link:focus {
    color: #ffffff !important;
    background-color: rgba(255, 255, 255, 0.18);
    text-decoration: none;
}

/* Icon image overrides per icon type */
.page-footer__link.icon-document::after {
    background-image: url("../images/icon-document.png");
    background-size: 55%;
}

.page-footer__link.icon-data::after {
    background-image: url("../images/icon-lock.png");
    background-size: 50%;
}

.page-footer__link.icon-mail::after {
    background-image: url("../images/icon-mail.png");
    background-size: 55%;
}

.page-footer__link.icon-help::after {
    background-image: url("../images/icon-i.png");
    background-size: 55%;
}

/* Version/copyright text beside footer pill */
.page-footer__version {
    font-family: var(--font-sans);
    font-size: 12.8px;
    font-weight: 300;
    color: var(--color-nav-dark);
    white-space: nowrap;
    flex-shrink: 0;
}

/* Override old footer link colour when dark modifier is active */
.page-footer--dark .wrapper a {
    color: rgba(255, 255, 255, 0.9) !important;
}

@media (max-width: 991.98px) {
    .page-footer__pill {
        border-radius: var(--radius-md);
        flex-wrap: wrap;
    }

    .page-footer--dark .wrapper {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }

    .page-footer__version {
        font-size: 11px;
    }
}

/* =============================================================
   S2 — Profile sidenav (replaces #menuSide in Identity/Profile)
   ============================================================= */

.profile-sidenav {
    padding: 24px 12px;
}

.profile-sidenav__nav {
    background-color: var(--color-nav-centre-bg);
    border-radius: var(--radius-pill-lg);
    padding: 30px;
    margin-top: 80px;
}

.profile-sidenav__nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.profile-sidenav__nav li:last-child a.link {
    margin-bottom: 0;
}

.profile-sidenav__nav a.link {
    display: flex;
    align-items: center;
    height: var(--nav-item-height);
    padding: 4px 20px 4px 12px;
    border-radius: var(--radius-pill-lg);
    background-image: var(--color-nav-item-inactive);
    color: var(--color-nav-dark);
    font-size: 14px;
    font-weight: 400;
    line-height: 1;
    margin-bottom: 10px;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease;
}

.profile-sidenav__nav a.link:hover {
    background-image: linear-gradient(rgba(255,255,255,0.92), rgba(255,255,255,0.92)), linear-gradient(rgb(54,202,169), rgb(54,202,169));
    color: var(--color-nav-dark);
    text-decoration: none;
}

.profile-sidenav__nav a.link.active {
    background-image: var(--color-nav-active);
    color: var(--color-text-nav-active);
    font-weight: 600;
}

.profile-content {
    padding: 24px 20px;
}

@media (max-width: 767.98px) {
    .profile-sidenav {
        padding: 12px;
    }

    .profile-sidenav__nav a.link {
        font-size: 13px;
        height: auto;
        padding: 8px 14px;
    }

    .profile-content {
        padding: 16px 12px;
    }
}

/* =============================================================
   S2 — Content section (no legacy wrapper)
   ============================================================= */

/* Keep min-height calculation accurate: header ~95px (55px pill + 2×20px padding) + footer ~95px (38px pill + 2×20px padding + 20px margin) */
.content {
    min-height: calc(100vh - 220px); /* 95px header + 125px footer row */
}

/* =============================================================
   S3 — Admin Area sidebar (Content + Settings)
   ============================================================= */

.admin-sidenav {
    background-color: var(--color-surface-alt);
    min-height: calc(100vh - 220px);
    padding: 24px 0;
    border-right: 1px solid var(--color-border-light);
}

.admin-sidenav__nav {
    padding: 0;
}

.admin-sidenav__nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.admin-sidenav__nav a.link {
    display: block;
    color: var(--color-text-body);
    padding: 8px 15px 6px 24px;
    cursor: pointer;
    border-left: 3px solid transparent;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease;
    text-decoration: none;
}

.admin-sidenav__nav a.link:hover {
    text-decoration: none;
    background-color: var(--color-primary-light);
    color: var(--color-primary);
    border-left-color: var(--color-primary);
}

.admin-sidenav__nav a.link.active {
    background-color: var(--color-primary-light);
    color: var(--color-primary);
    border-left-color: var(--color-primary);
    font-weight: 600;
}

.admin-sidenav__nav ul ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.admin-sidenav__nav a.link.level-2 {
    padding-left: 40px;
    font-size: 0.875rem;
}

.admin-content {
    padding: 24px 20px;
    background-color: var(--color-surface);
}

@media (max-width: 767.98px) {
    .admin-sidenav {
        min-height: auto;
        padding: 12px 0;
        border-right: none;
        border-bottom: 1px solid var(--color-border-light);
    }

    .admin-content {
        padding: 16px 12px;
    }
}

/* .menu-side base rule in design.css hides the element off-screen via
   margin-left: calc(-1 * var(--sidebar-width)) for the sliding-drawer pattern.
   Inside .admin-sidenav the sidebar is always-visible (static Bootstrap column),
   so override the off-screen margin and float here. */
.admin-sidenav .menu-side {
    margin-left: 0;
    float: none;
    width: 100%;
    padding: 0;
    box-shadow: none;
}

/* =============================================================
   S4 — Admin Content Right Menu panels (_RightMenu, _ContentRightMenu)
   Figma node 142-2720
   ============================================================= */

/* Outer panel — mint background, rounded card */
/* min-width ensures long metadata labels (e.g. "Létrehozás időpontja: ...") fit on one line;
   Figma node 142-2730 shows pill rows at 366px + 30px padding each side = ~426px */
.rm-panel {
    background-color: #edfaf7;
    border-radius: 20px;
    padding: 30px;
    color: var(--color-text-muted);
    min-width: 430px;
}

/* Actionbox — remove legacy table-based structure overhead */
.rm-actionbox {
    margin-bottom: 0;
}

/* "Műveletek" / operations dropdown trigger — teal pill with dark-teal chevron badge */
.rm-pill-btn {
    display: inline-flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between;
    min-width: 170px;
    padding: 8px 8px 8px 15px;
    background-color: var(--color-nav-teal);  /* #36caa9 */
    color: var(--color-text-on-primary) !important;
    border-radius: var(--radius-pill);
    font-family: var(--font-sans);
    font-size: 18px;
    font-weight: 600;
    text-decoration: none !important;
    letter-spacing: 0;
    text-transform: none !important;
    gap: 10px;
    border: 1px solid var(--color-nav-teal);
    transition: background-color 0.15s ease;
}

.rm-pill-btn:hover,
.rm-pill-btn:focus {
    background-color: var(--color-nav-dark);
    border-color: var(--color-nav-dark);
    color: var(--color-text-on-primary) !important;
    text-decoration: none !important;
}

.rm-pill-btn.disabled {
    background-color: #cfcfcf !important;
    border-color: #cfcfcf !important;
    cursor: default;
}

.rm-pill-btn__label {
    flex: 1 1 auto;
    flex-shrink: 0;
    white-space: nowrap;
}

/* Chevron badge — small dark-teal pill on right side (Figma 142-2724: 24px wide, px-7 py-9, radius 300px) */
.rm-pill-btn__chevron {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    min-height: 23px;
    padding: 9px 7px;
    background-color: var(--color-nav-dark);  /* #086565 */
    border-radius: 300px;
    flex-shrink: 0;
    overflow: hidden;
    box-sizing: border-box;
    transition: transform 0.2s ease;
}

/* CSS border-triangle chevron icon inside the badge (Figma 142-2725) */
.rm-pill-btn__chevron-icon {
    display: block;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #ffffff;
    flex-shrink: 0;
}

/* Open state: white background, dark-teal text; chevron rotates + switches to teal (Figma 410-3025) */
.rm-actionbox .dropdown.show .rm-pill-btn {
    background-color: #ffffff;
    border-color: #ffffff;
    color: var(--color-nav-dark) !important;  /* #086565 */
}

.rm-actionbox .dropdown.show .rm-pill-btn:hover,
.rm-actionbox .dropdown.show .rm-pill-btn:focus {
    background-color: #ffffff;
    border-color: var(--color-nav-teal);
    color: var(--color-nav-dark) !important;
}

.rm-actionbox .dropdown.show .rm-pill-btn .rm-pill-btn__chevron {
    background-color: var(--color-nav-teal);  /* #36caa9 */
    transform: rotate(180deg);
}

/* Suppress Bootstrap's default caret — rm-pill-btn__chevron is used instead */
.rm-pill-btn::after {
    display: none !important;
}

/* ── Műveletek dropdown menu — Figma 410:3025 ──────────────────────────────
   Container: mint bg (#edfaf7 = --color-nav-centre-bg), 20px radius, 20px
   padding, 4px×20px shadow. Items are pill-shaped rows (38px tall, 30px pill
   radius) mirroring the nav-shell user-menu pattern from the same Figma frame.
   All rules are scoped to .rm-actionbox to avoid affecting other dropdowns.
   ─────────────────────────────────────────────────────────────────────────── */

/* Container */
.rm-actionbox .dropdown-menu {
    background-color: var(--color-nav-centre-bg); /* #edfaf7 — Figma 410:3025 */
    border: none;
    border-radius: var(--radius-pill);            /* 20px — Figma rounded-[20px] */
    box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.1); /* Figma shadow */
    padding: 20px;
    min-width: 220px;
    display: none;
    flex-direction: column;
    gap: 15px;                                    /* Figma gap-[15px] between items */
}

.rm-actionbox .dropdown-menu.show {
    display: flex;
}

/* Each item — pill row, 38px tall, inactive tinted background */
.rm-actionbox .dropdown-item {
    display: flex;
    align-items: center;
    height: 38px;
    padding: 4px 1rem 4px 1rem;                   /* Figma pl-[1rem] pr-[1rem] py-[4px] */
    border-radius: var(--radius-pill-lg);         /* 30px — Figma rounded-[30px] */
    background: var(--color-nav-item-inactive);   /* rgba(255,255,255,0.79) over teal */
    font-family: 'Poppins', var(--font-body);     /* Figma Poppins:Regular */
    font-size: 16px;
    font-weight: 400;
    color: var(--color-nav-dark);                 /* #086565 — Figma text-[#086565] */
    white-space: nowrap;
    transition: background 0.15s ease, color 0.15s ease;
    margin-bottom: 0;                             /* gap handled by flex gap on container */
}

/* Hover / focus — solid teal pill; Figma 410:3026 active item */
.rm-actionbox .dropdown-item:hover,
.rm-actionbox .dropdown-item:focus {
    background: var(--color-nav-teal);            /* #36caa9 solid */
    color: var(--color-nav-dark);
    text-decoration: none;
    outline: none;
}

/* Active (Bootstrap .active class) — same as hover */
.rm-actionbox .dropdown-item.active,
.rm-actionbox .dropdown-item:active {
    background: var(--color-nav-teal);
    color: var(--color-nav-dark);
    text-decoration: none;
}

/* Divider — thin teal-tinted line */
.rm-actionbox .dropdown-divider {
    border-top: 1px solid var(--color-border);    /* --color-border: #C8DADB */
    margin: 0;                                    /* gap already provided by flex gap */
    align-self: stretch;
}

/* Metadata card sections */
.rm-metadatas {
    margin-top: 24px;
    font-size: 14px;
    max-width: 100%;
}

/* Section heading — bold dark text, no border */
.rm-section-title {
    font-family: var(--font-sans);
    font-size: 16px;
    font-weight: 700;
    color: var(--color-text-dark);
    padding-bottom: 6px;
    border-bottom: none;
    text-transform: none !important;
}

/* Container for the list of pill rows */
.rm-onemeta-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}

/* Each metadata row — white rounded pill */
.rm-onemeta {
    background-color: var(--color-surface);
    border-radius: var(--radius-pill);
    padding: 10px 15px;
    margin-top: 0 !important;  /* override legacy .metadatas .onemeta margin-top */
    line-height: 1.4;
}

/* Property label inside a pill row — dark teal, bold */
.rm-onemeta .property-name,
.rm-onemeta label.property-name {
    color: var(--color-nav-dark);  /* #086565 */
    font-weight: 700;
    font-family: var(--font-body);
    margin-bottom: 0;
}

/* Audit log link — teal, uppercase, matches Figma "ESEMÉNYNAPLÓ" */
.rm-audit-link,
.rm-audit-link:visited {
    color: var(--color-nav-teal);
    font-family: var(--font-sans);
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
}

.rm-audit-link:hover,
.rm-audit-link:focus {
    color: var(--color-nav-dark);
    text-decoration: none;
}

/* =============================================================
   S7 — Profile form page (Identity/Profile/Index)
   Figma node 286:1104
   ============================================================= */

/* Page title — Poppins Bold 32px, dark teal, centred */
.profile-form__title {
    font-family: var(--font-sans);
    font-size: 32px;
    font-weight: 700;
    color: var(--color-nav-dark);    /* #086565 */
    text-align: center;
    line-height: 40px;
    margin-bottom: 0;
}

/* Mint card — matches rm-panel colour, 20px radius, 60px padding (Figma 286:1108) */
.profile-form__card {
    --profile-card-padding: var(--nav-shell-padding);
    background-color: #edfaf7;
    border-radius: 20px;
    padding: 60px;
    margin-left: var(--profile-card-padding);
    margin-right: var(--profile-card-padding);
}

/* Field labels — Mulish SemiBold 16px, dark teal */
.profile-form__label {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    color: var(--color-nav-dark);    /* #086565 */
    margin-bottom: 8px;
    display: block;
}

/* Pill-shaped inputs — white, 30px radius (Figma 286:1112) */
.profile-form__input,
.profile-form__input.form-control,
.profile-form__input.form-control:disabled,
.profile-form__input.form-control[readonly] {
    background-color: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 30px;
    height: 40px;
    padding: 8px 15px;
    font-family: var(--font-body);
    font-size: 16px;
    color: rgba(8, 101, 101, 0.5);
    box-shadow: none;
    resize: none;
}

.profile-form__input:focus,
.profile-form__input.form-control:focus {
    background-color: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--color-nav-teal);
    box-shadow: none;
    color: var(--color-nav-dark);
    outline: none;
}

/* Textarea variant — taller but same pill radius */
.profile-form__input--textarea {
    height: auto;
    border-radius: 20px;
}

/* Email row — input + confirmation badge wrapped in same pill shell */
.profile-form__email-wrap {
    display: flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 30px;
    height: 40px;
    padding: 0 7px 0 0;
    overflow: hidden;
}

.profile-form__email-wrap .profile-form__input {
    flex: 1 1 auto;
    background: transparent;
    border: none;
    height: 100%;
    padding: 8px 10px 8px 15px;
    box-shadow: none;
}

/* Email confirmed badge — small circle, gradient teal border with white fill (Figma 286:1124) */
.profile-form__email-check {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 25px;
    height: 25px;
    border-radius: 300px;
    background: rgba(255, 255, 255, 0.75);
    border: 1.5px solid var(--color-nav-teal);   /* #36caa9 */
    flex-shrink: 0;
}

.profile-form__email-check .fa-check {
    font-size: 11px;
    color: var(--color-nav-teal);
}

/* Save button — dark teal solid pill (Figma 286:1143) */
.profile-form__btn-save {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 170px;
    padding: 16px 22px;
    background-color: var(--color-nav-dark);     /* #086565 */
    color: var(--color-text-on-primary);
    border: none;
    border-radius: 40px;
    font-family: var(--font-sans);
    font-size: 18px;
    font-weight: 600;
    line-height: 21px;
    text-align: center;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.15s ease;
}

.profile-form__btn-save:hover,
.profile-form__btn-save:focus {
    background-color: var(--color-primary-hover);  /* #146460 */
    color: var(--color-text-on-primary);
    text-decoration: none;
    outline: none;
}

/* Cancel button — teal outlined pill (Figma 286:1144) */
.profile-form__btn-cancel {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 170px;
    padding: 16px 22px;
    background: linear-gradient(90deg, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0.8) 100%),
                linear-gradient(90deg, rgb(225,247,242) 0%, rgb(225,247,242) 100%);
    color: var(--color-nav-teal);                /* #36caa9 */
    border: 1px solid var(--color-nav-teal);
    border-radius: 300px;
    font-family: var(--font-sans);
    font-size: 18px;
    font-weight: 600;
    line-height: 21px;
    text-align: center;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.profile-form__btn-cancel:hover,
.profile-form__btn-cancel:focus {
    color: var(--color-nav-dark);
    border-color: var(--color-nav-dark);
    text-decoration: none;
    outline: none;
}

/* Button row — centred, with gap between buttons */
.profile-form__btn-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

/* Password input-group wrapper — pill container with toggle */
.input-group:has(.profile-form__input.input-pw) {
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 30px;
    overflow: hidden;
}

.input-group:has(.profile-form__input.input-pw) .profile-form__input {
    border-radius: 0;
    background-color: transparent;
    border: none;
}

.input-group:has(.profile-form__input.input-pw) .input-group-append .input-group-text {
    border-radius: 0;
    border: none;
    background-color: transparent;
}

/* Password show/hide toggle — appended to Bootstrap input-group */
.profile-form__pw-toggle {
    background-color: transparent;
    border-left: none;
    cursor: pointer;
    padding: 0 10px;
    line-height: 1;
}

.profile-form__pw-toggle a,
.profile-form__pw-toggle a:visited {
    color: var(--color-nav-teal);
    text-decoration: none;
}

.profile-form__pw-toggle a:hover,
.profile-form__pw-toggle a:focus {
    color: var(--color-nav-dark);
}

/* Footer links — privacy / delete account */
.profile-form__footer-links {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 14px;
}

.profile-form__footer-links a,
.profile-form__footer-links a:visited {
    color: var(--color-nav-dark);
    text-decoration: underline;
}

.profile-form__footer-links a:hover,
.profile-form__footer-links a:focus {
    color: var(--color-primary-hover);
}

/* Downloader role link — small helper below roles field */
.profile-form__downloader-link {
    font-family: var(--font-body);
    font-size: 14px;
    margin-top: 6px;
    color: var(--color-nav-dark);
}

.profile-form__downloader-link a,
.profile-form__downloader-link a:visited {
    color: var(--color-nav-teal);
    text-decoration: none;
}

.profile-form__downloader-link a:hover,
.profile-form__downloader-link a:focus {
    color: var(--color-nav-dark);
    text-decoration: underline;
}

/* Email verification nudge link */
.profile-form__verify-link {
    font-family: var(--font-body);
    font-size: 14px;
    margin-top: 6px;
    color: var(--color-nav-teal);
    text-decoration: none;
}

.profile-form__verify-link:hover,
.profile-form__verify-link:focus {
    color: var(--color-nav-dark);
    text-decoration: underline;
}

/* Responsive — collapse card padding on small screens */
@media (max-width: 575.98px) {
    .profile-form__card {
        padding: 30px 20px;
    }

    .profile-form__btn-save,
    .profile-form__btn-cancel {
        min-width: 140px;
        padding: 12px 18px;
        font-size: 16px;
    }
}

/* =============================================================
   S8 — Admin Settings / Statistics area — design system update
   Figma node 286:1104 — same mint card + pill input pattern as
   the Profile page, applied to all admin CRUD and list views.
   ============================================================= */

/* Page-level heading — Poppins Bold, dark teal, centered */
.adm-page-title {
    font-family: var(--font-sans);
    font-size: 28px;
    font-weight: 700;
    color: var(--color-nav-dark);    /* #086565 */
    margin-bottom: 1.5rem;
}

/* Mint-green card wrapping form fields (Figma 286:1108) */
.adm-card {
    --adm-card-padding: var(--nav-shell-padding);
    background-color: #edfaf7;
    border-radius: 20px;
    padding: 40px 48px;
    margin-bottom: 1rem;
    margin-left: var(--adm-card-padding);
    margin-right: var(--adm-card-padding);
}

@media (max-width: 767.98px) {
    .adm-card {
        padding: 24px 20px;
    }
}

/* Field label — Mulish SemiBold 16px, dark teal #086565 (Figma node 142:2832) */
label.adm-label {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 18px;
    font-weight: 600;
    color: var(--color-nav-dark);
    margin-bottom: 6px;
    display: block;
}

/* Pill-shaped input — white, 30px border-radius */
.adm-input,
.adm-input.form-control,
.adm-input.form-control:disabled,
.adm-input.form-control[readonly] {
    background-color: rgba(255, 255, 255, 0.95);
    border: 1px solid transparent;
    border-radius: 30px;
    height: 38px;
    padding: 6px 15px;
    font-family: var(--font-body);
    font-size: 14px;
    color: rgba(8, 101, 101, 0.7);
    box-shadow: none;
}

.adm-input:focus,
.adm-input.form-control:focus {
    background-color: rgba(255, 255, 255, 0.95);
    border-color: var(--color-nav-teal);
    box-shadow: none;
    color: var(--color-nav-dark);
    outline: none;
}

/* Select / dropdown pill variant */
.adm-select,
.adm-select.form-control {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: rgba(255, 255, 255, 0.95);
    /* mint circle + teal chevron-down — matches Figma node 142:2924 */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='25' height='25' viewBox='0 0 25 25'%3E%3Ccircle cx='12.5' cy='12.5' r='12.5' fill='%23edfaf7'/%3E%3Cpath d='M8.5 10.75l4 4 4-4' stroke='%23086565' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 7px center;
    background-size: 25px 25px;
    border: 1px solid transparent;
    border-radius: 30px;
    height: 38px;
    padding: 4px 40px 4px 15px;
    font-family: var(--font-body);
    font-size: 14px;
    color: rgba(8, 101, 101, 0.7);
    box-shadow: none;
    cursor: pointer;
}

.adm-select:focus,
.adm-select.form-control:focus {
    border-color: var(--color-nav-teal);
    box-shadow: none;
    color: var(--color-nav-dark);
    outline: none;
}

/* Textarea inside admin card */
.adm-textarea,
.adm-textarea.form-control {
    background-color: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(8, 101, 101, 0.3);
    border-radius: 16px;
    padding: 8px 15px;
    font-family: var(--font-body);
    font-size: 14px;
    color: rgba(8, 101, 101, 0.7);
    box-shadow: none;
    resize: vertical;
}

.adm-textarea:focus,
.adm-textarea.form-control:focus {
    border-color: var(--color-nav-teal);
    box-shadow: none;
    color: var(--color-nav-dark);
    outline: none;
}

/* Multiselect pill wrapper — admin form (Figma node 142:2924)
   Wraps the bootstrap-multiselect widget to apply the same pill design
   used by .sf-field in the search panel. */
.adm-multiselect .btn-group {
    width: 100%;
    display: block;
}

.adm-multiselect .btn-group > .multiselect.btn,
.adm-multiselect button.multiselect {
    display: block;
    width: 100%;
    height: 38px;
    background: rgba(255, 255, 255, 0.95) !important;
    border: 1px solid transparent !important;
    border-radius: 300px !important;
    padding: 0 40px 0 15px;
    font-family: var(--font-body);
    font-size: 14px;
    color: rgba(8, 101, 101, 0.7) !important;
    text-align: left;
    box-shadow: none !important;
    /* mint circle + teal chevron — matches Figma node 142:2924 */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='25' height='25' viewBox='0 0 25 25'%3E%3Ccircle cx='12.5' cy='12.5' r='12.5' fill='%23edfaf7'/%3E%3Cpath d='M8.5 10.75l4 4 4-4' stroke='%23086565' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 7px center !important;
}

.adm-multiselect button.multiselect .caret {
    display: none;
}

/* Suppress Bootstrap 4 ::after caret — SVG chevron is used instead */
.adm-multiselect button.multiselect.dropdown-toggle::after {
    display: none !important;
}

/* Chevron flips to point up when the dropdown is open */
.adm-multiselect .btn-group.open button.multiselect,
.adm-multiselect .btn-group.open .multiselect.btn {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='25' height='25' viewBox='0 0 25 25'%3E%3Ccircle cx='12.5' cy='12.5' r='12.5' fill='%23edfaf7'/%3E%3Cpath d='M16.5 14.25l-4-4-4 4' stroke='%23086565' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
}

.adm-multiselect button.multiselect:hover,
.adm-multiselect button.multiselect:focus {
    background-color: rgba(255, 255, 255, 0.95) !important;
    border-color: var(--color-nav-teal) !important;
    color: var(--color-nav-dark) !important;
    box-shadow: 0 0 0 2px rgba(54, 202, 169, 0.25) !important;
}

.adm-multiselect .multiselect-container.dropdown-menu {
    width: 100%;
    border-radius: 12px;
    border: 1px solid var(--color-border, #e0e0e0);
    margin-top: 4px;
    max-height: 42vh;
    overflow-y: auto;
}

/* Button row — centered, gaps */
.adm-btn-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 1rem;
}

/* Table inside admin card */
.adm-table {
    width: 100%;
    border-collapse: collapse;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--color-text-body);
    background-color: #ffffff;
    border-radius: 12px;
    overflow: hidden;
}

.adm-table thead th {
    background-color: #edfaf7;
    color: var(--color-nav-dark);
    font-weight: 600;
    padding: 10px 14px;
    border-bottom: 2px solid rgba(8, 101, 101, 0.15);
    white-space: nowrap;
}

.adm-table thead th a {
    color: var(--color-nav-dark);
    text-decoration: none;
}

.adm-table thead th a:hover {
    color: var(--color-nav-teal);
    text-decoration: none;
}

.adm-table tbody tr:nth-child(even) {
    background-color: rgba(237, 250, 247, 0.4);
}

.adm-table tbody td {
    padding: 8px 14px;
    border-bottom: 1px solid rgba(8, 101, 101, 0.08);
    vertical-align: middle;
}

/* Modal card styling */
.adm-modal .modal-content {
    border-radius: 16px;
    border: none;
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.adm-modal .modal-header {
    background-color: #edfaf7;
    border-bottom: 1px solid rgba(8, 101, 101, 0.15);
}

.adm-modal .modal-title {
    font-family: var(--font-sans);
    font-weight: 600;
    color: var(--color-nav-dark);
}

.adm-modal .modal-footer {
    border-top: 1px solid rgba(8, 101, 101, 0.1);
    background-color: #ffffff;
}

/* Search input-group pill wrapper */
.adm-search-wrap {
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 30px;
    overflow: hidden;
    display: flex;
    align-items: center;
    position: relative;
}

.adm-search-wrap .form-control {
    border-radius: 0;
    border: none;
    background: transparent;
    box-shadow: none;
    height: 38px;
    padding-right: 64px;
}

.adm-search-wrap .adm-input {
    border-radius: 30px 0 0 30px;
}

.adm-search-wrap .input-group-append .input-group-text {
    border: none;
    border-radius: 0;
    background: transparent;
    cursor: pointer;
    color: var(--color-nav-dark);
    height: 38px;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
}

.adm-search-wrap .close-icon {
    position: absolute;
    top: 50%;
    right: 34px;
    transform: translateY(-50%);
    z-index: 2;
    width: 20px;
    height: 20px;
    border: none;
    background: transparent;
    padding: 0;
    margin: 0;
    display: none;
}

.adm-search-wrap .close-icon span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.adm-search-wrap .input-group-append {
    margin-left: auto;
}

.adm-search-wrap #search-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
}

/* Teal icon utility — used for action/sort icons in admin tables */
.adm-icon-teal {
    color: var(--color-nav-dark);
}

/* Static info pages (Adatvédelem, Sütikezelés, Kapcsolat, Impresszum) */
section.homepage.static-info-page {
    background: #fff;
    color: #000;
}

section.homepage.static-info-page h1,
section.homepage.static-info-page h2,
section.homepage.static-info-page h3 {
    color: var(--color-primary);
}

section.homepage.static-info-page p,
section.homepage.static-info-page li,
section.homepage.static-info-page dt,
section.homepage.static-info-page dd {
    color: #000;
}

section.homepage.static-info-page a {
    color: var(--color-primary);
}

section.homepage.static-info-page a:hover {
    color: var(--color-primary-hover);
}
