/* GENERAL */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Cal+Sans&family=Outfit:wght@100..900&family=Roboto:ital,wght@0,100..900;1,100..900&family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
    text-decoration: none;
}

:root {
    --light-blue: #6099b9;
    --color-white: #ffffff;
    --gray-blue: #f6f5f5;
    --midnight-navy: #002855;
    --gray-slate: #5c677d;
    --deep-blue: #001233;
    --navy-dark: #001745;
    --vivid-blue: #0366c8;
    --classic-navy: #023e7d;
    --steel-gray: #33415c;
    --cool-gray: #fdfcfc;
    --accent-blue: #639ebf;
    --accent-blue-dark: #3c708e;
    --accent-blue-dark-1: #4f89a8;
    --accent-blue-dark-2: #3c708e;
    --accent-blue-dark-3: #2b5875;
    --accent-blue-dark-4: #1d405b;
}

button {
    background: var(--accent-blue-dark-1);
    color: white;
    padding: 5px 10px;
    border-radius: 10px;
    border: 1px solid var(--classic-navy);
    transition: 0.5s;
    margin: 0 2px;
    cursor: pointer;
}

.table-type.version1 button {
    background: var(--accent-blue-dark-1);
    color: white;
    padding: 0.5px 6px;
    border-radius: 6px;
    border: 1px solid var(--classic-navy);
    transition: 0.5s;
    cursor: pointer;
}

.table-type.version1 button:hover,
button:hover {
    background: var(--cool-gray);
    color: var(--accent-blue-dark-4);
}

body {
    height: 100%;
    overflow: hidden;
    font-family: 'Cal Sans';
}

/* TOP NAVBAR AND LOGO */

.top-nav-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 50px;
    width: 100%;
    color: var(--accent-blue-dark-4);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    z-index: 1000;
    background: #ffffff71;
    backdrop-filter: blur(50px);
    -webkit-backdrop-filter: blur(50px);
    transition: transform 0.3s ease, opacity 0.3s ease;
    border-bottom: 1px solid #93c3de36;
}

.top-nav {
    width: 1500px;
    max-width: 1500px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: 'Cal Sans';
    position: relative;
    overflow: hidden;
    font-weight: bold;
    font-size: 17px;
    font-family: 'Outfit';
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
}

.logo::before {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.25) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-20deg);
}

.logo:hover {
    text-decoration: none;
}

.logo:hover::before {
    animation: shimmer 2s ease;
}

@keyframes shimmer {
    0% {
        left: -75%;
    }
    100% {
        left: 125%;
    }
}

.logo-text {
    display: flex;
    justify-items: left;
    align-items: center;
    margin-left: 5px;
    color: var(--light-blue);
}

@media (max-width: 750px) {
    .logo-text {
        display: none;
    }
}

.topnav-title {
    font-size: 16px;
    font-weight: bold;
}

/* SEARCH BAR */

.right-group {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    width: clamp(435px, 45vw, 500px);
    align-items: center;
}

.wrap {
    min-width: 0;
}

.searchbar {
    position: relative;
    width: 100%;
}

.pill {
    width: 100%;
    display: flex;
    align-items: center;
    height: 36px;
    background: #ffffff5b;
    border: 1px solid #dfe1e5;
    border-radius: 9999px;
    padding: 0 14px;
    overflow: hidden;
}

.pill:has(input:focus) {
    border-color: #c6dafc;
    box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.18), 0 1px 2px rgba(0, 0, 0, 0.06), 0 6px 18px rgba(0, 0, 0, 0.1);
}

.icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #9aa0a6;
    margin-right: 8px;
}

.pill input {
    flex: 1;
    min-width: 0;
    height: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    font-size: 15px;
    line-height: 1;
    margin: 0;
    color: #202124;
}

.pill input::placeholder {
    color: #9aa0a6;
}

input::-webkit-search-cancel-button {
    -webkit-appearance: none;
}

.clear-btn {
    display: none;
    width: 15px;
    height: 15px;
    border: 0;
    padding: 0;
    border-radius: 50%;
    background: #9aa0a6;
    color: #fff;
    cursor: pointer;
    margin-left: 8px;
    align-items: center;
    justify-content: center;
}

.clear-btn i {
    font-size: 12px;
    line-height: 1;
}

.clear-btn.visible {
    display: inline-flex;
}

.clear-btn:hover {
    background: #5f6368;
}

.clear-btn:focus-visible {
    outline: 2px solid #c6dafc;
    outline-offset: 2px;
}

.panel {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 8px);
    width: 100%;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    display: none;
    z-index: 50;
    overflow: hidden;
}

.panel.visible {
    display: block;
}

.list {
    max-height: 60vh;
    overflow: auto;
}

