:root {
    --dark-primary: rgba(0, 0, 0, 0.85);
    --dark-secondary: rgb(39, 39, 39);
    --dark-tertiary: rgba(0, 0, 0, 0.4);
    --light-primary: #fff;
    --blue-light: #0ea8ff;
    --blue-secondary: #007bff;
    --blue-tertiary: rgba(5, 105, 255, 0.31);
    --text-primary: #b8c7ce;

    --black: #000000;
    --blue-100: #cee5ff;
    --blue-200: #b3d7ff;
    --blue-500: #0f66e6;
    --blue-600: #0a58ca;
    --blue-650: #004bad;
    --blue-700: #084298;
    --blue-800: #052c65;
    --blue-900: #031633;
    --gray-100: rgba(233, 236, 239, 0.89);
    --gray-200: #e9ecef;
    --gray-300: #dadada;
    --gray-400: #e0e0e0;
    --gray-500: #adb5bd;
    --gray-600: #6c757d;
    --gray-700: #616060;
    --red-500: #dc3545;
    --red-600: #c52937;
    --success: #198754;
    --yellow-500: #ffc107;

    --box-background: #fff;
    --box-shadow: 2px 2px 10px #eee;

    --font-primary: 'Montserrat';
    --font-primary-light: #fff;
    --font-size-md: 1.2rem;

    --table-border-color-header: inset -0.5px 0 0 rgb(255, 255, 255);
    --table-border-color-body: inset -0.5px 0 0 rgb(218, 218, 218);
    --table-container-shadow: 1px 1px 4px rgba(0, 0, 0, 0.1);
    --table-border-shadow: rgba(0, 0, 0, 0.1);
    --table-row-odd: rgba(234, 234, 234, 0.37);
    --table-row-even: #ffffff;
    --table-row-hover-odd: #e0eeff;
    --table-row-hover-even: #eaf4ff;
    --table-column-max-width: 163px;
    --table-column-max-width-2K: 9.4vw;
    --sidebar-and-margin-left: 220px;

    --layout-sidebar-bg: #06111f;
    --layout-sidebar-bg-soft: #0a1d3f;
    --layout-topbar-bg: #07111f;
    --layout-border: rgba(0, 212, 255, 0.16);
    --layout-hover: rgba(0, 212, 255, 0.10);
    --layout-active: rgba(0, 212, 255, 0.14);
    --layout-accent: #00d4ff;
    --layout-danger: #f43f5e;
    --layout-success: #22c55e;
    --layout-warning: #f59e0b;
    --layout-text: #cbd5e1;
    --layout-text-strong: #f8fafc;
    --layout-text-muted: #86a0bd;

    --z-sidebar: 1045;
    --z-top-menu: 1030;
    --z-sidebar-open: 1050;

    --scrollbar-track: #b4b4b4;
    --scrollbar-gradient-1: rgb(7, 80, 143);
    --scrollbar-gradient-2: rgb(8, 44, 117);
    --scrollbar-gradient-3: rgb(3, 4, 79);

}

/* Dark theme: chrome (sidebar/topbar) adopts the b.png navy palette.
   Light keeps the original layout colors. */
html[data-theme="dark"] {
    --layout-sidebar-bg: #090e18;
    --layout-sidebar-bg-soft: #141d30;
    --layout-topbar-bg: #090e18;

    --table-row-odd: #0e1828;
    --table-row-even: #141d30;
    --table-row-hover-odd: #1a2c49;
    --table-row-hover-even: #1f3457;
}

html[data-theme="dark"] .top-bar {
    background:
        linear-gradient(rgba(0, 212, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.035) 1px, transparent 1px),
        linear-gradient(135deg, #0a0f1a 0%, #141d30 54%, #0a0f1a 100%);
    background-size: 28px 28px, 28px 28px, 100% 100%;
}

body {
    font-size: .85rem;
    font-family: var(--font-primary), sans-serif;
    font-weight: 500;
}

.h-screen {
    height: 100dvh;
}

input,
select {
    cursor: pointer;
    transition: 0.7s ease-in-out;

    &:hover:not(.form-check-input) {
        background: rgba(122, 120, 120, 0.1);
    }
}

.buttonDefault {
    transition: background-color 0.7s ease-in-out;
    border: none;
    border-radius: 5px;
    font-weight: 700;

    &:hover {
        filter: brightness(0.9);
    }
}

.customButton {
    transition: background-color 0.7s ease-in-out;
    border: none;

    &:hover {
        background-color: var(--blue-800);
    }
}

button:disabled {
    pointer-events: none;
    opacity: 0.45;
}

label {
    font-weight: 600;
}

#contentContainer {
    min-height: calc(100dvh - 52px);
}

