/* ==========================================================
   GLOBAL
========================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    overflow-x: hidden;
    background-color: #f8f9fa;
    font-family: 'Montserrat', sans-serif;
    color: #212529;
}

img {
    max-width: 100%;
    vertical-align: middle;
}


/* ==========================================================
   AXXPOINT LEGAL / PRIVACY CONTENT
   Used by:
   - Privacy Policy
   - Disclaimer
   - Site Statement
   - Site Terms
========================================================== */

.privacy-document {
    width: 100%;
    height: 35vh;
    padding: 1rem;
    overflow-x: hidden;
    overflow-y: auto;
    color: var(--bs-body-color);
    scrollbar-gutter: stable;
    scrollbar-width: thin;
    scrollbar-color: var(--bs-secondary-color) transparent;
}

    .privacy-document::-webkit-scrollbar {
        width: 6px;
    }

    .privacy-document::-webkit-scrollbar-track {
        background: transparent;
    }

    .privacy-document::-webkit-scrollbar-thumb {
        background-color: var(--bs-secondary-color);
        border-radius: 999px;
    }

        .privacy-document::-webkit-scrollbar-thumb:hover {
            background-color: var(--bs-emphasis-color);
        }

/* ----------------------------------------------------------
   Legal Content Typography
---------------------------------------------------------- */

.Watchdog {
    width: 100%;
    margin-top: 0;
    margin-bottom: 1.15rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.8;
    color: var(--bs-body-color);
    text-align: justify;
    overflow-wrap: break-word;
    word-break: normal;
}

p.Watchdog {
    margin-bottom: 1.15rem;
}


/* ----------------------------------------------------------
   Legal Lists
---------------------------------------------------------- */

ul.Watchdog,
ol.Watchdog {
    margin-top: 0.5rem;
    margin-bottom: 1.4rem;
    padding-left: 1.5rem;
}

    ul.Watchdog li,
    ol.Watchdog li {
        margin-bottom: 0.65rem;
        padding-left: 0.25rem;
        line-height: 1.75;
    }

        ul.Watchdog li:last-child,
        ol.Watchdog li:last-child {
            margin-bottom: 0;
        }


/* ----------------------------------------------------------
   Legal Links
---------------------------------------------------------- */

.Watchdog a {
    color: var(--bs-link-color);
    font-weight: 500;
    text-decoration: none;
    text-underline-offset: 0.18em;
    transition: color 0.15s ease-in-out, text-decoration-color 0.15s ease-in-out;
}

    .Watchdog a:hover {
        color: var(--bs-link-hover-color);
        text-decoration: underline;
    }

    .Watchdog a:focus-visible {
        border-radius: 2px;
        outline: 2px solid currentColor;
        outline-offset: 3px;
    }


/* ----------------------------------------------------------
   Legal Emphasis
---------------------------------------------------------- */

.Watchdog strong,
.Watchdog b {
    font-weight: 600;
    color: var(--bs-emphasis-color);
}


/* ----------------------------------------------------------
   Legal Document Header
---------------------------------------------------------- */

.privacy-document > header {
    width: 100%;
    margin-bottom: 2rem !important;
}

    .privacy-document > header h1 {
        margin-bottom: 0.5rem;
        font-weight: 650;
        letter-spacing: -0.02em;
        color: var(--bs-emphasis-color);
    }

    .privacy-document > header .text-muted {
        width: 100%;
        line-height: 1.6;
    }


/* ----------------------------------------------------------
   Legal Sections
---------------------------------------------------------- */

.privacy-document section {
    width: 100%;
    margin-bottom: 2.25rem !important;
}

    .privacy-document section > h2 {
        position: relative;
        margin-top: 0;
        margin-bottom: 1rem;
        padding-bottom: 0.65rem;
        font-weight: 600;
        line-height: 1.35;
        letter-spacing: -0.01em;
        color: var(--bs-emphasis-color);

    }

        .privacy-document section > h2::after {
            content: "";
            display: block;
            width: 2.5rem;
            height: 2px;
            margin-top: 0.6rem;
            background-color: var(--bs-primary);
            border-radius: 999px;
            opacity: 0.65;
        }

        .privacy-document section > h2 + .Watchdog {
            margin-top: 0;
        }


/* ----------------------------------------------------------
   Legal Text Selection
---------------------------------------------------------- */

.privacy-document ::selection {
    background-color: rgba(var(--bs-primary-rgb), 0.18);
}


/* ==========================================================
   LAYOUT
========================================================== */

.container-padding {
    padding-inline: 0;
}

.main-content {
    overflow-x: hidden;
}

.body-panel {
    background-color: ghostwhite;
}

.grid-container {
    display: grid;
}


/* ==========================================================
   PAGE SHELL
========================================================== */

.page-shell {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.page-content {
    min-height: 50vh;
    max-height: 75vh;
    overflow-x: hidden;
    overflow-y: auto;
    background-color: #fff;
    border-radius: 1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.10), 0 12px 30px rgba(0, 0, 0, 0.18);
}