.row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    cursor: pointer;
    font-size: 14px;
}

.row:hover,
.row[aria-selected='true'] {
    background: #eaf1ff;
}

.row svg {
    width: 16px;
    height: 16px;
    color: #5f6368;
    flex: none;
}

.title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.toggle-btn {
    border: 0;
    background: transparent;
    padding: 8px;
    border-radius: 10px;
    color: #1f3d52;
}

.toggle-btn:hover {
    background: #f1f3f4;
}

/* MAIN */

.main-container {
    width: 100%;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    background: var(--cool-gray);
}

main {
    width: 1500px;
    max-width: 1500px;
    display: flex;
    justify-content: center;
}

/* CONTENT */

.content {
    flex: 1;
    padding: 0;
    height: 100vh;
    padding: 60px 0 0 20px;
    color: var(--accent-blue-dark);
    overflow-y: scroll;
    scrollbar-width: none;
}

.full-content {
    flex: 1;
    padding: 0;
    height: 100vh;
    padding: 60px 0 0 0;
    color: var(--accent-blue-dark);
    overflow-y: scroll;
    scrollbar-width: none;
}

.content::-webkit-scrollbar {
    display: none;
}

/* NAVBAR */

.navbar {
    padding: 0;
}

.navbar.desktop {
    top: 0;
    left: 0;
    bottom: 0;
    width: 250px;
    padding: 60px 20px 0 0;
    overflow-y: auto;
    border-right: 1px solid #639dbf20;
}

.navbar.mobile {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #f6fcff6d;
    backdrop-filter: blur(50px);
    -webkit-backdrop-filter: blur(50px);
    overflow: hidden;
    padding: 60px 10px 20px 10px;
    transform: scaleY(0);
    transform-origin: top;
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    z-index: 500;
}

/* BAR */

.bar-container {
    margin-bottom: 15px;
}