.hidden {
    display: none;
}

.contentCenter {
    min-height: calc(100dvh - 40px);
    display: flex;
    justify-content: center;
    align-items: center;
}

.formContainer input,
.formContainer select {
    border: 1px solid var(--gray-600);
    height: 2.7rem;
}

.attachmentButton {
    cursor: pointer !important;
    border: 1px solid transparent;
}

.formContainer {
    margin: 4rem auto;
}

#import_export_file_container.disabledCover,
#import_export_encode_container.disabledCover{
    opacity: .3;
    pointer-events: none;
}

@media (width > 800px) {
    .formContainer {
        border-radius: 5px;
        border: 1px solid var(--gray-600);
        box-shadow: var(--table-container-shadow), var(--table-container-shadow);
    }
}

@media (width > 1200px) {
    .formContainer {
        max-width: 95vw;
    }
}

@media (width > 1500px) {
    .formContainer {
        max-width: 1500px;
    }
}

@media (width < 691px) {
    .formContainer form .form-group{
        padding-right: 0 !important;
    }
}

@media (width < 538px) {
    .formContainer {
        margin: 0 auto;
    }

    #notifications{
        margin-top: 0;
    }

    .filterCover{
        flex-direction: column;
        align-items: center;
    }
}

/* ------------------------------

Info Icons

---------------------------------- */

.infoSpan {
    cursor: pointer;
}

.buttonsCover {
    display: flex;
    justify-content: end;
    margin-top: 2rem;
    gap: 2rem;
}

.buttonsCover button,
.buttonsCover a {
    font-weight: bold;
}

.contentBody {
    width: 100vw;
    overflow-x: hidden;
}

/*--------------------------
Top Bar
----------------------------- */
.top-bar {
    position: sticky;
    top: 0;
    z-index: var(--z-top-menu);
    display: flex;
    align-items: center;
    gap: 1rem;
    height: 52px;
    padding: 0 1.25rem;
    background:
        linear-gradient(rgba(0, 212, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.035) 1px, transparent 1px),
        linear-gradient(135deg, #07111f 0%, #0d2354 54%, #07111f 100%);
    background-size: 28px 28px, 28px 28px, 100% 100%;
    border-bottom: 1px solid rgba(0, 212, 255, 0.24);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 12px 32px rgba(2, 6, 23, 0.24);
    flex-shrink: 0;
}

.top-bar::before {
    position: absolute;
    inset: auto 0 0;
    height: 1px;
    content: "";
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.76), rgba(244, 63, 94, 0.42), transparent);
    pointer-events: none;
}

.top-bar__menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    flex: 0 0 2rem;
    margin: 0;
    color: rgba(232, 246, 255, 0.86);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 6px;
    background: rgba(0, 212, 255, 0.08);
    cursor: pointer;
    transition: background 120ms ease, color 120ms ease, border-color 120ms ease;
}

.top-bar__menu-toggle:hover,
.top-bar__menu-toggle:focus {
    color: #ffffff;
    border-color: rgba(0, 212, 255, 0.56);
    background: rgba(0, 212, 255, 0.14);
}

.top-bar__menu-toggle .bi {
    font-size: 1.15rem;
}

.top-bar__breadcrumb {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    min-width: 0;
    color: rgba(232, 246, 255, 0.58);
    font-size: 0.84rem;
    font-weight: 650;
    white-space: nowrap;
}

.top-bar__breadcrumb-link {
    display: inline-flex;
    align-items: center;
    gap: 0.38rem;
    min-width: 0;
    color: rgba(232, 246, 255, 0.66);
    text-decoration: none;
    transition: color 120ms ease;
}

.top-bar__breadcrumb-link:hover,
.top-bar__breadcrumb-link:focus {
    color: #ffffff;
}

.top-bar__breadcrumb-link .bi {
    font-size: 0.88rem;
}

.top-bar__breadcrumb-separator {
    flex-shrink: 0;
    color: rgba(0, 212, 255, 0.42);
    font-size: 0.78rem;
}