.content-panel {
    min-height: 50vh;
    max-height: 75vh;
    padding: 1.5rem;
    overflow-x: hidden;
    overflow-y: auto;
    background-color: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.30);
    border-radius: 1rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15), 0 1rem 2rem rgba(0, 0, 0, 0.10);
}


/* ==========================================================
   NAVBAR
========================================================== */

.navbar-brand img {
    width: auto;
}

.navbar-nav {
    display: flex;
}

    .navbar-nav .nav-link {
        font-weight: 500;
        white-space: nowrap;
    }


/* ----------------------------------------------------------
   Navigation Tabs
---------------------------------------------------------- */

.nav-tabs {
    border-bottom: 1px solid #dee2e6;
}

    .nav-tabs .nav-link {
        margin-bottom: -1px;
        padding: 0.25rem 1rem;
        border: none !important;
        background-color: transparent !important;
        color: #495057;
        font-weight: 600;
    }

        .nav-tabs .nav-link:hover {
            border: none !important;
            background-color: transparent !important;
            color: var(--bs-primary);
        }

        .nav-tabs .nav-link.active {
            border: none !important;
            background-color: transparent !important;
            color: var(--bs-primary);
        }

            .nav-tabs .nav-link.active::after {
                content: "";
                display: block;
                height: 2px;
                margin-top: 0.35rem;
                background-color: var(--bs-primary);
            }


/* ----------------------------------------------------------
   AxxPoint Navigation
---------------------------------------------------------- */

.axx-nav-icon {
    width: 0.9rem;
    height: 0.9rem;
}

.axx-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.875rem;
}


/* ==========================================================
   AUTHENTICATION / SOCIAL LOGIN
========================================================== */

.social-login-button {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 3.25rem;
    gap: 0.65rem;
    border-width: 1px;
}

.social-login-icon {
    width: 1.25rem;
    height: 1.25rem;
}

.google-login-button {
    background-color: #4f7ee8;
    border-color: #4f7ee8;
    color: #fff;
}

    .google-login-button:hover,
    .google-login-button:focus {
        background-color: #416fd3;
        border-color: #416fd3;
        color: #fff;
    }

.google-provider-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    background-color: #fff;
    border-radius: 50%;
    color: #4285f4;
    font-family: Arial, sans-serif;
    font-weight: 700;
    line-height: 1;
}

.provider-letter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.4rem;
    height: 1.4rem;
    background-color: #fff;
    border-radius: 50%;
    color: #4267b2;
    font-family: Arial, sans-serif;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1;
}


/* ----------------------------------------------------------
   Login Divider
---------------------------------------------------------- */

.login-divider {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #6c757d;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.04rem;
}

    .login-divider::before,
    .login-divider::after {
        content: "";
        flex: 1;
        border-top: 1px solid #dee2e6;
    }

    .login-divider span {
        white-space: nowrap;
    }

.validation-summary-valid {
    display: none;
}


/* ==========================================================
   AXXPOINT EMAIL TOOLBAR
========================================================== */

.toolbar {
    padding: 0.15rem 0.4rem;
    overflow-x: auto;
    overflow-y: hidden;
    background-color: #fff;
    border-bottom: 1px solid var(--bs-border-color);
}

    .toolbar > div {
        min-width: max-content;
    }

    .toolbar .btn-group {
        margin-right: 0.35rem;
    }

    .toolbar .btn + .btn {
        margin-left: 0.15rem;
    }

    .toolbar .vr {
        margin: 0 0.5rem;
    }

    .toolbar i[data-lucide] {
        width: 13px;
        height: 13px;
        stroke-width: 2;
        vertical-align: middle;
    }


/* ==========================================================
   ERROR PAGE
========================================================== */

.error-avatar {
    width: 10rem;
    height: 10rem;
    object-fit: cover;
}

.error-illustration {
    max-width: 12rem;
}

.error-watermark {
    z-index: 0;
    opacity: 0.05;
}

.error-message {
    position: relative;
    z-index: 1;
}


/* ==========================================================
   DROPDOWN
========================================================== */

.dropdown-menu {
    border: none;
    border-radius: 0.5rem;
    box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.08);
}


/* ==========================================================
   TOP BAR / SOCIALS
========================================================== */

.top-bar {
    display: flex;
    align-items: center;
    background-color: #003300;
    color: #fff;
}

.social-bar {
    text-align: center;
}

    .social-bar img {
        cursor: pointer;
        transition: transform 0.3s ease;
    }

        .social-bar img:hover {
            transform: scale(1.1);
        }


/* ==========================================================
   FOOTER
========================================================== */

.footer-main {
    background-color: #003300;
    color: #fff;
}

    .footer-main a {
        color: #2bbbad;
        text-decoration: none;
    }

        .footer-main a:hover {
            text-decoration: underline;
        }

.footer-bottom {
    background-color: #dcedc8;
}

    .footer-bottom img {
        width: auto;
    }


/* ==========================================================
   GRID ROWS
========================================================== */

.gridrow:nth-child(odd) {
    background-color: lavender;
}

.gridrow:nth-child(even) {
    background-color: #fff;
}


/* ==========================================================
   ICON STATES
========================================================== */