.bar {
    padding: 10px;
    background: #6098b931;
    border-top: 1px solid #6099b9;
    border-bottom: 1px solid #6099b9;
    font-family: 'Outfit';
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* MEMO */

.memo-container {
    margin-bottom: 15px;
}

.memo {
    padding: 10px;
    background: #6098b931;
    border-top: 1px solid #6099b9;
    border-bottom: 1px solid #6099b9;
    font-family: 'Outfit';
}

.memo table {
    width: 100%;
    border-collapse: collapse;
}

.memo table td {
    padding-bottom: 10px;
}

.memo table tr:last-child td {
    padding-bottom: 0;
}

.memo table .board-head {
    min-width: 200px;
}

.memo table .board-data {
    width: 100%;
    font-weight: bold;
}

/* BLANK-BOARD */

.blank-board {
    height: 600px;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Outfit';
}

/* STATUS */

.status-container {
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
}

.access-container {
    font-weight: bold;
    display: flex;
    justify-content: left;
    align-items: center;
}

.status {
    font-weight: 400;
    color: white;
}

.status.yes {
    background-color: green;
    padding: 1px 8px;
    border-radius: 15px;
}

.status.no {
    background-color: gray;
    padding: 1px 8px;
    border-radius: 15px;
}

.status.inprogress {
    color: orange;
}

.status.completed {
    color: green;
}

.status.online {
    color: green;
}

.status.active {
    color: var(--accent-blue-dark-4);
}

.status.inactive {
    color: var(--gray-slate);
}

.status.onboarding {
    color: orange;
}

.status.away {
    color: orange;
}

.status.offline {
    color: var(--gray-slate);
}

.status.impersonated {
    color: blue;
}

/* NAVBAR MENU */

.menu-container {
    background: var(--gray-blue);
    box-shadow: 0 5px 5px 0px rgba(0, 0, 0, 0.25);
    width: 100%;
    border: 1px solid #93c3de22;
    border-radius: 10px;
    margin-bottom: 10px;
    overflow: hidden;
}

.menu-container .menu {
    width: 100%;
    border-collapse: collapse;
    color: #16425b;
    font-size: 20px;
    font-family: 'Outfit';
}

.menu-container .menu tr {
    padding: 15px;
    border-bottom: 1px solid #93c3de22;
}

.menu-container .menu tr:last-child {
    padding: 15px;
    border-bottom: none;
}

.menu-item {
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.menu-item:hover {
    background-color: var(--light-blue);
    color: white;
}

.menu-container .menu td {
    padding: 15px;
}

.menu-container .menu .menu-icon-container {
    width: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.menu-container .menu .menu-name-container {
    width: 100%;
    font-weight: bold;
}

/* COUNTER BADGE */

.menu-icon-container {
    position: relative;
    overflow: visible;
}
.menu-icon {
    position: relative;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.badge {
    position: absolute;
    top: -8px;
    right: -8px;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: red;
    color: white;
    font: 700 12px/20px Arial, Helvetica, sans-serif;
    border: 2px solid #fff;
    z-index: 9999;
    pointer-events: none;
}

.hidden {
    display: none !important;
}

/* ABOUT */

.about-container {
    margin: 15px 0 15px 0;
}

.about {
    display: flex;
    background: var(--gray-blue);
    box-shadow: 0 5px 5px 0px rgba(0, 0, 0, 0.25);
    border-radius: 15px;
    overflow: hidden;
}

.about-menu-container {
    border-radius: 20px 0 0 20px;
    width: 350px;
    height: 100%;
    flex-shrink: 0;
}

.about-menu table {
    width: 100%;
    height: 100%;
    border-collapse: collapse;
}

.about-menu table td {
    padding: 20px 0;
    font-size: 20px;
    color: var(--accent-blue-dark-4);
}

.about-menu-icon {
    text-align: center;
    vertical-align: middle;
    width: 90px;
}

.about-menu-name {
    width: 75%;
}

.about-menu i {
    font-size: 16px;
}

.about-menu table tr {
    cursor: pointer;
    transition: background 0.3s;
}

.about-menu table tr:hover {
    background: var(--accent-blue-dark-1);
}

.about-menu table tr:hover td {
    color: var(--color-white);
}

.about-menu table tr.active {
    background: var(--accent-blue-dark-2);
}

.about-menu table tr.active td {
    color: var(--color-white);
}

.about-info-container {
    border-left: 1px solid #3c708e44;
    flex-grow: 1;
    padding: 20px;
    overflow-y: auto;
}

.about-info-inner {
    display: none;
}

.about-info-inner.active {
    display: block;
}

@media (max-width: 1200px) {
    .about {
        flex-direction: column;
    }

    .about-menu-container {
        width: 100%;
        height: 1000px;
        height: auto;
        border-right: none;
    }

    .about-info-container {
        border-left: none;
        border-top: 1px solid #3c708e44;
        width: 100%;
        height: auto;
    }

    .about-menu table {
        width: 100%;
        table-layout: fixed;
    }

    .about-menu table td {
        font-size: 18px;
    }

    .about-menu-icon {
        width: 90px;
        overflow: hidden;
        white-space: nowrap;
        text-align: center;
    }

    .about-menu-name {
        width: auto;
    }
}

.about-info-inner .data {
    border-collapse: collapse;
    width: 100%;
}

.about-info-inner .data td {
    padding-bottom: 10px;
}

.about-info-inner .data tr:last-child td {
    padding-bottom: 0;
}

.about-info-inner .data .data-name {
    width: 200px;
    color: var(--accent-blue-dark-3);
}

.about-info-inner .data .data-input {
    color: var(--accent-blue-dark-4);
}

.data-input .data-input-container {
    display: flex;
    justify-content: left;
    align-items: center;
}

.data-input .data-input-container input {
    font-family: 'Outfit';
    border: 1px solid #ccc;
    background: #f8f9fa;
    color: #212529;
    border-radius: 8px;
    padding: 8px 12px;
    width: 100%;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.data-input .data-input-container input:focus {
    border-color: #0056b3;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 88, 187, 0.25);
}

.data-input .data-input-container select {
    border: 1px solid #ccc;
    background: #f8f9fa;
    color: #212529;
    border-radius: 8px;
    padding: 8px 12px;
    width: 100%;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: border-color 0.2s, box-shadow 0.2s;
    appearance: none;
}

.data-input .data-input-container select:focus {
    border-color: #0056b3;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 88, 187, 0.25);
}

.data-input .data-input-container textarea {
    border: 1px solid #ccc;
    background: #f8f9fa;
    color: #212529;
    border-radius: 8px;
    padding: 8px 12px;
    width: 100%;
    resize: vertical;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: border-color 0.2s, box-shadow 0.2s;
    appearance: none;
}

.data-input .data-input-container textarea:focus {
    border-color: #0056b3;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 88, 187, 0.25);
}

/* CHOICES */

.about-info-inner .choices {
    border-collapse: collapse;
    width: 100%;
}

.about-info-inner .choices td {
    padding-bottom: 10px;
}

.about-info-inner .choices td:last-child {
    padding-right: 0;
}

.about-info-inner .choices tr:last-child td {
    padding-bottom: 0;
}

.about-info-inner .choices .choice-header {
    padding: 5px;
    background: #6098b931;
    border-top: 1px solid #6099b9;
    border-bottom: 1px solid #6099b9;
    font-family: 'Outfit';
    font-weight: bold;
}

.about-info-inner .choices .choice-name-container {
    width: 200px;
    color: var(--accent-blue-dark-3);
    display: flex;
}

.about-info-inner .choices .choice-name {
    padding-right: 10px;
}

.about-info-inner .choices .choice-button-container {
    padding-right: 20px;
}

.about-info-inner .choices .choice-button {
    display: flex;
    justify-content: right;
    align-items: center;
}

/* FILES */

.about-info-inner .files {
    border-collapse: collapse;
    width: 100%;
}

.about-info-inner .files td {
    padding-bottom: 10px;
}

.about-info-inner .files td:last-child {
    padding-right: 0;
}

.about-info-inner .files tr:last-child td {
    padding-bottom: 0;
}

.about-info-inner .files .files-header {
    padding: 5px;
    background: #6098b931;
    border-top: 1px solid #6099b9;
    border-bottom: 1px solid #6099b9;
    font-family: 'Outfit';
    font-weight: bold;
}

.about-info-inner .files .files-name-container {
    width: 200px;
    color: var(--accent-blue-dark-3);
    display: flex;
}

.about-info-inner .files .files-name {
    padding-right: 10px;
}

.about-info-inner .files .files-button-container {
    padding-right: 20px;
}

.about-info-inner .files .files-button {
    display: flex;
    justify-content: right;
    align-items: center;
}

.button-wrapper {
    display: flex;
    justify-content: right;
    align-items: center;
    width: 100%;
}

#ledger-table {
    width: 100%;
    margin: 10px 0;
    max-width: 1000px;
    border-radius: 10px;
    overflow: hidden;
}

/* TOOL-TIP */

.tooltip-container {
    position: relative;
    align-items: center;
    cursor: help;

    /* ellipsis handling */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;

    /* optional: define a fixed width or max-width */
    max-width: 1000px; /* adjust as needed */
}

.tooltip-container .custom-tooltip {
    visibility: hidden;
    background-color: #2b5875;
    color: #fff;
    text-align: center;
    border-radius: 8px;
    padding: 8px 12px;
    position: fixed;
    z-index: 1000;
    white-space: pre-wrap;
    max-width: 300px;
    transform: translate(-50%, -100%);
}

.tooltip-container .custom-tooltip i {
    color: aliceblue;
}

.tooltip-container .custom-tooltip i:hover {
    color: #2b5875;
}

.tooltip-container .custom-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -6px;
    border-width: 6px;
    border-style: solid;
    border-color: #2b5875 transparent transparent transparent;
}

.tooltip-container:hover .custom-tooltip {
    visibility: visible;
    opacity: 1;
}

/* HANDSON TABLE */

.handsontable .htCore td,
.handsontable .htCore th {
    font-size: 13px;
    padding: 6px 8px;
    line-height: 1.3;
    font-family: 'Outfit';
}

.handsontable .ht_clone_top th {
    background-color: var(--accent-blue-dark-4);
    color: white;
    font-weight: bold;
    padding-top: 6px !important;
    padding-bottom: 6px !important;
    line-height: 1.1 !important;
    vertical-align: middle !important;
    font-size: 10px;
}

.handsontable .htCore tbody tr:last-child td {
    border-bottom: none !important;
}

.handsontable .htCore td:first-child,
.handsontable .htCore th:first-child {
    border-left: none !important;
}

.handsontable .htCore td:last-child,
.handsontable .htCore th:last-child {
    border-right: none !important;
}

.handsontable .currentRow,
.handsontable .currentCol {
    color: #023e7d !important;
}

.handsontable td.readOnly {
    color: #999;
}

.handsontableInput {
    text-align: center !important;
    padding: 6px 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    line-height: 25px !important;
    font-size: 13px !important;
}

.handsontable td {
    text-align: center !important;
    vertical-align: middle !important;
}

/* CARDS */

.cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 5px;
    margin-bottom: 15px;
}

.small-card-container {
    flex: 1 1 calc(25% - 10px);
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.small-card {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 5px 0px rgba(0, 0, 0, 0.25);
    height: 180px;
}

.small-card-upper {
    display: flex;
    justify-content: center;
    width: 100%;
    border-bottom: 1px solid rgb(2, 48, 71, 0.25);
    height: 130px;
}

.small-card-lower {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 50px;
    padding: 0 10px;
}

.small-card-lower-left {
    width: 50px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    font-size: 25px;
}

.small-card-lower-right {
    width: 100%;
    font-size: 10px;
}

.small-card-lower-right a {
    color: var(--accent-blue-dark-4);
}

@media (max-width: 1400px) {
    .small-card-container {
        flex: 1 1 calc(50% - 5px);
    }
}

@media (max-width: 768px) {
    .cards {
        flex-direction: column;
        align-items: center;
    }

    .small-card-container {
        flex: 1 1 100%;
        max-width: 100%;
    }
}

.small-card.normal {
    background: #e6ffff80;
}

.small-card.normal .small-card-upper-container {
    width: 100%;
}

.small-card.normal .small-card-upper-left {
    width: 70%;
    padding: 20px 15px;
}

.small-card.normal .small-card-upper-left p {
    font-size: 10px;
    color: rgb(250, 130, 0);
}

.small-card.normal .small-card-upper-left h2 {
    color: #16425b;
}

.small-card.normal .small-card-upper-right {
    width: 30%;
    padding: 20px 15px;
    display: flex;
    justify-content: right;
}

.small-card.normal .small-card-lower-container {
    width: 100%;
    color: #16425b;
}

.small-card.blue {
    background: #16425b;
}

.small-card.blue .small-card-upper-container {
    width: 100%;
}

.small-card.blue .small-card-upper {
    border-bottom: 1px solid rgba(127, 255, 212, 0.25);
}

.small-card.blue .small-card-upper-left {
    width: 70%;
    padding: 20px 15px;
}

.small-card.blue .small-card-upper-left p {
    font-size: 10px;
    color: aquamarine;
}

.small-card.blue .small-card-upper-left h2 {
    color: white;
}

.small-card.blue .small-card-upper-right {
    width: 30%;
    padding: 20px 15px;
    display: flex;
    justify-content: right;
}

.small-card.blue .small-card-lower-container {
    color: white;
}

/* OPEN LINK AND MODEL FORM */

.open-link {
    cursor: pointer;
}
#modalOverlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    backdrop-filter: blur(5px);
    background: rgba(0, 0, 0, 0.3);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}
#modalOverlay.show {
    display: flex;
}
#modalForm {
    background: white;
    padding: 20px;
    border-radius: 8px;
    min-width: 350px;
    max-width: 100%;
    box-sizing: border-box;
    opacity: 0;
    transform: scale(0.8);
    animation: fadeInScale 0.3s forwards;
}