.top-bar__breadcrumb-section,
.top-bar__breadcrumb-current {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.top-bar__breadcrumb-section {
    color: rgba(232, 246, 255, 0.58);
}

.top-bar__breadcrumb-current {
    color: #e8f6ff;
}

.top-bar__end {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: auto;
    flex-shrink: 0;
}

.top-bar__lang-toggle {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.28rem 0.6rem;
    color: rgba(232, 246, 255, 0.78);
    background: rgba(2, 6, 23, 0.14);
    border: 1px solid rgba(0, 212, 255, 0.22);
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 120ms ease, color 120ms ease;
}

.top-bar__lang-toggle:hover,
.top-bar__lang-toggle:focus {
    background: rgba(0, 212, 255, 0.1);
    color: #fff;
}

.top-bar__lang .dropdown-menu {
    background: #07111f;
    border-color: rgba(0, 212, 255, 0.22);
    min-width: 9rem;
}

.top-bar__lang .dropdown-item {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.84rem;
}

.top-bar__lang .dropdown-item:hover,
.top-bar__lang .dropdown-item.active {
    background: rgba(0, 212, 255, 0.12);
    color: #fff;
}

.top-bar__account {
    position: relative;
}

.top-bar__account-toggle {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    min-width: 10rem;
    max-width: 15rem;
    min-height: 2.35rem;
    padding: 0.25rem 0.72rem 0.25rem 0.28rem;
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 212, 255, 0.26);
    border-radius: 8px;
    background: rgba(2, 6, 23, 0.34);
    cursor: pointer;
    transition: background 120ms ease, color 120ms ease, border-color 120ms ease, box-shadow 120ms ease;
}

.top-bar__account-toggle:hover,
.top-bar__account-toggle:focus,
.top-bar__account-toggle[aria-expanded="true"] {
    color: #fff;
    border-color: rgba(34, 211, 238, 0.54);
    background: rgba(0, 212, 255, 0.11);
    box-shadow: inset 0 0 0 1px rgba(0, 212, 255, 0.1), 0 0 22px rgba(0, 212, 255, 0.1);
    outline: none;
}

.top-bar__user-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.9rem;
    height: 1.9rem;
    border-radius: 50%;
    border: 1px solid rgba(0, 212, 255, 0.42);
    background:
        radial-gradient(circle at 35% 25%, rgba(0, 212, 255, 0.34), transparent 42%),
        linear-gradient(135deg, #07111f 0%, #0d2b62 100%);
    color: #ffffff;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-shadow: 0 1px 2px rgba(2, 6, 23, 0.8);
    flex-shrink: 0;
}

.top-bar__account-summary {
    display: flex;
    flex-direction: column;
    min-width: 0;
    line-height: 1.1;
    text-align: left;
}

.top-bar__account-name {
    overflow: hidden;
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 750;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.top-bar__account-meta {
    overflow: hidden;
    color: #8fdcf0;
    font-size: 0.63rem;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.top-bar__account-chevron {
    flex: 0 0 auto;
    margin-left: auto;
    color: #8aa4c4;
    font-size: 0.78rem;
    transition: transform 140ms ease;
}

.top-bar__account-toggle[aria-expanded="true"] .top-bar__account-chevron {
    transform: rotate(180deg);
}

.top-bar__account-status {
    position: absolute;
    right: 0.46rem;
    bottom: 0.24rem;
    width: 0.38rem;
    height: 0.38rem;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 2px var(--layout-topbar-bg);
}

.top-bar__account-menu {
    width: min(18rem, calc(100vw - 1.5rem));
    margin-top: 0.62rem;
    padding: 0;
    overflow: hidden;
    color: #00133a;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 18px 46px rgba(15, 23, 42, 0.22);
}

.top-bar__account-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    padding: 1rem 1rem 0.95rem;
    border-bottom: 1px solid #eef2f7;
}

.top-bar__account-card-copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
    line-height: 1.25;
}

