:root {
    --theme-primary: #377dff;
    --theme-primary-dark: #2a64d4;
    --theme-primary-soft: #ebf2ff;
    --theme-ink: #0f172a;
    --theme-muted: #64748b;
    --theme-line: rgba(148, 163, 184, 0.24);
    --theme-surface: rgba(255, 255, 255, 0.88);
    --theme-surface-strong: #ffffff;
    --theme-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
    --bs-primary: #377dff;
    --bs-primary-rgb: 55, 125, 255;
    --bs-link-color: #377dff;
    --bs-link-hover-color: #2a64d4;
}

html {
    min-height: 100%;
    font-size: 16px;
}

body,
body * {
    font-size: 16px;
}

body.theme-shell {
    min-height: 100vh;
    font-family: "Plus Jakarta Sans", sans-serif;
    color: var(--theme-ink);
    background:
        radial-gradient(circle at top left, rgba(55, 125, 255, 0.16), transparent 34%),
        radial-gradient(circle at top right, rgba(14, 165, 233, 0.14), transparent 30%),
        linear-gradient(180deg, #f8fbff 0%, #f5f7fb 54%, #eef4ff 100%);
}

body.theme-shell::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.5) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.5) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.5), transparent 85%);
    opacity: 0.25;
}

body.theme-admin {
    background:
        radial-gradient(circle at top left, rgba(55, 125, 255, 0.12), transparent 32%),
        radial-gradient(circle at top right, rgba(30, 41, 59, 0.1), transparent 24%),
        linear-gradient(180deg, #f8fbff 0%, #f1f5f9 100%);
}

.admin-topbar-nav {
    scrollbar-width: none;
}

.admin-topbar-nav::-webkit-scrollbar {
    display: none;
}

.admin-nav-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    border-radius: 999px;
    background: rgba(241, 245, 249, 0.88);
    padding: 0.9rem 1.35rem;
    color: #334155;
    font-weight: 800;
    letter-spacing: -0.02em;
    transition: all 0.2s ease;
}

.admin-nav-pill:hover,
.admin-nav-pill:focus {
    background: rgba(226, 232, 240, 0.95);
    color: var(--theme-primary-dark);
}

.admin-nav-pill.is-active {
    background: linear-gradient(135deg, rgba(235, 242, 255, 0.98), rgba(214, 229, 255, 0.94));
    color: var(--theme-primary-dark);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.admin-hero {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0.58)),
        radial-gradient(circle at 12% 22%, rgba(55, 125, 255, 0.16), transparent 28%),
        radial-gradient(circle at 78% 18%, rgba(14, 165, 233, 0.12), transparent 24%);
    backdrop-filter: blur(18px);
}

.admin-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.35), transparent 30%, rgba(255, 255, 255, 0.28) 65%, transparent);
}

.admin-module-card {
    position: relative;
    overflow: hidden;
}

.admin-module-card::after {
    content: "";
    position: absolute;
    inset: auto auto -72px -56px;
    width: 180px;
    height: 180px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(55, 125, 255, 0.12), transparent 68%);
    pointer-events: none;
}

.admin-mini-link {
    transition: all 0.2s ease;
}

.admin-mini-link:hover,
.admin-mini-link:focus {
    background: rgba(235, 242, 255, 0.95);
    color: var(--theme-primary-dark);
}

a {
    text-decoration: none;
}

.topbar-shell {
    padding: 0;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.9)),
        radial-gradient(circle at top right, rgba(55, 125, 255, 0.12), transparent 28%) !important;
    border: 0;
    border-radius: 0;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.topbar-shell .container {
    padding-left: var(--bs-gutter-x, 0.75rem);
    padding-right: var(--bs-gutter-x, 0.75rem);
}

.topbar-shell-inner {
    width: 100%;
    background: transparent;
    border: 0;
    backdrop-filter: none;
    border-radius: 0;
    box-shadow: none;
    padding: 0.55rem 0;
}