@keyframes fadeInScale {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

#modalForm button {
    margin-top: 20px;
    width: 100%;
}

/* TABLE AND PAGINATION (MAIN) */

.table-container {
    margin: 0;
    border-radius: 10px 10px 0 0;
    overflow: hidden;
    background: rgba(128, 128, 128, 0.025);
    font-family: 'Outfit';
}

.table-container.version1 {
    height: 260px;
}

.table-type {
    color: var(--accent-blue-dark-4);
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.table-type th,
.table-type td {
    text-align: left;
    padding: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.table-type th {
    background: #6098b933;
    padding: 5px 10px;
    font-size: 11px;
}

.table-type td {
    font-size: 13px;
    padding: 5px 10px;
    border-bottom: 1px solid #6098b926;
    color: var(--accent-blue-dark-4);
}

.table-type .centered {
    text-align: center;
}

.table-type td a {
    font-weight: bold;
    color: var(--accent-blue-dark-1);
}

.table-type td a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .table-container {
        margin: 15px 0 0 0;
        border-radius: 10px;
        overflow: hidden;
        height: 435px;
    }
}

.pagination-container {
    margin-bottom: 15px;
    background: rgba(128, 128, 128, 0.025);
    border-radius: 0 0 10px 10px;
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pagination {
    display: inline-flex;
    border: 1px solid #ccc;
    border-radius: 6px;
    overflow: hidden;
}

.pagination button {
    all: unset;
    display: inline-block;
    padding: 5px 10px;
    min-width: 40px;
    text-align: center;
    border-right: 1px solid #ccc;
    background-color: white;
    color: #1a1a1a;
    cursor: pointer;
    font-size: 10px;
}

.pagination button:last-child {
    border-right: none;
}

.pagination button:hover:not(.active):not(:disabled) {
    background-color: #f0f0f0;
}

.pagination button.active {
    background-color: var(--accent-blue-dark-4);
    color: white;
    font-weight: bold;
}

.pagination button:disabled {
    background-color: #f5f5f5;
    color: #999;
    cursor: not-allowed;
}

/* NOTIFICATION */

#notification-container {
    position: fixed;
    bottom: 20px;
    left: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 9999;
}

.notification {
    padding: 12px 20px;
    border-radius: 8px;
    color: white;
    min-width: 220px;
    max-width: 300px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    animation: slideIn 0.3s ease forwards;
    opacity: 1;
    transition: opacity 0.4s ease;
}

.notification a {
    color: azure;
}

.notification.success {
    background: #28a745;
}

.notification.error {
    background: #dc3545;
}

.notification.warning {
    background: #dc3545;
}

.notification.info {
    background: #333;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(40px);
    }
}