.top-bar__account-card-name {
    overflow: hidden;
    color: #020617;
    font-size: 0.88rem;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.top-bar__account-card-email {
    overflow: hidden;
    margin-top: 0.1rem;
    color: #64748b;
    font-size: 0.72rem;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.top-bar__account-card-meta {
    overflow: hidden;
    margin-top: 0.32rem;
    color: #334155;
    font-size: 0.72rem;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.top-bar__account-item {
    display: grid;
    grid-template-columns: 1.2rem minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.55rem;
    min-height: 2.25rem;
    padding: 0.4rem 1rem;
    color: #00133a;
    font-size: 0.82rem;
    font-weight: 650;
    text-decoration: none;
    transition: background 120ms ease, color 120ms ease;
}

.top-bar__account-item:hover,
.top-bar__account-item:focus {
    color: #0f66e6;
    background: #eff6ff;
    outline: none;
}

.top-bar__account-item i {
    color: #0b2b57;
    font-size: 0.88rem;
}

.top-bar__account-item span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.top-bar__account-item kbd {
    min-width: 1.1rem;
    padding: 0.08rem 0.28rem;
    color: #64748b;
    border: 1px solid #dbe4ef;
    border-radius: 4px;
    background: #f8fafc;
    font-size: 0.62rem;
    font-weight: 700;
    box-shadow: none;
}

.top-bar__account-divider {
    height: 1px;
    margin: 0.72rem 0 0.38rem;
    background: #eef2f7;
}

.top-bar__account-item--danger {
    color: #dc2626;
}

.top-bar__account-item--danger i {
    color: #dc2626;
}

.top-bar__account-item--danger:hover,
.top-bar__account-item--danger:focus {
    color: #b91c1c;
    background: #fef2f2;
}

.top-bar__account-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    margin-top: 0.55rem;
    padding: 0.62rem 0.95rem;
    border-top: 1px solid #eef2f7;
    background: #f8fafc;
}

.top-bar__theme-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.22rem;
    padding: 0.18rem;
    border-radius: 7px;
    background: #edf2f7;
}

.top-bar__theme-option {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    height: 1.35rem;
    padding: 0 0.45rem;
    color: #334155;
    border: 0;
    border-radius: 5px;
    background: transparent;
    font-size: 0.64rem;
    font-weight: 800;
    cursor: pointer;
}

.top-bar__theme-option--active {
    color: #020617;
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.12);
}

.top-bar__account-version {
    color: #64748b;
    font-size: 0.64rem;
    font-weight: 700;
    white-space: nowrap;
}

/* Dark mode: account dropdown adopts surface tokens. */
html[data-theme="dark"] .top-bar__account-menu {
    color: var(--text);
    border-color: var(--border);
    background: var(--surface);
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.5);
}

html[data-theme="dark"] .top-bar__account-card {
    border-bottom-color: var(--border-subtle);
}

html[data-theme="dark"] .top-bar__account-card-name {
    color: var(--text);
}

html[data-theme="dark"] .top-bar__account-card-email {
    color: var(--text-muted);
}

html[data-theme="dark"] .top-bar__account-card-meta {
    color: var(--text-secondary);
}

html[data-theme="dark"] .top-bar__account-item {
    color: var(--text);
}

html[data-theme="dark"] .top-bar__account-item:hover,
html[data-theme="dark"] .top-bar__account-item:focus {
    color: #60a5fa;
    background: var(--control-surface-hover);
}

html[data-theme="dark"] .top-bar__account-item i {
    color: #93b4e3;
}

html[data-theme="dark"] .top-bar__account-item kbd {
    color: var(--text-muted);
    border-color: var(--border);
    background: var(--surface-sunken);
}

html[data-theme="dark"] .top-bar__account-divider {
    background: var(--border-subtle);
}

html[data-theme="dark"] .top-bar__account-item--danger,
html[data-theme="dark"] .top-bar__account-item--danger i {
    color: #f87171;
}

html[data-theme="dark"] .top-bar__account-item--danger:hover,
html[data-theme="dark"] .top-bar__account-item--danger:focus {
    color: #fca5a5;
    background: var(--danger-tint);
}

html[data-theme="dark"] .top-bar__account-footer {
    border-top-color: var(--border-subtle);
    background: var(--surface-sunken);
}

html[data-theme="dark"] .top-bar__theme-toggle {
    background: var(--surface-sunken);
}

html[data-theme="dark"] .top-bar__theme-option {
    color: var(--text-secondary);
}

html[data-theme="dark"] .top-bar__theme-option--active {
    color: var(--text);
    background: var(--control-surface-hover);
    box-shadow: none;
}

html[data-theme="dark"] .top-bar__account-version {
    color: var(--text-muted);
}

.top-bar__login {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.28rem 0.65rem;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 6px;
}

.top-bar__login:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

/* Legacy top menu template */
.topMenuContainer--cyber {
    min-height: 44px;
    z-index: var(--z-top-menu);
}

