@import url("modules/_variables.css");
@import url("modules/_inputContainer.css");
@import url("modules/_labelTabs.css");
@import url("modules/_fontAwesome.css");

html {
    /*height: -webkit-fill-available;*/
    min-height: 100dvh;
}

html, body {
    font-family: Cabin, Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: white;
    box-sizing: border-box;
    overflow-x: hidden;
    color: var(--darkGray);
}

h1 {
    text-align: center;
}

.login_headerh1 {
    @media (max-width: 768px) {
        display:none;
    }
}

.login_headerh1--mobile {
    display: none;

    @media (max-width: 768px) {
        display:block;
    }
}

.LoginBody {
    background-color: var(--darkBlue);
}

.logo-container {
    text-align: center;
    margin: 20px 0;
}

.logo {
    width: 70%;
    max-width: 470px;
    height: auto;
}

.contentContainer {
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

    .contentContainer.HistoryManager {
        height: 100%;
        overflow-y: auto;
        width: 80%;
    }

.directoryHeader__items__profile {
    position: relative;
}

.directoryHeader__items__profile__name {
    cursor: pointer;
    &:hover

{
    color: var(--darkBlue);
}

& input {
    display: none;
}

}

.userMenu {
    display: block;
    position: absolute;
    left: 0;
    top: calc(100% + 11px);
    background: #fff;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    border-radius: 3px;
    padding: 0px;
    overflow: hidden;
    max-height: 0px;
    transition: max-height .3s ease-in-out;
    & ul

{
    list-style: none;
    padding: 10px 20px;
    margin: 0;
    cursor: pointer;
    &:hover

{
    background: var(--lightGray);
}

}
}

.directoryHeader__items__profile:has(#profileName:checked) .userMenu {
    max-height: 100px;
}

.PasscodeOptionsContainer h3 {
    margin-bottom: 24px;
    text-align: center;
}

.PasscodeEntryContainer h3 {
    margin-bottom: 24px;
    text-align: center;
    color: white;
}

.container-form {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}

form {
    width: 100%;
    /*max-width: 400px;*/
    flex-grow: 1; /* Allow form to grow and fill space */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.form-group {
    margin-bottom: 24px;
}

.form-control {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 20px;
}

a {
    color: var(--darkGray);
    text-decoration: none;
}

    a:hover, a:active {
        color: var(--lightGreen);
    }

.input-with-timer {
    position: relative; /* create containing block for the timer */
}

    /* Reserve space on the right so input text doesn't overlap the timer */
    .input-with-timer .form-control {
        padding-right: 96px; /* adjust based on your timer width */
    }

    /* The timer pill inside the input */
    /*.input-with-timer .timer {
        position: absolute;
        top: 50%;
        right: 12px;
        transform: translateY(-35%);
        color: #666;
        font-size: 1rem;
        font-weight: 600;
        font-variant-numeric: tabular-nums;*/ /* stable digit width */
    /*background: #fff;*/ /* match page bg; use input bg if different */
    /*padding: 2px 8px;
        border-radius: 12px;
        line-height: 1;
        pointer-events: none;*/ /* clicks go to input */
    /* Optional subtle separation from input text */
    /* box-shadow: 0 0 0 1px rgba(0,0,0,0.05) inset; */
    /*}*/

    /* Optional: visual state when expired */
    /*.input-with-timer .timer.is-expired {
            color: #b00020;
        }*/
    .input-with-timer .timer {
        position: absolute;
        top: 5px; /* matches the input's margin-top so tops align */
        right: 0; /* small inset from the input's inner right edge */
        bottom: 0; /* stretches to the bottom of the input */
        display: flex;
        align-items: center;
        padding: 0 12px; /* horizontal space inside the pill */
        background: #fff;
        border: 3px solid #ccc;
        border-radius: 20px; /* same as input; or use 9999px for a pill */
        color: #666;
        font-size: 0.875rem;
        font-weight: 600;
        font-variant-numeric: tabular-nums;
        line-height: 1;
        pointer-events: none; /* clicks go to the input */
    }

        /* Optional: visual state when expired */
        .input-with-timer .timer.is-expired {
            color: #b00020;
            border-color: #b00020;
        }

.linksList {
    list-style: none;
    padding-left: 0;
    text-align: center;
    max-width: 350px;
    width: 100%;
    & li

{
    margin: 20px 0;
    display: block;
    width: 100%;
}

}

.whiteButton {
    position: relative;
    padding: 20px 50px;
    display: inline-block;
    color: var(--darkBlue);
    border: 2px solid var(--darkBlue);
    border-radius: 3px;
    font-weight: bold;
    background: white;
    text-align: center;
    width: 100%;
    & i

{
    position: absolute;
    display: inline-block;
    left: 20px;
    font-size: 1.4rem;
}

}

.PasscodeEntry_bottomOptions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    width: 100%;
    align-items: stretch; /* ensures equal height in the row */
}

    .PasscodeEntry_bottomOptions .button {
        width: 100%;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
    }

.pinOption {
    grid-template-columns: minmax(0, 1fr);
}

.button {
    width: 100%;
    padding: 10px;
    background-color: #095329;
    color: white;
    border: none;
    border-radius: 20px;
    cursor: pointer;
}

.submit_btn {
    width: 100%;
    padding: 10px;
    background-color: #1077bb;
    color: white;
    border: none;
    border-radius: 20px;
    cursor: pointer;
}

    .submit_btn:hover {
        background-color: #6cb9e6;
    }

submit_btn:disabled {
    background-color: #6c757d !important; /* gray */
    border-color: #6c757d !important;
    cursor: not-allowed;
    opacity: 0.65;
}

.button {
    background-color: #2f8953;
}

.text-error,
.text-message {
    color: red;
    margin: 18px 0;
    display: block;
    text-align: center;
    font-size: 18px;
}

.text-message {
    color: var(--lightGreen);
}

.form-check-label {
    font-size: 18px;
}

.label-title {
    font-weight: bold;
}

.label-disabled {
}

.PasscodeOptionsContainer {
    color: var(--darkGray);
    .form-group

{
    padding: 20px;
    border-radius: var(--borderRadius);
}

}

.inplaceAlert {
    position: absolute;
    left: 20px;
    top: 20px;
    background: white;
    border: 1px solid var(--darkGray);
    border-radius: 3px;
    z-index: 2;
    padding: 10px;
    color: 1px solid var(--darkGray);
}

    .inplaceAlert.success {
        color: var(--lightGreen);
        border-color: var(--lightGreen);
    }

    .inplaceAlert.fail {
        color: var(--red);
        border-color: var(--red);
    }
/* Grey-out style for disabled Delete buttons inside tables */
.table .btn-danger:disabled,
.table .btn-danger[aria-disabled="true"] {
    background-color: #9aa4b2; /* neutral gray background */
    border-color: #8b95a1; /* slightly darker border */
    color: #ffffff; /* ensure good contrast on gray */
    opacity: 1; /* avoid Bootstrap's low-opacity look */
    cursor: not-allowed; /* communicate disabled state */
    box-shadow: none; /* remove emphasis */
}

    /* Ensure hover doesn't change disabled appearance */
    .table .btn-danger:disabled:hover,
    .table .btn-danger[aria-disabled="true"]:hover {
        background-color: #9aa4b2;
        border-color: #8b95a1;
        color: #ffffff;
    }

    /* Optional: make the focus ring visible if someone manages to focus the element programmatically */
    .table .btn-danger:disabled:focus,
    .table .btn-danger[aria-disabled="true"]:focus {
        outline: none;
        box-shadow: none;
    }

.loading-overlay {
    display: none; /* hidden by default */
    position: fixed;
    z-index: 9999;
    inset: 0;
    background: rgba(255, 255, 255, 0.7);
    display: none;
    align-items: center;
    justify-content: center;
}

    .loading-overlay.active {
        display: flex;
    }

.pl {
    width: 8em;
    height: 8em;
}

    .pl circle {
        transform-box: fill-box;
        transform-origin: 50% 50%;
    }

.pl__ring1 {
    animation: ring1_ 4s 0s ease-in-out infinite;
}

.pl__ring2 {
    animation: ring2_ 4s 0.04s ease-in-out infinite;
}

.pl__ring3 {
    animation: ring3_ 4s 0.08s ease-in-out infinite;
}

.pl__ring4 {
    animation: ring4_ 4s 0.12s ease-in-out infinite;
}

.pl__ring5 {
    animation: ring5_ 4s 0.16s ease-in-out infinite;
}

.pl__ring6 {
    animation: ring6_ 4s 0.2s ease-in-out infinite;
}

:root {
    --primary: #0a477b;
    --primary-700: #083b66; /* darker for header border */
    --text: #1f2937; /* slate-800-ish */
    --muted: #6b7280; /* slate-500-ish */
    --surface: #ffffff;
    --border: #e6edf3; /* light, cool border */
    --row-alt: #f5f9fc; /* subtle alt row */
    --row-hover: #eef5fb; /* subtle hover */
}

/* Dark mode adjustments (optional but recommended) */
/*@media (prefers-color-scheme: dark) {
    :root {
        --text: #e5e7eb;
        --muted: #9ca3af;
        --surface: #0b1220;
        --border: #1f2a38;
        --row-alt: #0f172a;
        --row-hover: #142038;
        --primary-700: #072f4f;
    }
}*/

/* Base table styles: predictable borders and readable alignment */
.table {
    width: 100%;
    border-collapse: collapse; /* modern baseline for consistent borders */
    text-align: left;
    background: white;
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 10px; /* visual polish */
    overflow: hidden; /* clip header/bg radius */
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 8px 24px rgba(0, 0, 0, 0.06);
}

    /* Header: primary background for strong column separation */
    .table thead th {
        background: var(--primary);
        color: #ffffff;
        font-weight: 600;
        letter-spacing: 0.02em;
        padding: 0.75rem 1rem;
        border-bottom: 2px solid var(--primary-700);
        white-space: nowrap;
    }

    /* Cells: comfortable density with clean dividers and baseline vertical alignment */
    .table th,
    .table td {
        padding: 0.75rem 1rem;
        vertical-align: baseline;
    }

    /* Row separators in body */
    .table tbody tr {
        border-bottom: 1px solid var(--border);
    }

/* Zebra striping for readability */
.table-striped tbody tr:nth-child(even) {
    background-color: var(--row-alt);
}

/* Hover state: subtle, not distracting */
.table-hover tbody tr:hover {
    background-color: var(--row-hover);
}

/* Action column width (last column), avoids inline styles */
.table thead th:last-child,
.table tbody td:last-child {
    /*width: 140px;*/
    width: 100%;
    white-space: nowrap;
}

/* Make long content wrap nicely without breaking layout */
.table td {
    overflow-wrap: anywhere;
}

/* Optional: slightly deemphasize secondary columns (e.g., booleans) */
/*.table tbody td:nth-child(3) {
    color: var(--muted);
}*/

/* Buttons: slightly modernize while keeping Bootstrap semantics */
.table .btn {
    border-radius: 8px;
    font-weight: 600;
    transition: background-color 120ms ease, color 120ms ease, border-color 120ms ease, box-shadow 120ms ease;
}

    .table .btn:focus-visible {
        outline: 2px solid var(--primary);
        outline-offset: 2px;
    }

/* Keep danger red, but ensure good contrast and clear hover/focus */
.table .btn-danger {
    color: #ffffff;
    border-color: #b4232a;
    background-color: #d92d3a;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

    .table .btn-danger:hover:not(:disabled) {
        background-color: #b4232a;
        border-color: #9f1f25;
    }

    .table .btn-danger:disabled {
        opacity: 0.6;
        cursor: not-allowed;
    }

/* Small viewport support hint:
   If wrapped in .table-responsive (Bootstrap), this ensures horizontal scroll. */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 12px;
    border: 1px solid var(--border);
    /*background: var(--surface);*/
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 8px 24px rgba(0, 0, 0, 0.06);
}

/* Optional: improve numeric/date legibility (monospace numerals) */
.table td:nth-child(2) {
    font-variant-numeric: tabular-nums;
}

.table-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end; /* change to space-between if needed */
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

/* Add User anchor styled as a modern button */
.btn-add-user {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #2f8953; /* primary */
    color: #ffffff;
    text-decoration: none;
    padding: 0.55rem 0.9rem;
    border: 1px solid transparent;
    border-radius: 10px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 8px 16px rgba(47, 137, 83, 0.15);
    transition: background-color 120ms ease, box-shadow 120ms ease, transform 60ms ease;
}

    /* Icon sizing and color inheritance */
    .btn-add-user svg {
        width: 1em;
        height: 1em;
        fill: currentColor; /* match text color */
        display: block;
    }

    /* Hover, active, and focus states */
    .btn-add-user:hover {
        background-color: #277347; /* hover */
        text-decoration: none;
    }

    .btn-add-user:active {
        background-color: #1f5d39; /* active */
        transform: translateY(0.5px);
    }

    .btn-add-user:focus-visible {
        outline: none;
        box-shadow: 0 0 0 3px rgba(47, 137, 83, 0.35), /* focus ring */
        0 1px 2px rgba(0, 0, 0, 0.04), 0 8px 16px rgba(47, 137, 83, 0.15);
    }

    /* Disabled/blocked state for anchors (use aria-disabled="true" or .disabled) */
    .btn-add-user[aria-disabled="true"],
    .btn-add-user.disabled {
        background-color: #a0aab8;
        border-color: #949eab;
        color: #ffffff;
        cursor: not-allowed;
        pointer-events: none; /* prevent clicks */
        box-shadow: none;
    }

/* Optional: small size variant */
.btn-add-user--sm {
    padding: 0.4rem 0.7rem;
    border-radius: 8px;
    font-weight: 600;
}

#addUserForm {
    min-width: 450px;
}