.fade-out {
    animation: slideOut 0.4s ease forwards;
}

/* CHARTS */

.chart-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 20px;
    width: 100%;
    margin-bottom: 35px;
}

.chart-box {
    flex: 1 1 300px;
    max-width: 400px;
    padding: 10px;
}

canvas {
    width: 100% !important;
    height: auto !important;
}

/* REPORT STATS */

.report-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 5px;
    margin-bottom: 15px;
}

.stats-card-container {
    flex: 1 1 calc(25% - 10px);
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.stats-card {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 5px 0px rgba(0, 0, 0, 0.25);
}

.stats-card-upper {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 30px;
    font-size: 12px;
    width: 100%;
    border-bottom: 1px solid rgb(2, 48, 71, 0.25);
    background: #1d405b;
    color: aliceblue;
}

.stats-card-lower-container {
    width: 100%;
    color: #1d405b;
}

.stats-card-lower {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 50px;
}

@media (max-width: 768px) {
    .stats-card-container {
        flex: 1 1 calc(50% - 5px);
    }
}

/* BREADCRUMBS */

.breadcrumb {
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px;
    margin: 15px 0;
    color: #666;
}

.breadcrumb a {
    font-weight: 400;
    color: inherit;
    white-space: nowrap;
    text-decoration: none;
}

.breadcrumb span {
    white-space: nowrap;
}

.short {
    display: none;
}

@media (max-width: 768px) {
    .full {
        display: none;
    }

    .short {
        display: inline;
    }
}

/* SHORT FOOTER */

.short-footer {
    font-family: 'Outfit';
    font-size: 13px;
    color: var(--accent-blue);
}

.short-footer__container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.short-footer__links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 15px 0;
}