.topMenuCover--cyber {
    position: relative;
    width: auto;
    overflow: hidden;
    border: 1px solid rgba(0, 212, 255, 0.24);
    border-top: 0;
    border-right: 0;
    border-radius: 0 0 0 8px;
    background:
        linear-gradient(rgba(0, 212, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.035) 1px, transparent 1px),
        linear-gradient(135deg, #07111f 0%, #0d2354 58%, #07111f 100%);
    background-size: 28px 28px, 28px 28px, 100% 100%;
    box-shadow: 0 14px 34px rgba(2, 6, 23, 0.26);
}

.topMenuCover--cyber::after {
    position: absolute;
    inset: auto 0 0;
    height: 1px;
    content: "";
    background: linear-gradient(90deg, rgba(0, 212, 255, 0.72), rgba(244, 63, 94, 0.46), transparent);
}

.topMenuCover--cyber li {
    position: relative;
    z-index: 1;
}

.topMenuCover__link,
.topMenuCover__trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.34rem;
    color: rgba(232, 246, 255, 0.82);
    text-decoration: none;
    transition: color 140ms ease, background 140ms ease;
}

.topMenuCover__link:hover,
.topMenuCover__link:focus,
.topMenuCover__trigger:hover {
    color: #ffffff;
}

.topMenuCover__link--accent {
    color: #8fdcf0;
}

.topMenuCover__link--danger {
    color: #fda4af;
}

.topMenuCover__dropdown {
    border: 1px solid rgba(0, 212, 255, 0.22);
    background: #07111f;
    box-shadow: 0 18px 46px rgba(15, 23, 42, 0.28);
}

.topMenuCover__dropdown .dropdown-item:hover,
.topMenuCover__dropdown .dropdown-item:focus {
    background: rgba(0, 212, 255, 0.12);
    color: #ffffff;
}

@media (min-width: 992px) {
    .top-bar__menu-toggle {
        display: none;
    }
}

@media (max-width: 767px) {
    .top-bar__breadcrumb {
        gap: 0.34rem;
        font-size: 0.78rem;
    }

    .top-bar__breadcrumb-link span,
    .top-bar__breadcrumb-section {
        display: none;
    }

    .top-bar__account-toggle {
        min-width: auto;
        padding-right: 0.55rem;
    }

    .top-bar__account-summary {
        display: none;
    }

    .top-bar__account-chevron {
        display: none;
    }
}

@media (max-width: 991.98px) {
    .top-bar__menu-toggle {
        display: inline-flex;
    }

    .topMenuCover--cyber {
        width: 100%;
        border-left: 0;
        border-radius: 0;
    }
}

/*---------------------------

Detail

 -----------------------------*/

.detailBox {
    width: auto;
    max-width: 1200px;
    margin-top: 3rem;
    border-top: 3px solid var(--blue-600);
    border-bottom: 3px solid var(--blue-600);
    border-left: 3px solid var(--blue-800);
    border-right: 3px solid var(--blue-800);
    box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.2), 15px 15px 15px rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    padding: 1.5rem;
    background-color: var(--light-primary);
    overflow-x: hidden;
    & .d-flex .text-blue-800 {
        margin-right: 4rem;
    }

    & table {
        min-width: 500px;
    }

    & table td {
        padding-left: 1.5rem;
    }

    & .card table {
        min-width: 0;
    }

    & .card table td {
        word-break: break-word;
    }
}

.detailBox.detailBox__ThreatModelCatalog {
    max-width: 1800px;
}

/* -----------------------------

Modal

 ------------------------------ */

.modal-header, .modal-footer, .modal-content {
    border-radius: 0;
}

.modal-dialog {
    max-width: fit-content;
    min-width: 500px;
    margin-left: auto;
    margin-right: auto;

    & .modal-header {
        display: flex;
        justify-content: space-between;
    }

    & .modal-title h4 {
        margin-bottom: 0;
    }

    & .modal-body,
    .modal-body table {
        margin-bottom: 0;
    }

    & .modal-content {
        padding: 0 1rem;
    }

    & .btn-close {
        margin-left: 2rem;
    }

    & .modal-header {
        border-bottom: none;
    }

    & .modal-footer {
        border-top: none;
    }
}

.modal-body table tbody tr td{
    text-wrap: nowrap;
}

.warningDiv {
    font-size: 0.8rem;
    text-align: start;
    max-width: 570px;
    text-wrap: wrap;
    margin: 0.5rem auto 0;
}

/*---------------------------

Default

 -----------------------------*/

#roles label.form-check-label {
    display: none;
}

.showPassword {
    cursor: pointer;
}

form *[required] {
    border: 1px solid var(--dark-primary);
}

.form-control.disabled, .form-select.disabled {
    background-color: var(--bs-secondary-bg);
    opacity: 1;
}

.top-header {
    background: var(--light-primary);
}

/* ------------------------------

Pagination

---------------------------------- */

.pagination {
    display: flex;
    justify-content: center;
    margin-top: 1.5em;
}