.select-arrow-wrap {
    position: relative;
}

/* Hide native arrow and add padding to make room for custom arrow */
select.select-with-arrow {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: none;
    padding-right: 2.25rem; /* room for the arrow */
}

    /* Old IE/Edge arrow */
    select.select-with-arrow::-ms-expand {
        display: none;
    }

/* The custom arrow; adjust right to move it left/right */
.select-arrow-wrap::after {
    content: "";
    position: absolute;
    pointer-events: none;
    right: 0.75rem; /* move this value to adjust spacing */
    top: 50%;
    width: 0.5rem;
    height: 0.5rem;
    /* Draw a chevron using borders */
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    /* Slight lift to visually center with many fonts */
    transform: translateY(150%) rotate(45deg);
    opacity: 0.7;
}

.Directory_SelectedUsersContainer {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 4px 10px rgba(0,0,0,0.06);
    overflow: hidden;
    width: 100%;
    min-height: 0;
}

/* Sticky header with count badge */
.SelectedUsersHeader {
    position: sticky;
    top: 0;
    z-index: 1;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

    .SelectedUsersHeader h3 {
        margin: 0;
        font-size: 16px;
        line-height: 1.2;
        color: #111827;
        letter-spacing: 0.2px;
        display: inline-flex;
        align-items: center;
        gap: 8px;
    }

.su-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    padding: 0 8px;
    border-radius: 999px;
    background: #0ea5e9; /* accent */
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    transition: background 0.2s ease;
}