.short-footer__links a {
    color: var(--accent-blue);
    font-weight: 400;
}

.short-footer__links a:hover {
    text-decoration: underline;
}

.short-footer__links span {
    color: var(--cool-gray);
}

.short-footer__copy {
    white-space: nowrap;
    padding: 15px 0;
}

@media (max-width: 768px) {
    .short-footer {
        margin-bottom: 15px;
    }

    .short-footer__links {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        padding: 0;
    }

    .short-footer__container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .short-footer__copy {
        white-space: normal;
        padding: 0;
    }
}

/* UNORGANIZED */

:root {
    --light-blue: #6099b9;
    --color-white: #ffffff;
    --gray-blue: #f6f5f5;
    --midnight-navy: #002855;
    --gray-slate: #5c677d;
    --deep-blue: #001233;
    --navy-dark: #001745;
    --vivid-blue: #0366c8;
    --classic-navy: #023e7d;
    --steel-gray: #33415c;
    --cool-gray: #fdfcfc;
    --accent-blue: #639ebf;
    --accent-blue-dark: #3c708e;
    --accent-blue-dark-1: #4f89a8;
    --accent-blue-dark-2: #3c708e;
    --accent-blue-dark-3: #2b5875;
    --accent-blue-dark-4: #1d405b;
}

.box {
    border: 1px solid var(--accent-blue);
    margin-bottom: 20px;
    padding: 10px;
    height: 500px;
    border-radius: 10px;
}