.fa-good,
.imssbn-valid {
    color: green;
}

.fa-bad,
.imssbn-invalid {
    color: red;
}


/* ==========================================================
   TABLES
========================================================== */

.th-text,
.td-text {
    font-family: 'Century Gothic', sans-serif;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
}

.th-text {
    background-color: green;
    color: #fff;
}

.td-text {
    background-color: #fff;
    color: #000;
}


/* ==========================================================
   LINKS
========================================================== */

.style-link,
.qck-links {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}


/* ==========================================================
   WATERMARK
========================================================== */

.my-watermark {
    position: fixed;
    opacity: 0.05;
}


/* ==========================================================
   SLIDESHOW
========================================================== */

.slideshow-container {
    position: relative;
    margin: auto;
}

    .slideshow-container .mySlides {
        display: none;
    }

    .slideshow-container .text,
    .slideshow-container .numbertext {
        position: absolute;
        color: #f2f2f2;
        text-align: center;
    }

    .slideshow-container .dot {
        display: inline-block;
        background-color: #bbb;
        transition: background-color 0.6s ease;
    }

        .slideshow-container .dot.active {
            background-color: #717171;
        }

    .slideshow-container .fade {
        animation: axx-slideshow-fade 1.5s;
    }


/* ==========================================================
   UTILITIES
========================================================== */

.place-div {
    text-align: center;
}

.hidden {
    display: none;
}

.show-flex {
    display: flex !important;
}

.scroll {
    flex-grow: 1;
    overflow-y: auto;
}

.center-it {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}


/* ==========================================================
   TREE VIEW
========================================================== */

#folderRoleSelector {
    position: relative;
    z-index: 10;
}

.tree-container ul {
    padding-left: 20px;
    list-style: none;
    font-size: 12px;
}

.tree-node {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px;
    cursor: pointer;
}

    .tree-node:hover {
        background-color: #f0f0f0;
    }

.active-node {
    background-color: #d0ebff;
    border-radius: 4px;
}

.tree-badge {
    border-radius: 10px;
    color: #fff;
}

.badge-img {
    background-color: #28a745;
}

.badge-doc {
    background-color: #6c757d;
}

.badge-mix {
    background-color: #ffc107;
}

.tree-thumb {
    width: 24px;
    height: 24px;
    object-fit: cover;
    border-radius: 3px;
}


/* ==========================================================
   ACTIONS
========================================================== */

.folder-actions {
    margin-left: auto;
}


/* ==========================================================
   PANELS
========================================================== */

.panel {
    display: flex;
    flex-direction: column;
    height: 60vh;
}

.tree-section {
    height: 45%;
    overflow: auto;
}

.content-section {
    height: 55%;
    overflow: hidden;
}

.pane {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 5px;
    border: 1px solid #ddd;
}


/* ==========================================================
   LIST / PREVIEW
========================================================== */

.list-item {
    border-bottom: 1px solid #eee;
    cursor: pointer;
}

    .list-item:hover {
        background-color: #f5f5f5;
    }

    .list-item.active {
        background-color: #d0ebff;
    }

.preview-img {
    object-fit: contain;
}


/* ==========================================================
   IMSSBN
========================================================== */

.imssbn-inline {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
}

.imssbn-small,
.imssbn-tiny,
.imssbn-indicator {
    text-align: center;
}


/* ==========================================================
   CONFIRM DIALOG
========================================================== */

.confirm-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.50);
}

.confirm-box {
    background-color: #fff;
    border-radius: 6px;
    text-align: center;
}

.confirm-actions {
    display: flex;
    justify-content: space-between;
}


/* ==========================================================
   ANIMATIONS
========================================================== */

@keyframes axx-slideshow-fade {
    from {
        opacity: 0.4;
    }

    to {
        opacity: 1;
    }
}


/* ==========================================================
   RESPONSIVE
   Keep all @media declarations below this point.
========================================================== */


/* ----------------------------------------------------------
   Mobile / Small Screens
---------------------------------------------------------- */

@media (max-width: 767.98px) {

    .privacy-document {
        padding-top: 0.5rem;
        padding-bottom: 2rem;
    }

        .privacy-document > header,
        .privacy-document section {
            width: 100%;
        }

        .privacy-document section {
            margin-bottom: 1.8rem !important;
        }

            .privacy-document section > h2 {
                font-size: 1.05rem;
            }

    .Watchdog {
        width: 100%;
        font-size: 0.975rem;
        line-height: 1.75;
    }

    .content-panel {
        padding: 1rem;
    }
}


/* ----------------------------------------------------------
   Large Screens
---------------------------------------------------------- */

@media (min-width: 1200px) {

    .Watchdog {
        font-size: 1.025rem;
        line-height: 1.85;
    }
}


/* ----------------------------------------------------------
   Reduced Motion
---------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {

    .social-bar img,
    .Watchdog a,
    .slideshow-container .dot {
        transition: none;
    }

    .slideshow-container .fade {
        animation: none;
    }
}

/* ==========================================================
   DEVICE OVERRIDES
   (Handled in css_Sizer_* files)
========================================================== */