#paginationLimit {
    list-style-type: none;
    gap: 1.5rem;
}

.pagination .active > .page-link {
    background-color: var(--blue-700);
}

form {
    padding-bottom: 1.5rem;
}

label.required {
    display: flex;
    align-items: center;
    align-content: center;
}

label.required::after {
    content: '*';
    font-weight: bold;
    color: var(--red-500);
    margin-left: 8px;
    margin-right: 8px;
    transform: scale(1.8);
    transform-origin: left center;
}

/* ------------------------

New role form fix, center

-------------------------- */
.roleTable {
    margin-bottom: 0;
}

.roleTable tr th {
    text-align: center;
    background: var(--blue-800);
    color: var(--light-primary);
    &:first-child{
        border-top-left-radius: 7px;
    }
    &:last-child{
        border-top-right-radius: 7px;
    }
}

.roleRow {
    .permissionHeader {
        text-align: center !important;
    }

    & td:first-child {
        & h6 {
            padding: 0.8rem 0 0 0;
        }
    }

    & td div {
        margin: .2rem 0 !important;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    /* Checkbox */

    & .form-check {
        padding: 0;
    }

    & .form-check-input {
        width: 20px;
        height: 20px;
        margin: 0;
        text-align: center;
    }

    & tr th:first-child,
    & td:first-child {
        max-width: 1rem;
    }

    &:last-child {
        border: transparent;
    }
}

.custom-tooltip .tooltip-inner {
    background-color: var(--dark-secondary);
    color: var(--light-primary);
    font-size: 1.2rem;
    padding: 10px;
    border-radius: 5px;
}

.custom-tooltip .tooltip-arrow {
    border-top-color: var(--dark-secondary);
}

/* --------------------------------

DatePicker

---------------------------------- */
#ui-datepicker-div {
    width: 100%;
    max-width: 245px;
    z-index: 10 !important;

    & .ui-datepicker-month {
        width: 65%;
    }

    & .ui-datepicker-year {
        width: 35%;
    }
}

.ui-datepicker-current {
    display: none; /* Skryje tlačítko "Dnes" */
}

.ui-datepicker-prev, .ui-datepicker-next {
    margin-top: 10px;
}

.ui-datepicker-prev {
    left: 10px; /* Pozice tlačítka předchozí */
}

.ui-datepicker-next {
    right: 10px; /* Pozice tlačítka další */
}

/* ----------------------------

    Alert Container

------------------------------ */

.alertCover {
    display: block;
    padding: 8px 0;
}

#alertCoverGoogleMaps{
    z-index: 0;
    padding: 0.45rem 0;
}

.fadeAlert {
    transition: opacity 1s ease-in-out;
}

.fadeAlert.showAlert {
    display: block;
    opacity: 1;
}

.fadeAlert:not(.showAlert) {
    display: none;
    opacity: 0;
}

#planned_task_days {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
    gap: 1rem;
}

/* ----------------------------

    Google map container

------------------------------ */

.googleMapContainer{
    height: 300px;
    width: 100%;
}

/* disabled Default google map error input overlay */
input.gm-err-autocomplete {
    background-image: none !important;
}

/* disabled Default google map error map overlay */
.gm-err-container,
.gm-err-container * {
    display: none !important;
}

.gm-style,
.gm-style * {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
}

.serviceFuelContainer{
    margin: 4rem auto 0 auto;
    display: block;
    width: fit-content;
    border-top: 3px solid var(--blue-600);
    border-bottom: 3px solid var(--blue-600);
    border-left: 3px solid var(--blue-800);
    border-right: 3px solid var(--blue-800);
    border-radius: 10px;
}

/* ----------------------------

        Checkbox

 ------------------------------- */

.form-check{
    display: flex;
    align-items: center;
    gap: .5rem;
}

.form-check > input {
    width: 20px;
    height: 20px;
    margin: 0;
    text-align: center;
}

.notificationTable {
    margin: 0 auto;
    max-width: 1920px;
    overflow-x: auto;
    -ms-overflow-style: auto;
}

.notificationTable th,
.notificationTable td {
    padding-left: .2rem;
    white-space: nowrap;
    vertical-align: middle;
    & a{
        text-decoration: none;
    }
}

.customCheckbox{
    padding:.5rem;
    border-radius:5px;
    background: rgb(188 188 188 / 14%);
    cursor:pointer;
    width:100%;
    display:flex;
    align-items:center;
    gap:.5rem;
    & label {
        cursor: pointer;
    }
}