.section-title-container {
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.section-title-left {
    text-align: right;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.section-title-right {
    text-align: right;
}

.section-title {
    font-size: 50px;
    color: #16425b;
}

.section-subtitle {
    font-size: 25px;
    color: #16425b;
}

.section-subsubtitle {
    font-size: 15px;
    color: #16425b;
}

.paragraph-container p {
    font-weight: 100;
    color: #16425b;
    font-size: 15px;
}

/* CAPSULES */

.capsule-container {
    border: 1px solid #16425b;
    border-radius: 10px;
    overflow: hidden;
}

.capsule {
    display: flex;
    justify-content: center;
    align-items: center;
}

.capsule-left-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.capsule-right-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.capsule-left {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5px 10px;
    background: var(--accent-blue-dark-4);
    color: var(--color-white);
}

.capsule-right {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5px 10px;
    color: #16425b;
}

.toggle-btn {
    font-size: 20px;
    cursor: pointer;
    background: none;
    border: none;
    color: white;
    display: none;
}

@media (max-width: 1100px) {
    .top-nav-container.top-nav-active {
        background: none;
        border-bottom: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .navbar.desktop {
        display: none;
    }

    .navbar.mobile {
        display: block;
    }

    .navbar.mobile.active {
        transform: scaleY(1);
        opacity: 1;
    }

    .menu-container {
        box-shadow: none;
        background: none;
    }

    .container {
        flex-direction: column;
    }

    .container {
        display: flex;
        height: 100vh;
        padding-top: 0;
        flex-direction: row;
    }

    .content {
        margin-left: 0;
        height: 100vh;
        padding: 60px 0 0 0;
    }

    .toggle-btn {
        display: inline-block;
        color: var(--accent-blue-dark-4);
    }
}

/* GHOST */

.ghost-overlay {
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: start;
    pointer-events: none;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 30px 5px 5px 5px;
    z-index: 2;
}

.ghost-row {
    display: grid;
    gap: 5px;
    margin-bottom: 5px;
}

.ghost-row.columns1 {
    grid-template-columns: repeat(1, 1fr);
}

.ghost-row.columns3 {
    grid-template-columns: repeat(3, 1fr);
}

.ghost-row.columns4 {
    grid-template-columns: repeat(4, 1fr);
}

.ghost-row.columns8 {
    grid-template-columns: repeat(8, 1fr);
}

.ghost-row div {
    height: 20px;
    background: linear-gradient(90deg, #eee 25%, #ddd 50%, #eee 75%);
    background-size: 200% 100%;
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* IMPERSONATION OVERLAY */

#overlayImpersonation {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(50px);
    -webkit-backdrop-filter: blur(50px);
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

#overlayImpersonation.show {
    display: block;
    opacity: 1;
    pointer-events: auto;
}

#overlayImpersonationContent {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

#overlayImpersonationText {
    font-size: 22px;
    color: black;
    font-weight: bold;
    margin-top: 15px;
    animation: blink 1.5s infinite;
}

.loader {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: block;
    margin: 15px auto;
    position: relative;
    color: #000;
    left: -100px;
    box-sizing: border-box;
    animation: shadowRolling 2s linear infinite;
}

@keyframes shadowRolling {
    0% {
        box-shadow: 0px 0 rgba(0, 0, 0, 0), 0px 0 rgba(0, 0, 0, 0), 0px 0 rgba(0, 0, 0, 0), 0px 0 rgba(0, 0, 0, 0);
    }
    12% {
        box-shadow: 100px 0 black, 0px 0 rgba(0, 0, 0, 0), 0px 0 rgba(0, 0, 0, 0), 0px 0 rgba(0, 0, 0, 0);
    }
    25% {
        box-shadow: 110px 0 black, 100px 0 black, 0px 0 rgba(0, 0, 0, 0), 0px 0 rgba(0, 0, 0, 0);
    }
    36% {
        box-shadow: 120px 0 black, 110px 0 black, 100px 0 black, 0px 0 rgba(0, 0, 0, 0);
    }
    50% {
        box-shadow: 130px 0 black, 120px 0 black, 110px 0 black, 100px 0 black;
    }
    62% {
        box-shadow: 200px 0 rgba(0, 0, 0, 0), 130px 0 black, 120px 0 black, 110px 0 black;
    }
    75% {
        box-shadow: 200px 0 rgba(0, 0, 0, 0), 200px 0 rgba(0, 0, 0, 0), 130px 0 black, 120px 0 black;
    }
    87% {
        box-shadow: 200px 0 rgba(0, 0, 0, 0), 200px 0 rgba(0, 0, 0, 0), 200px 0 rgba(0, 0, 0, 0), 130px 0 black;
    }
    100% {
        box-shadow: 200px 0 rgba(0, 0, 0, 0), 200px 0 rgba(0, 0, 0, 0), 200px 0 rgba(0, 0, 0, 0), 200px 0 rgba(0, 0, 0, 0);
    }
}

/* DEMO OVERLAY */

#overlayDemo {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(50px);
    -webkit-backdrop-filter: blur(50px);
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

#overlayDemo.show {
    display: block;
    opacity: 1;
    pointer-events: auto;
}

#overlayDemoContent {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

#overlayDemoText {
    font-size: 22px;
    color: black;
    font-weight: bold;
    margin-top: 15px;
    animation: blink 1.5s infinite;
}

.loader {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: block;
    margin: 15px auto;
    position: relative;
    color: #000;
    left: -100px;
    box-sizing: border-box;
    animation: shadowRolling 2s linear infinite;
}

@keyframes shadowRolling {
    0% {
        box-shadow: 0px 0 rgba(0, 0, 0, 0), 0px 0 rgba(0, 0, 0, 0), 0px 0 rgba(0, 0, 0, 0), 0px 0 rgba(0, 0, 0, 0);
    }
    12% {
        box-shadow: 100px 0 black, 0px 0 rgba(0, 0, 0, 0), 0px 0 rgba(0, 0, 0, 0), 0px 0 rgba(0, 0, 0, 0);
    }
    25% {
        box-shadow: 110px 0 black, 100px 0 black, 0px 0 rgba(0, 0, 0, 0), 0px 0 rgba(0, 0, 0, 0);
    }
    36% {
        box-shadow: 120px 0 black, 110px 0 black, 100px 0 black, 0px 0 rgba(0, 0, 0, 0);
    }
    50% {
        box-shadow: 130px 0 black, 120px 0 black, 110px 0 black, 100px 0 black;
    }
    62% {
        box-shadow: 200px 0 rgba(0, 0, 0, 0), 130px 0 black, 120px 0 black, 110px 0 black;
    }
    75% {
        box-shadow: 200px 0 rgba(0, 0, 0, 0), 200px 0 rgba(0, 0, 0, 0), 130px 0 black, 120px 0 black;
    }
    87% {
        box-shadow: 200px 0 rgba(0, 0, 0, 0), 200px 0 rgba(0, 0, 0, 0), 200px 0 rgba(0, 0, 0, 0), 130px 0 black;
    }
    100% {
        box-shadow: 200px 0 rgba(0, 0, 0, 0), 200px 0 rgba(0, 0, 0, 0), 200px 0 rgba(0, 0, 0, 0), 200px 0 rgba(0, 0, 0, 0);
    }
}

/* REQUESTS OVERLAY */

#overlayRequest {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(50px);
    -webkit-backdrop-filter: blur(50px);
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

#overlayRequest.show {
    display: block;
    opacity: 1;
    pointer-events: auto;
}