.brand-mark {
    width: 2.45rem;
    height: 2.45rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    color: #fff;
    background: linear-gradient(135deg, var(--theme-primary), #5ea2ff);
    box-shadow: 0 14px 30px rgba(55, 125, 255, 0.32);
}

.navbar-brand {
    color: var(--theme-ink) !important;
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.navbar-brand small {
    display: block;
    margin-top: 0.12rem;
    color: var(--theme-muted);
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.nav-pill-group,
.nav-action-group {
    gap: 0.4rem;
    align-items: center;
}

.topbar-shell .nav-link {
    color: #334155 !important;
    font-weight: 700;
    border-radius: 999px;
    padding: 0.48rem 0.82rem !important;
    transition: all 0.2s ease;
}

.topbar-shell .nav-link:hover,
.topbar-shell .nav-link:focus,
.topbar-shell .nav-link.active {
    color: var(--theme-primary-dark) !important;
    background: rgba(55, 125, 255, 0.1);
}

.topbar-shell .dropdown-menu {
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 1rem;
    padding: 0.6rem;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
}

.topbar-shell .dropdown-menu-admin {
    min-width: 18rem;
}

.topbar-shell .dropdown-item {
    border-radius: 0.85rem;
    font-weight: 600;
    padding: 0.7rem 0.9rem;
}

.topbar-shell .dropdown-item-title {
    display: block;
    color: var(--theme-ink);
}

.topbar-shell .dropdown-item-meta {
    display: block;
    margin-top: 0.18rem;
    color: var(--theme-muted);
    font-size: 0.74rem;
    font-weight: 600;
}

.topbar-shell .dropdown-item:hover,
.topbar-shell .dropdown-item:focus {
    background: var(--theme-primary-soft);
    color: var(--theme-primary-dark);
}

.nav-cta {
    background: linear-gradient(135deg, var(--theme-primary), #5ea2ff);
    color: #fff !important;
    box-shadow: 0 12px 26px rgba(55, 125, 255, 0.24);
}

.nav-cta:hover,
.nav-cta:focus {
    background: linear-gradient(135deg, var(--theme-primary-dark), #377dff);
    color: #fff !important;
}

.nav-cta-alt {
    background: rgba(55, 125, 255, 0.12);
    color: var(--theme-primary-dark) !important;
    box-shadow: none;
}

.nav-cta-alt:hover,
.nav-cta-alt:focus {
    background: rgba(55, 125, 255, 0.18);
    color: var(--theme-primary-dark) !important;
}

.nav-meta-text .nav-link {
    color: var(--theme-muted) !important;
    font-size: 0.92rem;
}

.topbar-shell-public {
    padding-top: 0;
}

.topbar-shell-inner-public {
    display: flex;
    align-items: center;
    gap: 0.95rem;
    min-height: 64px;
    padding: 0.55rem 0;
}

.topbar-brand-public {
    flex-shrink: 0;
    margin-right: 0;
}

.topbar-brand-title {
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.04em;
    color: var(--theme-ink);
}

.topbar-brand-copy {
    display: flex;
    flex-direction: column;
    gap: 0.08rem;
}

.topbar-brand-copy strong {
    display: block;
    font-size: clamp(1rem, 1.7vw, 1.35rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.topbar-brand-copy small {
    margin-top: 0;
    font-size: 0.62rem;
    letter-spacing: 0.14em;
}

.topbar-shell-public .brand-mark {
    width: 2.45rem;
    height: 2.45rem;
    border-radius: 0.85rem;
}

.topbar-toggler-public {
    margin-left: auto;
    border: 1px solid rgba(203, 213, 225, 0.8);
    border-radius: 0.95rem;
    padding: 0.4rem 0.55rem;
    box-shadow: none;
}

.topbar-toggler-public:focus {
    box-shadow: 0 0 0 0.2rem rgba(55, 125, 255, 0.14);
}

.topbar-main-nav-public {
    margin: 0 auto;
    padding: 0.2rem;
    border: 1px solid rgba(226, 232, 240, 0.88);
    border-radius: 999px;
    background: rgba(248, 250, 252, 0.95);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.topbar-shell-public .topbar-main-nav-public .nav-link {
    padding: 0.5rem 0.9rem !important;
    color: #475569 !important;
    border-radius: 999px;
}

.topbar-shell-public .topbar-main-nav-public .nav-link.active,
.topbar-shell-public .topbar-main-nav-public .nav-link:hover,
.topbar-shell-public .topbar-main-nav-public .nav-link:focus {
    color: #0f172a !important;
    background: #ffffff;
    box-shadow: 0 8px 18px rgba(148, 163, 184, 0.18);
}

.topbar-actions-public {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.55rem;
    flex-shrink: 0;
    margin-left: auto;
}

.topbar-powered-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.56rem 0.82rem;
    border-radius: 999px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    background: rgba(255, 255, 255, 0.88);
    color: #64748b;
    font-weight: 700;
    transition: all 0.2s ease;
}

.topbar-powered-link:hover,
.topbar-powered-link:focus {
    color: #0f172a;
    border-color: rgba(148, 163, 184, 0.5);
}

.topbar-powered-label {
    color: #94a3b8;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.topbar-powered-name {
    color: #475569;
}

.topbar-cta-public {
    padding: 0.46rem 1.2rem !important;
    min-width: 7.5rem;
    font-size: 0.95rem !important;
    text-align: center;
    color: #fff !important;
}

.topbar-cta-public:hover,
.topbar-cta-public:focus,
.topbar-cta-public:active {
    color: #fff !important;
}

.auth-access-dialog {
    max-width: 560px;
    padding: 1rem;
}

.auth-access-modal {
    border-radius: 2rem;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 32px 90px rgba(15, 23, 42, 0.22);
}

.auth-access-heading {
    max-width: 420px;
}

.auth-access-eyebrow {
    color: #2563eb;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.auth-access-subtitle {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
}

.auth-access-switcher {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem;
    margin: 0;
    border-radius: 999px;
    background: #f1f5f9;
    list-style: none;
}

.auth-access-switcher .nav-link {
    min-width: 108px;
    padding: 0.75rem 1.25rem;
    border-radius: 999px;
    color: #475569;
    font-weight: 800;
    text-align: center;
    transition: all 0.2s ease;
}

.auth-access-switcher .nav-link.active,
.auth-access-switcher .nav-link:hover,
.auth-access-switcher .nav-link:focus {
    color: #fff;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.22);
}

.auth-access-form {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.auth-access-form-intro {
    margin-bottom: 0.75rem;
}

.auth-access-form-intro h6 {
    margin-bottom: 0.35rem;
    color: #0f172a;
    font-size: 1.05rem;
    font-weight: 800;
}

.auth-access-form-intro p,
.auth-access-footnote {
    color: #64748b;
    font-size: 0.95rem;
}

.auth-access-input {
    min-height: 58px;
    border: 1px solid #dbe4f0;
    border-radius: 1.25rem;
    background: #f8fbff;
    padding: 0.95rem 1.1rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.auth-access-input:focus {
    border-color: #93c5fd;
    background: #fff;
    box-shadow: 0 0 0 0.25rem rgba(59, 130, 246, 0.14);
}

.auth-access-submit {
    min-height: 58px;
    border-radius: 1.25rem;
    font-size: 1rem;
}

.auth-access-text-link {
    color: #2563eb;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
}

.auth-access-text-link:hover,
.auth-access-text-link:focus,
.auth-access-footnote a:hover,
.auth-access-footnote a:focus {
    color: #1d4ed8;
}

.auth-access-footnote {
    margin-top: 1.15rem;
}

@media (min-width: 992px) {
    .topbar-collapse-public {
        display: flex !important;
        align-items: center;
        flex: 1 1 auto;
        justify-content: space-between;
        gap: 1.25rem;
    }
}

.wrapper,
.container {
    position: relative;
    z-index: 1;
}

.wrapper {
	min-width: 100%;
}

.container,
.container-fluid {
    max-width: 1180px;
}

.theme-shell .container.py-4,
.theme-shell .container.py-5,
.theme-shell .wrapper .container {
    background: transparent;
}

.theme-shell h1,
.theme-shell h2,
.theme-shell h3,
.theme-shell h4,
.theme-shell h5,
.theme-shell h6 {
    color: var(--theme-ink);
    font-weight: 800;
    letter-spacing: -0.03em;
}

.theme-shell .text-muted,
.theme-shell .form-text,
.theme-shell .small {
    color: var(--theme-muted) !important;
}

.theme-shell .card,
.theme-shell .modal-content,
.theme-shell .table,
.theme-shell .alert,
.theme-shell .navbar .dropdown-menu,
.theme-shell .dataTables_wrapper .dataTables_length select,
.theme-shell .dataTables_wrapper .dataTables_filter input,
.theme-shell .select2-container .select2-selection,
.theme-shell .jexcel_container {
    border-radius: 1.5rem;
}

.theme-shell .card,
.theme-shell .modal-content,
.theme-shell .alert,
.theme-shell .table-responsive,
.theme-shell table.dataTable,
.theme-shell .jexcel_container {
    background: var(--theme-surface);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.65);
    box-shadow: var(--theme-shadow);
}

.theme-shell .card {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.65);
}

.theme-shell .card-header,
.theme-shell .modal-header,
.theme-shell .modal-footer {
    background: rgba(255, 255, 255, 0.56);
    border-color: var(--theme-line);
}

.theme-shell .card-header {
    padding: 1rem 1.35rem;
    font-weight: 700;
}

.theme-shell .card-body {
    padding: 1.4rem;
}

.theme-shell .alert {
    border: 1px solid rgba(55, 125, 255, 0.14);
    padding: 1rem 1.25rem;
    border-radius: 1rem;
    line-height: 1.5;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.theme-shell .alert-info {
    color: #1d4ed8;
    background: rgba(219, 234, 254, 0.7);
}

.theme-shell .alert-warning {
    background: rgba(254, 243, 199, 0.9);
    color: #92400e;
    border-color: rgba(245, 158, 11, 0.22);
}

.theme-shell .alert-danger {
    background: rgba(254, 226, 226, 0.82);
    color: #b91c1c;
}

.theme-shell .alert-success {
    background: rgba(220, 252, 231, 0.8);
    color: #166534;
}

.theme-shell .btn {
    border-radius: 1rem;
    padding: 0.72rem 1.1rem;
    font-weight: 700;
    border-width: 1px;
    box-shadow: none;
}

.theme-shell .btn-sm {
    border-radius: 0.85rem;
    padding: 0.5rem 0.85rem;
}

.theme-shell .btn-primary,
.theme-shell .btn-warning {
    border-color: transparent;
    background: linear-gradient(135deg, var(--theme-primary), #5ea2ff);
    color: #fff;
    box-shadow: 0 14px 28px rgba(55, 125, 255, 0.22);
}

.theme-shell .btn-primary:hover,
.theme-shell .btn-primary:focus,
.theme-shell .btn-warning:hover,
.theme-shell .btn-warning:focus {
    background: linear-gradient(135deg, var(--theme-primary-dark), #377dff);
    color: #fff;
}

.theme-shell .btn-outline-secondary,
.theme-shell .btn-outline-primary,
.theme-shell .btn-secondary {
    border-color: rgba(148, 163, 184, 0.3);
    background: rgba(255, 255, 255, 0.72);
    color: #334155;
}

.theme-shell .btn-outline-danger,
.theme-shell .btn-danger {
    border-color: rgba(239, 68, 68, 0.2);
}

.theme-shell .form-control,
.theme-shell .form-select,
.theme-shell textarea,
.theme-shell input[type="text"],
.theme-shell input[type="email"],
.theme-shell input[type="password"],
.theme-shell input[type="file"] {
    border-radius: 1rem;
    border: 1px solid rgba(203, 213, 225, 0.75);
    background: rgba(248, 250, 252, 0.9);
    padding: 0.82rem 1rem;
    color: var(--theme-ink);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.theme-shell .form-control:focus,
.theme-shell .form-select:focus,
.theme-shell textarea:focus {
    border-color: rgba(55, 125, 255, 0.5);
    box-shadow: 0 0 0 0.28rem rgba(55, 125, 255, 0.12);
}

.theme-shell .select2-container {
    width: 100% !important;
}

.theme-shell .select2-field {
    position: relative;
    width: 100%;
    overflow-x: clip;
}

.theme-shell .select2-container .select2-selection--single {
    min-height: 56px;
    display: flex;
    align-items: center;
    padding: 0 1rem;
    border: 1px solid rgba(203, 213, 225, 0.75);
    background: rgba(248, 250, 252, 0.9);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.theme-shell .select2-container--default .select2-selection--single .select2-selection__rendered {
    width: 100%;
    padding-left: 0;
    padding-right: 1.75rem;
    line-height: 1.5;
    color: var(--theme-ink);
}

.theme-shell .select2-container--default .select2-selection--single .select2-selection__placeholder,
.theme-shell .select2-container--default .select2-selection--single .select2-selection__clear {
    color: var(--theme-muted);
}

.theme-shell .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 100%;
    right: 1rem;
}

.theme-shell .select2-container--default.select2-container--open .select2-selection--single,
.theme-shell .select2-container--default.select2-container--focus .select2-selection--single {
    border-color: rgba(55, 125, 255, 0.5);
    box-shadow: 0 0 0 0.28rem rgba(55, 125, 255, 0.12);
}

.theme-shell .select2-dropdown {
    border: 1px solid rgba(203, 213, 225, 0.85);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.14);
    box-sizing: border-box;
}

.theme-shell .select2-search--dropdown {
    padding: 0.75rem;
    background: #fff;
    box-sizing: border-box;
}

.theme-shell .select2-search--dropdown .select2-search__field {
    width: 100% !important;
    max-width: 100%;
    border: 1px solid rgba(203, 213, 225, 0.85);
    border-radius: 0.85rem;
    padding: 0.65rem 0.85rem;
    box-sizing: border-box;
}

.theme-shell .select2-results__option {
    padding: 0.75rem 1rem;
    white-space: normal;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.theme-shell .select2-container--default .select2-results__option--highlighted[aria-selected] {
    background: rgba(55, 125, 255, 0.1);
    color: #1e3a8a;
}

.theme-shell .form-check-input:checked {
    background-color: var(--theme-primary);
    border-color: var(--theme-primary);
}

.theme-shell .nav-tabs {
    gap: 0.65rem;
    border-bottom: 0;
    flex-wrap: wrap;
}

.theme-shell .nav-tabs .nav-link {
    border: 1px solid rgba(203, 213, 225, 0.45);
    background: rgba(255, 255, 255, 0.75);
    color: #475569;
    border-radius: 999px;
    padding: 0.72rem 1rem;
    font-weight: 700;
}

.theme-shell .nav-tabs .nav-link.active {
    color: #fff;
    background: linear-gradient(135deg, var(--theme-primary), #5ea2ff);
    border-color: transparent;
}

.theme-shell table {
    color: var(--theme-ink);
}

.theme-shell .table {
    --bs-table-bg: transparent;
    --bs-table-striped-bg: rgba(248, 250, 252, 0.8);
    --bs-table-hover-bg: rgba(235, 242, 255, 0.9);
    overflow: hidden;
}

.theme-shell .table > :not(caption) > * > * {
    border-bottom-color: rgba(226, 232, 240, 0.9);
    padding: 1rem 1.05rem;
}

.theme-shell .table thead th {
    background: rgba(255, 255, 255, 0.65);
    color: var(--theme-muted);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.theme-shell .badge {
    border-radius: 999px;
    padding: 0.48rem 0.8rem;
}

.theme-shell .modal-dialog {
    padding-top: 2rem;
}

.theme-shell .modal-content {
    overflow: hidden;
}

.theme-shell .border-bottom {
    border-bottom: 1px solid rgba(203, 213, 225, 0.5) !important;
}

.theme-shell .dataTables_wrapper .dataTables_filter input,
.theme-shell .dataTables_wrapper .dataTables_length select {
    border: 1px solid rgba(203, 213, 225, 0.75);
    background: rgba(248, 250, 252, 0.9);
    padding: 0.45rem 0.75rem;
}

.theme-shell .dataTables_wrapper .paginate_button {
    border-radius: 999px !important;
}

.theme-shell .page-link {
    border-radius: 999px !important;
    border-color: rgba(203, 213, 225, 0.65);
    color: #334155;
}

.theme-shell .page-item.active .page-link {
    background: linear-gradient(135deg, var(--theme-primary), #5ea2ff);
    border-color: transparent;
}

.theme-shell #myInput {
    width: min(100%, 340px);
    margin-bottom: 1.25rem;
}

.theme-shell sx-tr {
    display: block;
}

.theme-shell .card-img-top {
    border-bottom: 1px solid rgba(226, 232, 240, 0.85);
}

.theme-shell .portal-page {
    padding-top: 1.25rem !important;
}

.theme-shell .portal-hero {
    margin-bottom: 1.5rem;
    overflow: hidden;
    border-radius: 1.75rem;
    border: 1px solid rgba(191, 219, 254, 0.75);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(219, 234, 254, 0.9));
    box-shadow: 0 22px 48px rgba(148, 163, 184, 0.18);
}

.theme-shell .portal-hero-image {
    display: block;
    width: 100%;
    height: min(34vw, 300px);
    object-fit: cover;
}

.theme-shell .portal-tip {
    margin-bottom: 1.5rem;
}

.theme-shell .portal-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.theme-shell .portal-toolbar .portal-tabs {
    flex: 1 1 480px;
    margin-bottom: 0 !important;
}

.theme-shell .portal-toolbar .portal-tabs .nav-item {
    margin-bottom: 0.35rem;
}

.theme-shell .portal-toolbar .portal-tabs .nav-link {
    min-height: 50px;
    min-width: 122px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid rgba(191, 219, 254, 0.95);
    background: rgba(255, 255, 255, 0.88);
    color: #1e3a8a;
    font-weight: 600;
    padding: 0.45rem 1.15rem;
}

.theme-shell .portal-toolbar .portal-tabs .nav-link.active {
    border-color: rgba(55, 125, 255, 0.3);
    background: linear-gradient(135deg, #377dff, #245fdb);
    color: #fff;
    box-shadow: 0 14px 32px rgba(37, 99, 235, 0.2);
}

.theme-shell .portal-toolbar .portal-tabs .nav-link:hover,
.theme-shell .portal-toolbar .portal-tabs .nav-link:focus {
    border-color: rgba(55, 125, 255, 0.45);
    color: #1d4ed8;
}

.theme-shell .portal-toolbar .portal-search {
    flex: 0 0 300px;
    margin-left: auto;
}

.theme-shell .portal-tabs {
    margin-bottom: 0.75rem !important;
}

.theme-shell .portal-search {
    width: min(100%, 300px);
    min-height: 50px;
    height: 50px;
    border-radius: 999px !important;
    font-size: 0.98rem;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

@media (max-width: 991.98px) {
    .theme-shell .portal-toolbar .portal-tabs {
        flex-basis: 100%;
    }

    .theme-shell .portal-toolbar .portal-search {
        flex-basis: 100%;
        margin-left: 0;
    }
}

@media (max-width: 575.98px) {
    .theme-shell .portal-toolbar .portal-tabs .nav-link {
        min-height: 46px;
        min-width: 108px;
        padding: 0.4rem 0.95rem;
    }

    .theme-shell .portal-search {
        min-height: 46px;
        height: 46px;
    }
}

.theme-shell .artwork-card {
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 18px 40px rgba(148, 163, 184, 0.16);
}

.theme-shell .artwork-card-image {
    background: linear-gradient(180deg, #eef5ff 0%, #dbeafe 100%);
}

.theme-shell .artwork-card-body {
    padding-top: 1.25rem;
}

.theme-shell .vote-btn {
    min-width: 4.9rem;
    border-color: rgba(55, 125, 255, 0.35);
    background: rgba(239, 246, 255, 0.92);
    color: var(--theme-primary-dark);
    box-shadow: none;
}

.theme-shell .vote-btn:hover,
.theme-shell .vote-btn:focus {
    border-color: rgba(55, 125, 255, 0.45);
    background: rgba(219, 234, 254, 0.96);
    color: var(--theme-primary-dark);
}

.theme-shell .vote-btn.disabled,
.theme-shell .vote-btn:disabled {
    border-color: rgba(148, 163, 184, 0.24);
    background: rgba(248, 250, 252, 0.92);
    color: #64748b;
    opacity: 1;
}

.theme-shell .coming-soon-modal .modal-dialog {
    max-width: 420px;
    transition: none;
}

.theme-shell .coming-soon-modal-content {
    border-radius: 1.75rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(239, 246, 255, 0.96));
    animation: none;
}

.theme-shell .coming-soon-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0.45rem 1rem;
    border-radius: 999px;
    background: rgba(55, 125, 255, 0.12);
    color: #1d4ed8;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.theme-shell .coming-soon-title {
    margin: 1.25rem 0 0.75rem;
    color: #0f172a;
    font-size: 1.8rem;
    font-weight: 800;
}

.theme-shell .coming-soon-text {
    color: #475569;
    font-size: 1rem;
}

.modal-backdrop.show {
    opacity: 1;
    background-color: rgba(15, 23, 42, 0.38);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    transition: none;
}

.admin-home-card {
    min-height: 280px;
}

.admin-home-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    min-height: 220px;
}

.admin-home-eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: rgba(55, 125, 255, 0.1);
    color: var(--theme-primary-dark);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.admin-home-title {
    margin-top: 1rem;
    font-size: clamp(1.8rem, 4vw, 2.4rem);
}

.admin-home-text {
    max-width: 680px;
    color: #475569;
    font-size: 1rem;
    line-height: 1.8;
}

.admin-home-groups {
    display: grid;
    gap: 0.85rem;
    min-width: 220px;
}

.admin-home-groups span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 1.1rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(203, 213, 225, 0.5);
    color: #334155;
    font-weight: 700;
}

@media (max-width: 991.98px) {
    .topbar-shell-inner {
        border-radius: 0;
    }

    .topbar-shell-inner-public {
        align-items: flex-start;
    }

    .topbar-collapse-public {
        width: 100%;
        align-items: stretch;
        margin-top: 1rem;
    }

    .topbar-main-nav-public {
        margin: 0;
        border-radius: 1.25rem;
    }

    .topbar-actions-public {
        flex-direction: column;
        align-items: stretch;
    }

    .topbar-powered-link,
    .topbar-cta-public {
        justify-content: center;
    }

    .nav-meta-text {
        display: none;
    }

    .admin-home-hero {
        flex-direction: column;
        align-items: flex-start;
    }

    .admin-home-groups {
        width: 100%;
        min-width: 0;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .auth-access-dialog {
        padding: 0.35rem;
    }

    .auth-access-modal {
        border-radius: 1.4rem;
    }

    .auth-access-switcher {
        display: flex;
        width: 100%;
    }

    .auth-access-switcher .nav-item,
    .auth-access-switcher .nav-link {
        flex: 1 1 0;
        min-width: 0;
    }

    .topbar-shell {
        padding: 0;
    }

    .topbar-shell-inner {
        padding: 0.5rem 0;
    }

    .topbar-shell-public {
        padding-top: 0;
    }

    .topbar-shell-inner-public {
        gap: 0.75rem;
    }

    .brand-mark {
        width: 2.2rem;
        height: 2.2rem;
        border-radius: 0.75rem;
    }

    .topbar-brand-copy strong {
        font-size: 1rem;
    }

    .topbar-brand-copy small {
        letter-spacing: 0.14em;
    }

    .topbar-main-nav-public .nav-link {
        text-align: center;
    }

    .topbar-powered-link {
        flex-wrap: wrap;
    }

    .topbar-shell .dropdown-menu-admin {
        min-width: 100%;
    }

    .admin-home-groups {
        grid-template-columns: 1fr;
    }

    .theme-shell .portal-page {
        padding-top: 0.9rem !important;
    }

    .theme-shell .portal-hero {
        margin-bottom: 1.1rem;
        border-radius: 1.2rem;
    }

    .theme-shell .portal-hero-image {
        height: 180px;
    }

    .theme-shell .portal-search {
        width: 100%;
        min-height: 62px;
    }
}

.sub-dropdown:hover .dropdown-menu {
	display: block;
	margin-top: 0; 
	position: absolute;
	left: 100%;
	top: 0;
}

.sub-dropdown.dropend .dropdown-toggle::after {
	position: absolute;
	right: var(--bs-dropdown-item-padding-x);
	top: 50%;
	transform: translateY(-50%);
}

.wrapper {
	min-width: 100vh !important;
}

#Loading{
    position:fixed;
    z-index:99999;
    height:2em;
    width:2em;
    overflow:visible;
    margin:auto;
    top:0;
    left:0;
    bottom:0;
    right:0
}
#Loading:before{
    content:"";
    display:block;
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background-color:rgba(0,0,0,0.1)
}
#Loading:not(:required){
    font:0/0 a;
    color:transparent;
    text-shadow:none;
    background-color:transparent;
    border:0
}
#Loading:not(:required):after{
    content:"";
    display:block;
    font-size:10px;
    width:1em;
    height:1em;
    margin-top:-.5em;
    -webkit-animation:spinner 1.5s infinite linear;
    -moz-animation:spinner 1.5s infinite linear;
    -ms-animation:spinner 1.5s infinite linear;
    -o-animation:spinner 1.5s infinite linear;
    animation:spinner 1.5s infinite linear;
    border-radius:.5em;
    -webkit-box-shadow:rgba(0,0,0,0.75) 1.5em 0 0 0,rgba(0,0,0,0.75) 1.1em 1.1em 0 0,rgba(0,0,0,0.75) 0 1.5em 0 0,rgba(0,0,0,0.75) -1.1em 1.1em 0 0,rgba(0,0,0,0.5) -1.5em 0 0 0,rgba(0,0,0,0.5) -1.1em -1.1em 0 0,rgba(0,0,0,0.75) 0 -1.5em 0 0,rgba(0,0,0,0.75) 1.1em -1.1em 0 0;
    box-shadow:rgba(0,0,0,0.75) 1.5em 0 0 0,rgba(0,0,0,0.75) 1.1em 1.1em 0 0,rgba(0,0,0,0.75) 0 1.5em 0 0,rgba(0,0,0,0.75) -1.1em 1.1em 0 0,rgba(0,0,0,0.75) -1.5em 0 0 0,rgba(0,0,0,0.75) -1.1em -1.1em 0 0,rgba(0,0,0,0.75) 0 -1.5em 0 0,rgba(0,0,0,0.75) 1.1em -1.1em 0 0
}
@-webkit-keyframes spinner{
    0%{
        -webkit-transform:rotate(0);
        -moz-transform:rotate(0);
        -ms-transform:rotate(0);
        -o-transform:rotate(0);
        transform:rotate(0)
    }
    100%{
        -webkit-transform:rotate(360deg);
        -moz-transform:rotate(360deg);
        -ms-transform:rotate(360deg);
        -o-transform:rotate(360deg);
        transform:rotate(360deg)
    }
}
@-moz-keyframes spinner{
    0%{
        -webkit-transform:rotate(0);
        -moz-transform:rotate(0);
        -ms-transform:rotate(0);
        -o-transform:rotate(0);
        transform:rotate(0)
    }
    100%{
        -webkit-transform:rotate(360deg);
        -moz-transform:rotate(360deg);
        -ms-transform:rotate(360deg);
        -o-transform:rotate(360deg);
        transform:rotate(360deg)
    }
}
@-o-keyframes spinner{
    0%{
        -webkit-transform:rotate(0);
        -moz-transform:rotate(0);
        -ms-transform:rotate(0);
        -o-transform:rotate(0);
        transform:rotate(0)
    }
    100%{
        -webkit-transform:rotate(360deg);
        -moz-transform:rotate(360deg);
        -ms-transform:rotate(360deg);
        -o-transform:rotate(360deg);
        transform:rotate(360deg)
    }
}
@keyframes spinner{
    0%{
        -webkit-transform:rotate(0);
        -moz-transform:rotate(0);
        -ms-transform:rotate(0);
        -o-transform:rotate(0);
        transform:rotate(0)
    }
    100%{
        -webkit-transform:rotate(360deg);
        -moz-transform:rotate(360deg);
        -ms-transform:rotate(360deg);
        -o-transform:rotate(360deg);
        transform:rotate(360deg)
    }
}

.goog-logo-link, .goog-logo-link:link, .goog-logo-link:visited, .goog-logo-link:hover, .goog-logo-link:active {
	display: none !important;
	font-size: 0.1px !important;
}
.goog-te-gadget {
	color: transparent !important
}
.goog-te-gadget .goog-te-combo {
	min-height: calc(1.5em + 0.5rem + 2px);
	padding: 0.25rem 0.5rem;
	font-size: .875rem;
	border-radius: 0.25rem;
	/* display: block; */
    /* width: 100%; */
    font-weight: 400;
    color: #212529;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 0.375rem;
    transition: border-color .15s 
}