/* List layout: responsive grid */
.SelectedUsersList {
    list-style: none;
    margin: 0;
    padding: 12px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 12px;
    overflow-y: auto;
    background: #ffffff;
}

    /* Empty state */
    .SelectedUsersList .empty {
        grid-column: 1 / -1;
        background: #ffffff;
        border: 1px dashed #e5e7eb;
        color: #6b7280;
        padding: 16px;
        border-radius: 10px;
        text-align: center;
    }

/* Selected user card */
.selected-user {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 10px 12px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 4px 10px rgba(0,0,0,0.05);
    transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

    .selected-user:hover {
        transform: translateY(-1px);
        background: #f9fafb;
        border-color: #bae6fd;
    }

    /* Thumbnail */
    .selected-user .profileThumbnail {
        flex: 0 0 auto;
        width: 40px;
        height: 40px;
        border-radius: 999px;
        overflow: hidden;
        border: 1px solid #e5e7eb;
        background: #f3f4f6;
        display: grid;
        place-items: center;
    }

        .selected-user .profileThumbnail img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

/* Content block */
.selected-user__content {
    display: flex;
    flex-direction: column;
    min-width: 0;
    gap: 2px;
}

.selected-user .name {
    color: #111827;
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

    .selected-user .name .title {
        font-style: normal;
        font-weight: 500;
        color: #6b7280;
        margin-left: 6px;
    }

.selected-user .email {
    color: #6b7280;
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Remove button */
.selected-user .remove {
    margin-left: auto;
    align-self: center;
    border: 0;
    border-radius: 8px;
    padding: 6px 10px;
    background: transparent;
    color: #ef4444;
    font-weight: 600;
    font-size: 12px;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

    .selected-user .remove:hover {
        background: rgba(239, 68, 68, 0.1);
        transform: translateY(-1px);
    }

    .selected-user .remove:focus-visible {
        outline: 2px solid #0ea5e9;
        outline-offset: 2px;
    }

/* Optional: selected state in the main list for clarity */
#employeeResults li.is-selected {
    background: #1077bb;
    border-radius: 30px;
    color: white;
}

/* Scrollbar styling (WebKit) */
.SelectedUsersList::-webkit-scrollbar {
    height: 10px;
    width: 10px;
}

.SelectedUsersList::-webkit-scrollbar-thumb {
    background: #e5e7eb;
    border-radius: 8px;
}

    .SelectedUsersList::-webkit-scrollbar-thumb:hover {
        background: #c7ccd1;
    }

.su-toggleViewBtn {
    appearance: none;
    border: 1px solid #e5e7eb;
    background: #f9fafb;
    color: #111827;
    border-radius: 8px;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

    .su-toggleViewBtn:hover {
        background: #eef2f7;
    }

    .su-toggleViewBtn:focus-visible {
        outline: 2px solid #0ea5e9;
        outline-offset: 2px;
    }

/* NEW: List-view layout override for easier reading when many users are selected */
.Directory_SelectedUsersContainer.is-list-view .SelectedUsersList {
    display: flex; /* override grid */
    flex-direction: column;
    gap: 8px;
    grid-template-columns: none; /* ensure grid is disabled */
    max-height: 60vh; /* larger scrollable area */
    padding: 12px;
}

.Directory_SelectedUsersContainer.is-list-view .selected-user {
    gap: 8px;
    padding: 4px 4px; /* slightly larger touch target */
}

.Directory_SelectedUsersContainer.is-list-view
.selected-user__content > .Badges {
    display: none;
}

.Directory_SelectedUsersContainer.is-list-view
.selected-user .profileThumbnail {
    height: 20px;
    width: 20px;
}

.col-auto {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.contentContainer.UserManager {
    height: 100%;
    overflow-y: auto;
    width: 80%;
}

    .contentContainer.UserManager > .user-table-responsive > .table-striped > tbody > tr:nth-of-type(odd) {
        background: #0A111E;
        color: white;
    }

    .contentContainer.UserManager > .user-table-responsive > .table-striped tbody tr:nth-child(even) {
        background-color: #0F182A;
        color: white;
    }

    .contentContainer.UserManager > .table tbody tr {
        border-bottom: 1px solid #141D2D;
    }

        .contentContainer.UserManager > .table tbody tr:hover {
            background-color: #333333;
        }

.tag-svg {
    width: 24px;
    height: 24px;
    vertical-align: middle;
}
.smsEmailIconWrapper{
    display:inline-block;
    & img{
        margin-right:5px;
    }
    & img:first-child{
        margin-right:2px;
    }
}

.selected-user__content > .tag-svg {
    margin-left: 0px;
    margin-right: 8px;
}
/* Animations */
@keyframes ring1_ {
    from {
        stroke-dashoffset: -376.237129776;
        transform: rotate(-0.25turn);
        animation-timing-function: ease-in;
    }

    23% {
        stroke-dashoffset: -94.247778;
        transform: rotate(1turn);
        animation-timing-function: ease-out;
    }

    46%, 50% {
        stroke-dashoffset: -376.237129776;
        transform: rotate(2.25turn);
        animation-timing-function: ease-in;
    }

    73% {
        stroke-dashoffset: -94.247778;
        transform: rotate(3.5turn);
        animation-timing-function: ease-out;
    }

    96%, to {
        stroke-dashoffset: -376.237129776;
        transform: rotate(4.75turn);
    }
}

@keyframes ring2_ {
    from {
        stroke-dashoffset: -329.207488554;
        transform: rotate(-0.25turn);
        animation-timing-function: ease-in;
    }

    23% {
        stroke-dashoffset: -82.46680575;
        transform: rotate(1turn);
        animation-timing-function: ease-out;
    }

    46%, 50% {
        stroke-dashoffset: -329.207488554;
        transform: rotate(2.25turn);
        animation-timing-function: ease-in;
    }

    73% {
        stroke-dashoffset: -82.46680575;
        transform: rotate(3.5turn);
        animation-timing-function: ease-out;
    }

    96%, to {
        stroke-dashoffset: -329.207488554;
        transform: rotate(4.75turn);
    }
}

@keyframes ring3_ {
    from {
        stroke-dashoffset: -288.4484661616;
        transform: rotate(-0.25turn);
        animation-timing-function: ease-in;
    }

    23% {
        stroke-dashoffset: -72.2566298;
        transform: rotate(1turn);
        animation-timing-function: ease-out;
    }

    46%, 50% {
        stroke-dashoffset: -288.4484661616;
        transform: rotate(2.25turn);
        animation-timing-function: ease-in;
    }

    73% {
        stroke-dashoffset: -72.2566298;
        transform: rotate(3.5turn);
        animation-timing-function: ease-out;
    }

    96%, to {
        stroke-dashoffset: -288.4484661616;
        transform: rotate(4.75turn);
    }
}

@keyframes ring4_ {
    from {
        stroke-dashoffset: -253.9600625988;
        transform: rotate(-0.25turn);
        animation-timing-function: ease-in;
    }

    23% {
        stroke-dashoffset: -63.61725015;
        transform: rotate(1turn);
        animation-timing-function: ease-out;
    }

    46%, 50% {
        stroke-dashoffset: -253.9600625988;
        transform: rotate(2.25turn);
        animation-timing-function: ease-in;
    }

    73% {
        stroke-dashoffset: -63.61725015;
        transform: rotate(3.5turn);
        animation-timing-function: ease-out;
    }

    96%, to {
        stroke-dashoffset: -253.9600625988;
        transform: rotate(4.75turn);
    }
}

@keyframes ring5_ {
    from {
        stroke-dashoffset: -225.7422778656;
        transform: rotate(-0.25turn);
        animation-timing-function: ease-in;
    }

    23% {
        stroke-dashoffset: -56.5486668;
        transform: rotate(1turn);
        animation-timing-function: ease-out;
    }

    46%, 50% {
        stroke-dashoffset: -225.7422778656;
        transform: rotate(2.25turn);
        animation-timing-function: ease-in;
    }

    73% {
        stroke-dashoffset: -56.5486668;
        transform: rotate(3.5turn);
        animation-timing-function: ease-out;
    }

    96%, to {
        stroke-dashoffset: -225.7422778656;
        transform: rotate(4.75turn);
    }
}

@keyframes ring6_ {
    from {
        stroke-dashoffset: -203.795111962;
        transform: rotate(-0.25turn);
        animation-timing-function: ease-in;
    }

    23% {
        stroke-dashoffset: -51.05087975;
        transform: rotate(1turn);
        animation-timing-function: ease-out;
    }

    46%, 50% {
        stroke-dashoffset: -203.795111962;
        transform: rotate(2.25turn);
        animation-timing-function: ease-in;
    }

    73% {
        stroke-dashoffset: -51.05087975;
        transform: rotate(3.5turn);
        animation-timing-function: ease-out;
    }

    96%, to {
        stroke-dashoffset: -203.795111962;
        transform: rotate(4.75turn);
    }
}

.user-manager-table thead th.actions-col,
.user-manager-table tbody td:last-child {
    width: 140px;
    white-space: nowrap;
}

/* Media queries for larger screens */
@media (max-width: 768px) {
    .container-form {
        max-width: 600px;
        position: fixed;
        inset: 0;
        margin: auto;
        width: fit-content;
        height: fit-content;
        max-width: 90vw;
        max-height: 90dvh;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 20px;
        box-sizing: border-box;
    }

    .form {
        width: 100%;
    }

    .table {
        margin-bottom: 0;
        border:none;
    }

    .table-responsive{
        border:none;
        box-shadow:none;
    }

    .row {
        margin-left: 0px !important;
        margin-right: 0px !important;
    }

    .PasscodeOptionsContainer h3 {
        font-size: 26px;
    }

    .PasscodeEntryContainer h3 {
        font-size: 26px;
    }
    /* If you use stacked rows, you usually don’t need horizontal scroll */
    .history-table-responsive {
        overflow-x: visible;
        width: 100%;
    }

    .history-table thead {
        display: none; /* hide header; labels come from data-label */
    }

    .contentContainer.HistoryManager {
        width: 90%
    }

    .history-table,
    .history-table tbody,
    .history-table tr,
    .history-table td {
        display: block;
        width: 100%;
        box-shadow:none;
    }

        .history-table tr {
            border: 1px solid #e6edf3;
            border-radius: 12px;
            margin-bottom: 12px;
            background: white;
            overflow: hidden;
        }

        .history-table td {
            padding: 10px 12px;
            border: 0;
            border-bottom: 1px solid #e6edf3;
        }

            .history-table td:last-child {
                border-bottom: 0;
            }

            /* “Label: value” layout */
            .history-table td::before {
                content: attr(data-label);
                display: block;
                font-size: 12px;
                font-weight: 700;
                color: var(--muted);
                margin-bottom: 4px;
                letter-spacing: 0.02em;
                text-transform: none;
            }

    /* On mobile, truncation usually hurts more than helps—optional */
    .truncate,
    .truncate-recipients,
    .truncate-message {
        white-space: normal; /* allow wrapping */
        overflow: visible;
        text-overflow: initial;
        max-width: 100%;
    }

    #addUserForm {
        min-width: 0;
        width: 100%;
    }

    .container-form.AddAUser {
        position: relative;
        max-width: none;
        max-height: none;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        justify-content: flex-start;
    }

    .contentContainer.UserManager {
        width: 95%;
        margin-top: 20px;
        padding: 0 8px;
    }

        /* Top action bar */
        .contentContainer.UserManager .table-actions {
            justify-content: stretch;
            width: 100%;
        }

        .contentContainer.UserManager .btn-add-user {
            width: 100%;
            justify-content: center;
            padding: 0.75rem 1rem;
        }

    /* Switch table -> stacked cards */
    .user-table-responsive {
        overflow-x: visible; /* stacked layout doesn't need scroll */
        width: 100%;
    }
    .user-manager-table thead th.actions-col,
    .user-manager-table tbody td:last-child {
        width: 100%;
    }

    .user-manager-table thead {
        display: none;
    }

    .user-manager-table,
    .user-manager-table tbody,
    .user-manager-table tr,
    .user-manager-table td {
        display: block;
        width: 100%;
    }

        .user-manager-table tr {
            border: 1px solid var(--border);
            border-radius: 12px;
            margin-bottom: 12px;
            overflow: hidden;
            background: var(--surface);
        }

        .user-manager-table td {
            padding: 10px 12px;
            border: 0;
            border-bottom: 1px solid var(--border);
            white-space: normal; /* allow wrap */
        }

            .user-manager-table td:last-child {
                border-bottom: 0;
            }

            /* “Label: value” display */
            .user-manager-table td::before {
                content: attr(data-label);
                display: block;
                font-size: 12px;
                font-weight: 700;
                color: var(--muted);
                margin-bottom: 4px;
                letter-spacing: 0.02em;
            }

            /* Actions: make buttons easier to tap */
            .user-manager-table td[data-label="Actions"] .btn,
            .user-manager-table td[data-label="Actions"] button,
            .user-manager-table td[data-label="Actions"] form {
                width: 100%;
            }

            .user-manager-table td[data-label="Actions"] form {
                margin: 0;
            }

            .user-manager-table td[data-label="Actions"] .btn {
                width: 100%;
                padding: 0.65rem 0.9rem;
                font-size: 1rem;
            }
}

@media (min-width: 992px) {
    .container {
        max-width: 800px;
    }
}

.directorySearch__Container {
    transition: opacity 150ms ease;
}

    .DirectoryBody.is-menu-open .directorySearch__Container,
    .directorySearch__Container.is-disabled {
        opacity: 0.5; /* gray it out */
        pointer-events: none; /* block mouse/touch interaction */
        user-select: none; /* avoid text selection while disabled */
        filter: grayscale(20%); /* subtle desaturation (optional) */
    }