#overlayRequestContent {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

#overlayRequestText {
    font-size: 22px;
    color: black;
    font-weight: bold;
    margin-top: 15px;
    animation: blink 1.5s infinite;
}

.loader {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: block;
    margin: 15px auto;
    position: relative;
    color: #000;
    left: -100px;
    box-sizing: border-box;
    animation: shadowRolling 2s linear infinite;
}

@keyframes shadowRolling {
    0% {
        box-shadow: 0px 0 rgba(0, 0, 0, 0), 0px 0 rgba(0, 0, 0, 0), 0px 0 rgba(0, 0, 0, 0), 0px 0 rgba(0, 0, 0, 0);
    }
    12% {
        box-shadow: 100px 0 black, 0px 0 rgba(0, 0, 0, 0), 0px 0 rgba(0, 0, 0, 0), 0px 0 rgba(0, 0, 0, 0);
    }
    25% {
        box-shadow: 110px 0 black, 100px 0 black, 0px 0 rgba(0, 0, 0, 0), 0px 0 rgba(0, 0, 0, 0);
    }
    36% {
        box-shadow: 120px 0 black, 110px 0 black, 100px 0 black, 0px 0 rgba(0, 0, 0, 0);
    }
    50% {
        box-shadow: 130px 0 black, 120px 0 black, 110px 0 black, 100px 0 black;
    }
    62% {
        box-shadow: 200px 0 rgba(0, 0, 0, 0), 130px 0 black, 120px 0 black, 110px 0 black;
    }
    75% {
        box-shadow: 200px 0 rgba(0, 0, 0, 0), 200px 0 rgba(0, 0, 0, 0), 130px 0 black, 120px 0 black;
    }
    87% {
        box-shadow: 200px 0 rgba(0, 0, 0, 0), 200px 0 rgba(0, 0, 0, 0), 200px 0 rgba(0, 0, 0, 0), 130px 0 black;
    }
    100% {
        box-shadow: 200px 0 rgba(0, 0, 0, 0), 200px 0 rgba(0, 0, 0, 0), 200px 0 rgba(0, 0, 0, 0), 200px 0 rgba(0, 0, 0, 0);
    }
}

/* BOARD */

.board-container {
    margin-bottom: 15px;
}

.board {
    padding: 15px;
    background: #6098b931;
    border-top: 1px solid #6099b9;
    border-bottom: 1px solid #6099b9;
    font-family: 'Outfit';
    display: flex;
    justify-content: center;
    align-items: center;
}

.board form {
    max-width: 500px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.board form table {
    width: 100%;
    border-collapse: collapse;
}

.board table td {
    padding-bottom: 10px;
}

.board table tr:last-child td {
    padding-bottom: 0;
}

.board table .data-name {
    width: 150px;
    min-width: 150px;
    color: var(--accent-blue-dark-3);
}

.board table .data-input-container {
    display: flex;
    justify-content: left;
    align-items: center;
    width: 100%;
}

.board table .data-input-container input {
    border: 1px solid #ccc;
    background: #f8f9fa;
    color: #212529;
    border-radius: 8px;
    padding: 8px 12px;
    width: 100%;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.board table .data-input-container input:focus {
    border-color: #0056b3;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 88, 187, 0.25);
}
