/* Shared native panel layout. Content remains in the page's normal flow. */
:root {--falcon-gutter:24px;--falcon-header-height:70px;}
#layout-wrapper {min-height:100vh;}
.main-content {min-width:0;min-height:100vh;display:flex;flex-direction:column;}
.main-content>.page-content {flex:1;min-width:0;padding-bottom:20px;}
.main-content .row>* {min-width:0;}
.card,.card-body,.tab-content,.tab-pane,.profile-workspace {min-width:0;}
.falcon-footer.footer {position:static;inset:auto;height:auto;margin-top:auto;padding:16px var(--falcon-gutter);}
.falcon-footer-content {display:flex;align-items:center;justify-content:space-between;gap:12px 24px;flex-wrap:wrap;}
.falcon-versions {display:flex;align-items:center;gap:8px 20px;flex-wrap:wrap;font-size:12px;}
.falcon-version {display:inline-flex;gap:7px;align-items:baseline;white-space:nowrap;}
.falcon-version-label {color:#667085;}
.falcon-version>span:last-child {font-variant-numeric:tabular-nums;font-weight:600;}
.main-content h1,.main-content h2,.main-content h3,.modal-title {overflow-wrap:anywhere;}
.table-responsive {max-width:100%;}
.form-control,.form-select,.input-group,.select2-container {max-width:100%;min-width:0;}
.input-group>.form-control,.input-group>.form-select {min-width:0;}
.select2-container {width:100%!important;}
.select2-selection__rendered {overflow-wrap:anywhere;}
.select2-selection--multiple .select2-selection__choice {max-width:100%;white-space:normal;}
textarea {max-width:100%;}
.modal-content {min-width:0;}
.modal-body p,.form-text,.alert,dialog p {overflow-wrap:anywhere;}
dialog {max-width:calc(100vw - 24px);max-height:calc(100vh - 32px);overflow:auto;}
.nav-tabs {row-gap:4px;}
.nav-tabs .nav-link {white-space:normal;}
.dataTables_wrapper .row {row-gap:8px;}
.dataTables_wrapper .dataTables_filter input {max-width:100%;}
.dataTables_wrapper .dataTables_paginate .pagination {flex-wrap:wrap;gap:3px;}
table.dataTable.dtr-inline.collapsed>tbody>tr>td.dtr-control:before {line-height:1.2;}
ul.dtr-details {width:100%;}
ul.dtr-details .dtr-data {overflow-wrap:anywhere;white-space:normal;}
.falcon-table-message td {overflow-wrap:anywhere;white-space:normal;}
.falcon-sidebar-backdrop {display:none;}
.falcon-language-toggle {display:inline-flex;align-items:center;gap:5px;text-transform:uppercase;}
.falcon-language-toggle .bx {font-size:22px;}
.falcon-language-menu {min-width:180px;max-height:min(70vh,520px);overflow-y:auto;}
.falcon-language-menu a {min-height:40px;display:flex;align-items:center;}
.falcon-auth-languages {display:flex;flex-wrap:wrap;gap:6px 12px;padding:16px 8px;font-size:12px;}
.falcon-auth-languages a {padding:4px 0;}
.falcon-auth-languages [aria-current] {font-weight:700;text-decoration:underline;}
[dir=rtl] body {text-align:right;}
[dir=rtl] .navbar-brand-box,[dir=rtl] .vertical-menu {float:right;right:0;left:auto;}
[dir=rtl] .main-content {margin-left:0;margin-right:250px;}
[dir=rtl] body.vertical-collpsed .main-content {margin-right:70px;}
[dir=rtl] .navbar-header>div {flex-direction:row;}
[dir=rtl] .dropdown-menu {text-align:right;}
[dir=rtl] .dropdown-menu-end {--bs-position:start;}
[dir=rtl] #sidebar-menu ul li .badge {float:left;}
[dir=rtl] #sidebar-menu ul li a i {float:right;margin-left:10px;margin-right:0;}
[dir=rtl] #sidebar-menu ul li a {text-align:right;}
[dir=rtl] .breadcrumb-item+.breadcrumb-item::before {float:right;padding-left:.5rem;padding-right:0;}
[dir=rtl] .form-check {padding-right:1.5em;padding-left:0;}
[dir=rtl] .form-check .form-check-input {float:right;margin-right:-1.5em;margin-left:0;}
[dir=rtl] .form-select {padding-right:.75rem;padding-left:2.25rem;background-position:left .75rem center;}
[dir=rtl] .modal-header .btn-close {margin-right:auto;margin-left:0;}
[dir=rtl] .input-group>.form-control {border-radius:0 .25rem .25rem 0!important;}
[dir=rtl] .input-group>.btn:last-child {border-radius:.25rem 0 0 .25rem!important;}
[dir=rtl] .dataTables_wrapper .dataTables_filter,[dir=rtl] .dataTables_wrapper .dataTables_paginate {text-align:left;}
.falcon-version>span:last-child,.login-attempt-code,.login-attempt-ip,
input[type=email],input[type=tel],input[type=url],input[type=number],
input[autocomplete=username],input[autocomplete=current-password],input[autocomplete=new-password] {direction:ltr;unicode-bidi:isolate;}
[dir=rtl] .login-attempts-table td:first-child,[dir=rtl] .login-attempts-table td:nth-child(3),
[dir=rtl] .login-attempts-table td:last-child {unicode-bidi:plaintext;}
@media(max-width:991.98px) {
 .main-content {margin-left:0!important;}
 [dir=rtl] .main-content,[dir=rtl] body.vertical-collpsed .main-content {margin-right:0!important;}
 .vertical-menu {top:var(--falcon-header-height)!important;height:calc(100vh - var(--falcon-header-height));}
 body.sidebar-enable .vertical-menu {width:min(280px,calc(100vw - 40px))!important;z-index:1003;}
 body.sidebar-enable .vertical-menu #sidebar-menu a span {display:inline!important;}
 body.sidebar-enable .falcon-sidebar-backdrop {display:block;position:fixed;inset:var(--falcon-header-height) 0 0;z-index:1002;background:rgba(24,34,52,.38);border:0;padding:0;width:100%;}
 body.sidebar-enable {overflow:hidden;}
 .page-title-box {gap:8px;}
 .page-title-right {max-width:100%;}
 .page-title-right .breadcrumb {flex-wrap:wrap;}
 .main-content .card-body {padding:18px;}
 .modal-dialog {margin:12px;max-width:calc(100% - 24px);}
 .modal-lg,.modal-xl {width:auto;}
 .profile-tabs {display:flex;flex-wrap:wrap;}
 .profile-tabs .nav-item {flex:1 1 auto;text-align:center;}
 .profile-tabs .nav-link {height:100%;}
}
@media(max-width:767.98px) {
 :root {--falcon-gutter:16px;}
 .page-content>.container-fluid {padding-right:16px;padding-left:16px;}
 .falcon-footer.footer {padding:16px;}
 .falcon-footer .container-fluid {padding:0;}
 .falcon-footer-content {align-items:flex-start;gap:10px;}
 .falcon-versions {gap:6px 16px;}
 .form-control,.form-select,.select2-search__field {font-size:16px;}
 .form-control:not(textarea),.form-select {min-height:42px;}
 .btn:not(.btn-close),.page-link {min-height:40px;}
 .form-check-input {min-width:18px;min-height:18px;}
 .modal-footer {gap:8px;}
 .modal-footer>* {margin:0;}
 .modal-footer .btn {flex:1 1 auto;}
 .modal-body,.modal-header,.modal-footer {padding:16px;}
 .modal-title {font-size:18px;}
 .nav-tabs .nav-link {padding:12px 10px;}
 #auth-delivery-settings .nav-tabs .nav-item {flex:1 1 auto;}
 .main-content .d-flex.gap-2,.main-content .d-flex.gap-3,.main-content .d-flex.justify-content-between {flex-wrap:wrap;}
 .dataTables_wrapper .dt-buttons.flex-nowrap {flex-wrap:wrap!important;}
 .dataTables_wrapper .dt-buttons {display:flex;gap:8px;flex-wrap:wrap;}
 .dataTables_wrapper .dataTables_filter {max-width:none;width:100%;text-align:left;margin:0;}
 .dataTables_wrapper .dataTables_filter label {display:flex;width:100%;align-items:center;gap:8px;}
 .dataTables_wrapper .dataTables_filter input {flex:1;min-width:0;width:100%!important;margin-left:0!important;}
 [dir=rtl] .dataTables_wrapper .dataTables_filter,[dir=rtl] .dataTables_wrapper .dataTables_info,[dir=rtl] .dataTables_wrapper .dataTables_paginate {text-align:right!important;}
 .dataTables_wrapper .dataTables_length label {display:flex;align-items:center;gap:8px;flex-wrap:wrap;}
 .dataTables_wrapper .dataTables_length select {min-width:72px;}
 .dataTables_wrapper .dataTables_info,.dataTables_wrapper .dataTables_paginate {text-align:left!important;}
 .dataTables_wrapper .dataTables_paginate .pagination {justify-content:flex-start!important;margin-top:8px;}
 .admin-review-filters {flex-wrap:wrap;}
 .admin-review-filters>.form-select {flex:1 1 140px;max-width:none;}
 .admin-ui .mod-stats {grid-template-columns:repeat(2,minmax(0,1fr));}
 .lm-grid {grid-template-columns:minmax(0,1fr);}
 .lm-card {padding:20px;}
 .lm-breadcrumb {flex-wrap:wrap;}
 .lm-heading {flex-wrap:wrap;gap:12px;}
 .lm-connect-heading {align-items:flex-start;}
 .lm-share-heading,.lm-share-footer {flex-wrap:wrap;gap:12px;}
 .lm-endpoint {max-width:100%;}
 .lm-endpoint dd {overflow-wrap:anywhere;}
 .lm-qr canvas,.lm-qr img {max-width:100%;height:auto;}
 .falcon-mobile-table {display:block;width:100%;border:0;}
 .falcon-mobile-table thead {position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;}
 .falcon-mobile-table tbody {display:block;width:100%;}
 .falcon-mobile-table tbody tr {display:block;padding:12px 0;border-bottom:1px solid #eff2f7;}
 .falcon-mobile-table tbody td {display:grid;grid-template-columns:minmax(90px,.5fr) minmax(0,1fr);gap:12px;padding:5px 0!important;border:0!important;white-space:normal!important;overflow-wrap:anywhere;}
 .falcon-mobile-table tbody td:before {content:attr(data-label);color:#74788d;font-size:12px;font-weight:500;}
 .falcon-mobile-table .falcon-table-message td {display:block;}
 .falcon-mobile-table .falcon-table-message td:before {content:none;}
 .login-attempts-table {table-layout:fixed;}
 .login-attempts-table thead th {white-space:normal;overflow-wrap:anywhere;font-size:10px;}
 .login-attempts-table th:nth-child(1) {width:35%;}
 .login-attempts-table th:nth-child(2) {width:25%;}
 .login-attempts-table th:nth-child(3) {width:20%;}
 .login-attempts-table th:nth-child(4) {width:20%;}
 .login-attempts-table td {overflow:hidden;text-overflow:ellipsis;}
 .login-attempts-table td:first-child {max-width:none;}
 .login-attempt-ip {display:block;max-width:100%;margin-left:0;font-size:9px;}
 .login-attempts-table td:last-child {font-size:10px;white-space:normal;}
 .login-attempts-scroll {overflow:visible!important;max-height:none!important;}
 #welcome-languages {overflow-wrap:anywhere;}
 .welcome-preview {max-width:100%;white-space:normal;overflow-wrap:anywhere;}
 .welcome-person {min-width:0;}
}
@media(max-width:575.98px) {
 :root {--falcon-header-height:64px;}
 #page-topbar .navbar-header {height:64px;padding:0 8px;}
 #page-topbar .navbar-brand-box {width:44px!important;padding:0;text-align:center;}
 #page-topbar .logo-sm img {max-width:28px;height:auto;}
 #vertical-menu-btn {padding-right:8px!important;padding-left:8px!important;min-width:40px;}
 #page-topbar .header-item {height:64px;padding:0 8px;}
 #page-topbar .header-item img {max-width:25px;height:auto;}
 #page-header-user-dropdown .ms-1 {display:inline-block;max-width:72px;overflow:hidden;text-overflow:ellipsis;vertical-align:middle;}
 #page-topbar .dropdown-menu {max-width:calc(100vw - 24px);}
 .main-content>.page-content {padding-top:88px;}
 .main-content .card-body {padding:16px;}
 #dashboard-stats>.col-12 {flex:0 0 50%;max-width:50%;}
 #dashboard-stats .card-body {padding:12px;}
 #dashboard-stats .avatar-sm {width:30px;height:30px;}
 #dashboard-stats .font-size-24 {font-size:20px!important;}
 #dashboard-stats h3 {font-size:22px;}
 .falcon-footer-content {flex-direction:column;}
 .falcon-versions {width:100%;justify-content:space-between;gap:8px;}
 .falcon-version {font-size:11px;gap:5px;}
 .page-title-right {display:none;}
 .page-title-box {padding-bottom:16px;}
 .page-title-box h4 {font-size:17px!important;line-height:1.4;}
 .lm-card {padding:16px;}
 .lm-qr-wrap {max-width:100%;}
 .profile-tabs .nav-link {font-size:12px;padding:12px 8px;}
 .account-pages {margin:24px 0!important;}
 body>main {padding:24px;}
}
@media(prefers-reduced-motion:reduce) {
 .main-content,.vertical-menu,.modal,.modal-dialog {scroll-behavior:auto;transition:none!important;}
}

/* Shared language flags and the sign-in picker align with form inputs. */
.falcon-language-flag{width:24px;min-width:24px;height:24px;border-radius:0;clip-path:none;mask:none;overflow:visible;object-fit:contain;flex-shrink:0;vertical-align:middle}.falcon-language-toggle{display:inline-flex;align-items:center;gap:8px;max-width:190px}.falcon-language-toggle span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.falcon-language-menu{max-height:65vh;overflow-y:auto}.falcon-language-menu .dropdown-item{display:flex;align-items:center;gap:10px}.falcon-login-language{width:100%;position:relative}.falcon-language-picker summary{display:flex;align-items:center;gap:10px;min-height:40px;cursor:pointer;list-style:none}.falcon-language-picker summary::-webkit-details-marker{display:none}.falcon-language-picker summary i{margin-inline-start:auto}.falcon-language-picker[open] summary{border-color:#aab6f3;box-shadow:0 0 0 .15rem #556ee622}.falcon-language-options{position:absolute;inset-inline:0;top:100%;z-index:1050;background:#fff;border:1px solid #ced4da;border-radius:6px;padding:5px;box-shadow:0 8px 24px #18234c20;max-height:280px;max-height:min(280px,50vh);overflow-y:auto}.falcon-language-options a{display:flex;align-items:center;gap:10px;padding:9px 10px;color:#343a40;text-decoration:none;border-radius:4px}.falcon-language-options a:hover,.falcon-language-options a:focus-visible,.falcon-language-options [aria-current]{background:#eef0ff;color:#4657bd}@media(max-width:575px){.falcon-language-toggle{max-width:135px;padding-inline:8px!important}.falcon-language-toggle span{max-width:88px}}
