/* Theme Colors */

.btn-primary {
    background-color: #2F6FAE !important;
    border-color: #2F6FAE !important;
    color: #FFFFFF !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: #275D91 !important;
    border-color: #275D91 !important;
    color: #FFFFFF !important;
}

.btn-warning {
    background-color: #FBB217 !important;
    border-color: #C78100 !important;
    color: #212529 !important;
}

.btn-warning:hover,
.btn-warning:focus,
.btn-warning:active,
.btn-warning.text-light {
    color: #212529 !important;
}

.btn-danger{
    background-color: #D72D31 !important;
    border-color: #D72D31 !important;
    color: #FFFFFF !important;
}

.btn-danger:hover,
.btn-danger:focus,
.btn-danger:active {
    background-color: #C9252A !important;
    border-color: #C9252A !important;
    color: #FFFFFF !important;
}

.btn-success {
    background-color: #187A32 !important;
    border-color: #187A32 !important;
    color: #FFFFFF !important;
}

.btn-success:hover,
.btn-success:focus,
.btn-success:active {
    background-color: #146A2B !important;
    border-color: #146A2B !important;
    color: #FFFFFF !important;
}

.btn-outline-primary {
    border-color: #2F6FAE !important;
}

.btn-outline-primary:not(.active, :hover) {
    color: #2F6FAE;
}

.btn-outline-primary.active {
    background-color: #2F6FAE;
    color: #FFFFFF;
}

.btn-outline-primary:active {
    background-color: #275D91 !important;
    border-color: #275D91 !important;
    color: #FFFFFF !important;
}

.btn-outline-primary:hover {
    background-color: #2F6FAE;
    color: #FFFFFF;
}

.btn-outline-warning {
    border-color: #A66300 !important;
    color: #6E4200 !important;
}

.btn-outline-warning:hover,
.btn-outline-warning:focus,
.btn-outline-warning:active,
.btn-outline-warning.active {
    background-color: #FBB217 !important;
    border-color: #A66300 !important;
    color: #212529 !important;
}

.btn-outline-danger {
    border-color: #D72D31 !important;
    color: #D72D31 !important;
}

.btn-outline-danger:hover {
    background-color: #D72D31 !important;
    color: #FFFFFF !important;
}

.text-primary {
    color: #2F6FAE !important;
}

.text-success {
    color: #187A32 !important;
}

.text-danger {
    color: #D72D31 !important;
}

.alert-primary{
    border: 1px solid #4383C4;
    background-color: #84A9CE;
    color: #172E45;
}

.alert-success{
    border: 1px solid #54AF69;
    background-color: #85CA97;
    color: #000000;
}

.alert-danger {
    background-color: #ED9AA0 !important;
    border: 1px solid #EF4548;
    color: #000000;
}

.dropdown-item.active,
.dropdown-item:active {
    background-color: #4383C4 !important;
}

.page-link:not(.active) {
    color: #4383C4;
}
.page-link.active {
    background-color: #4383C4;
}

/* End of Theme Colors */

.navbar {
    margin-bottom: 0;
    border-radius: 0;
}

.navbar-brand.active {
    color: #fff;
}

.container-fullwidth {
    margin: 0 20px;
}

footer {
    position: fixed;
    left: 0;
    bottom: 0;
    z-index: 999;
    width: 100%;
    background-color: #222;
    padding: 10px 25px;
    color: #9d9d9d;
}

footer p {
    margin: 0;
}

.footer-spacer {
    height: 5rem;
    margin-top: 1rem;
}

.row {
    margin-top: 20px;
    margin-bottom: 20px;
}

h1 {
    margin-bottom: 20px;
}

td {
    vertical-align: middle !important;
}

.invitees-table tbody tr {
    cursor: pointer;
    transition: background-color 0.12s ease, box-shadow 0.12s ease;
}

.invitees-table tbody tr:not(.highlight-green):hover > * {
    --bs-table-bg: #F7FAFE;
    background-color: #F7FAFE !important;
}

.invitees-table tbody tr.highlight-green > *,
.table tbody tr.highlight-green > * {
    --bs-table-bg: #EDF5FF;
    background-color: #EDF5FF !important;
}

.invitees-table tbody tr.highlight-green > :first-child,
.table tbody tr.highlight-green > :first-child {
    --bs-table-bg: #DCEBFF;
    background-color: #DCEBFF !important;
    box-shadow: inset 4px 0 0 #4383C4;
}

.invitees-table thead th,
.participants-table thead th {
    position: sticky;
    top: 0;
    z-index: 5;
    background: #fff;
    box-shadow: inset 0 -1px 0 #dee2e6;
}

.input-group {
    margin-bottom: 15px;
}

.home-title {
    text-transform: uppercase;
    font-size: 120px;
    font-weight: bold;
    margin-top: 10%;
    margin-bottom: 80px;
}

.home-action {
    float: left;
    width: 49%;
    text-align: center;
    background-color: #eee;
    padding: 90px;
    font-size: 50px;
    cursor: pointer;
}

.home-action:nth-of-type(2) {
    float: right;
}

.home-action:hover {
    border: 5px solid #000;
    padding: 85px;
}

.home-action-selector.action-selected {
    opacity: 0;
    height: 1px;
    transition: all 1s ease;
}

.home-action-selector.action-selected .home-action {
    opacity: 0;
    padding: 0;
    margin-top: -100px;
    transition: all 1s ease;
}

.home-form {
    height: 1px;
    opacity: 0;
    font-size: 30px;
}

.home-form.show {
    height: auto;
    opacity: 1;
    transition: all 1s ease;
}

.home-form input, .home-form select {
    font-size: 30px;
    padding: 5px;
    width: 100%;
}

.home-barcode-result {
    margin-bottom: 20px;
}

.opacity0 {
    opacity: 0;
    transition: all 1s ease;
}

.margintop20 {
    margin-top: 20px;
}

.global-messages {
    margin-top: 20px;
}

.global-message {
    cursor: pointer;
}

.participant-ajax-notice {
    bottom: 24px;
    display: none;
    max-width: min(420px, calc(100vw - 32px));
    position: fixed;
    right: 24px;
    z-index: 1080;
}

.participant-ajax-notice-title {
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 2px;
}

.participant-ajax-notice-body {
    line-height: 1.35;
}

.global-message-structured {
    text-align: left;
}

.global-message-structured > strong:first-child {
    display: block;
    margin-bottom: 0.5rem;
}

.global-message-structured ul,
.global-message-structured ol {
    margin: 0.5rem 0 0;
    padding-left: 1.25rem;
}

.global-message-structured li {
    margin-bottom: 0.25rem;
}

.participant-log-page h1 {
    margin-bottom: .35rem;
}

.participant-log-summary {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    padding: 12px 16px;
}

.participant-log-identity {
    flex: 1 1 320px;
    min-width: 0;
}

.participant-log-label {
    color: #59636e;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
}

.participant-log-name {
    color: #212529;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.25;
    margin-top: 4px;
    overflow-wrap: anywhere;
}

.participant-log-meta,
.participant-log-contact {
    color: #59636e;
    font-size: 13px;
    line-height: 1.35;
    margin-top: 2px;
    overflow-wrap: anywhere;
}

.participant-log-metrics {
    display: grid;
    flex: 1 1 460px;
    gap: 8px;
    grid-template-columns: repeat(3, minmax(135px, 1fr));
}

.participant-log-metric {
    background: #fff;
    border: 1px solid #d8dee5;
    border-radius: 6px;
    min-width: 0;
    padding: 8px 10px;
}

.participant-log-metric span {
    color: #59636e;
    display: block;
    font-size: 13px;
    line-height: 1.2;
}

.participant-log-metric strong {
    color: #212529;
    display: block;
    font-size: 22px;
    line-height: 1.15;
    margin-top: 2px;
}

.participant-log-timeline-details,
.participant-log-timeline-text {
    margin-top: 6px;
}

.participant-log-timeline-text {
    overflow-wrap: anywhere;
}

.log-readable-token {
    cursor: help;
}

.log-meta-separator {
    color: #8a949e;
}

.log-json-block {
    max-width: 100%;
    min-width: 0;
}

.log-stable-table {
    min-width: 1080px;
    table-layout: fixed;
}

.log-stable-table th,
.log-stable-table td {
    overflow-wrap: anywhere;
}

.log-stable-table .log-col-date {
    width: 12%;
}

.log-stable-table .log-col-event {
    width: 16%;
}

.log-stable-table .log-col-entity,
.log-stable-table .log-col-subject {
    width: 11%;
}

.log-stable-table .log-col-participant {
    width: 12%;
}

.log-stable-table .log-col-source {
    width: 13%;
}

.log-stable-table .log-col-actor {
    width: 13%;
}

.log-stable-table .log-col-reason {
    width: 8%;
}

.log-stable-table .log-col-evidence {
    width: 27%;
}

.participant-log-audit-table .log-col-evidence {
    width: 25%;
}

.log-evidence-cell {
    min-width: 0;
    overflow: hidden;
}

.log-json-heading {
    align-items: center;
    color: #59636e;
    display: flex;
    gap: 6px;
    font-weight: 600;
    margin-bottom: 4px;
}

.log-context-explanation {
    background: #F6F9FC;
    border: 1px solid #D8E2EC;
    border-radius: 6px;
    color: #3D454D;
    margin: 6px 0;
    padding: 8px 10px;
}

.log-context-explanation strong {
    color: #212529;
    display: block;
    margin-bottom: 4px;
}

.log-context-explanation ul {
    margin: 0;
    padding-left: 18px;
}

.log-context-explanation li {
    margin-bottom: 2px;
}

.log-context-explanation li:last-child {
    margin-bottom: 0;
}

.log-json-raw-preview {
    background: #F8FAFC;
    border: 1px solid #D8DEE5;
    border-radius: 6px;
    color: #3D454D;
    display: block;
    font-size: 12px;
    line-height: 1.4;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
    padding: 6px 8px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.log-json-details {
    max-width: 100%;
    margin-top: 4px;
}

.log-json-summary {
    align-items: center;
    color: #2F6FAE;
    cursor: pointer;
    display: inline-flex;
    gap: 6px;
    font-weight: 600;
}

.log-json-summary:hover {
    color: #275D91;
}

.log-json-pill {
    background: #E7F1FF;
    border: 1px solid #B7D3F4;
    border-radius: 999px;
    color: #275D91;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    padding: 3px 6px;
}

.log-json-pill-muted {
    background: #F1F3F5;
    border-color: #D8DEE5;
    color: #59636E;
}

.log-json-pre {
    background: #F8FAFC;
    border: 1px solid #D8DEE5;
    border-radius: 6px;
    color: #1F2933;
    font-size: 13px;
    line-height: 1.45;
    margin: 8px 0 0;
    max-height: 26rem;
    max-width: 100%;
    min-width: 0;
    overflow: auto;
    padding: 10px 12px;
    white-space: pre;
    width: 100%;
}

.participant-log-timeline-details .log-json-pre {
    max-height: 18rem;
}

.module-links {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-top: 20px;
    float: right;
}

@media (max-width: 767.98px) {
    .module-links {
        float: none;
        margin-top: 0;
        margin-bottom: 1rem;
    }
}

.onsite-section-nav {
    margin: 8px 0 28px;
}

.onsite-admin-page {
    max-width: 1560px;
    margin-left: auto;
    margin-right: auto;
}

.onsite-section-nav .nav-link {
    border: 1px solid #d8dee5;
    color: #2f78bd;
}

.onsite-section-nav .nav-link.active {
    border-color: #2f78bd;
    color: #fff;
}

.onsite-section-nav .dropdown-toggle {
    background: #fff;
}

.onsite-overview-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin: -10px 0 20px;
}

.onsite-help-toggle {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.onsite-order-status {
    color: #59636e;
    font-weight: 600;
}

.onsite-structure-help {
    border: 1px solid #d8dee5;
    border-radius: 8px;
    padding: 12px 14px;
    margin-bottom: 18px;
    background: #f8fafc;
}

.onsite-structure-summary {
    margin: 0 0 12px;
    color: #59636e;
}

.onsite-structure-guide {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 12px;
}

.onsite-guide-item {
    border: 1px solid #d8dee5;
    border-radius: 8px;
    padding: 10px 12px;
    background: #fff;
}

.onsite-guide-item strong {
    display: block;
    margin-top: 4px;
    font-size: 16px;
}

.onsite-kicker,
.onsite-guide-label {
    display: block;
    color: #59636e;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

.onsite-role-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 10px;
    align-items: center;
    margin-bottom: 18px;
    color: #59636e;
}

.onsite-role-help {
    margin-right: 10px;
}

.onsite-day-group {
    border: 1px solid #d8dee5;
    border-radius: 8px;
    margin-bottom: 20px;
    overflow: hidden;
    background: #fff;
}

.onsite-day-header {
    display: flex;
    gap: 16px;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 16px 18px;
    border-bottom: 1px solid #d8dee5;
    background: #f5f7f9;
}

.onsite-day-header h2,
.onsite-location-header h3,
.onsite-session-main h4 {
    margin: 0;
}

.onsite-day-header h2 {
    font-size: 24px;
}

.onsite-day-header h2 span {
    color: #59636e;
    font-size: 18px;
    font-weight: 400;
    margin-left: 8px;
}

.onsite-title-with-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.onsite-inline-actions,
.onsite-table-actions {
    align-items: center;
    display: inline-flex;
    gap: 4px;
}

.onsite-inline-action-form {
    display: inline-flex;
    margin: 0;
}

.onsite-icon-btn {
    align-items: center;
    display: inline-flex;
    height: 34px;
    justify-content: center;
    padding: 0;
    width: 34px;
}

.onsite-icon-btn.btn-sm {
    height: 32px;
    width: 32px;
}

.onsite-day-counts {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
    margin-left: auto;
}

.onsite-day-counts span {
    border: 1px solid #d8dee5;
    border-radius: 999px;
    padding: 4px 10px;
    background: #fff;
    color: #3d454d;
    font-weight: 600;
}

.onsite-location-block {
    padding: 16px 18px;
    border-bottom: 1px solid #e6ebf0;
}

.onsite-location-block:last-child {
    border-bottom: 0;
}

.onsite-location-header {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 12px;
}

.onsite-location-header h3 {
    font-size: 20px;
}

.onsite-location-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
    margin-left: auto;
}

.onsite-session-list {
    display: grid;
    gap: 10px;
}

.onsite-session-row {
    display: grid;
    grid-template-columns: 28px minmax(260px, 1.6fr) minmax(220px, 1fr) auto;
    gap: 16px;
    align-items: center;
    padding: 12px;
    border: 1px solid #e0e5ea;
    border-radius: 8px;
    background: #fff;
}

.onsite-session-main h4 {
    font-size: 18px;
}

.onsite-session-main h4 span {
    color: #59636e;
    font-weight: 600;
    margin-right: 4px;
}

.onsite-role-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 3px;
}

.onsite-session-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.onsite-sessions-table-wrapper {
    overflow: visible;
}

.onsite-eligibility-page {
    padding-bottom: 86px;
}

.onsite-eligibility-header {
    align-items: flex-start;
    background: #f8fafc;
    border: 1px solid #d8dee5;
    border-radius: 8px;
    display: flex;
    gap: 18px;
    justify-content: space-between;
    margin-bottom: 16px;
    padding: 18px;
}

.onsite-eligibility-title {
    min-width: 0;
}

.onsite-eligibility-title h1 {
    font-size: 30px;
    line-height: 1.2;
    margin: 2px 0 10px;
    overflow-wrap: anywhere;
}

.onsite-eligibility-context,
.onsite-eligibility-header-actions,
.onsite-eligibility-transfer,
.onsite-eligibility-import-form,
.onsite-eligibility-toolbar,
.onsite-eligibility-bulk-actions,
.onsite-eligibility-save-actions,
.onsite-eligibility-chips {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.onsite-eligibility-context {
    color: #4d5965;
    gap: 10px 14px;
}

.onsite-eligibility-context span {
    align-items: center;
    display: inline-flex;
    gap: 6px;
}

.onsite-eligibility-header-actions {
    flex: 0 0 auto;
    justify-content: flex-end;
}

.onsite-eligibility-stats {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(4, minmax(150px, 1fr));
    margin-bottom: 16px;
}

.onsite-eligibility-stat {
    background: #fff;
    border: 1px solid #d8dee5;
    border-radius: 8px;
    padding: 14px 16px;
}

.onsite-eligibility-stat strong {
    color: #212529;
    display: block;
    font-size: 24px;
    line-height: 1.2;
    margin: 4px 0 2px;
}

.onsite-eligibility-stat span:last-child {
    color: #59636e;
}

.onsite-eligibility-transfer {
    background: #fff;
    border: 1px solid #d8dee5;
    border-radius: 8px;
    justify-content: space-between;
    margin-bottom: 14px;
    padding: 12px;
}

.onsite-eligibility-import-form {
    flex: 1 1 460px;
    justify-content: flex-end;
    margin: 0;
}

.onsite-eligibility-import-form .form-control {
    max-width: 360px;
}

.onsite-eligibility-workbench {
    background: #fff;
    border: 1px solid #d8dee5;
    border-radius: 8px;
    overflow: hidden;
}

.onsite-eligibility-toolbar {
    background: #f8fafc;
    border-bottom: 1px solid #d8dee5;
    justify-content: space-between;
    padding: 12px;
}

.onsite-eligibility-search {
    flex: 1 1 340px;
    max-width: 620px;
}

.onsite-eligibility-filter {
    flex: 0 0 auto;
}

.onsite-eligibility-visible-count {
    color: #59636e;
    flex: 0 0 auto;
    font-weight: 700;
}

.onsite-eligibility-bulk-actions {
    border-bottom: 1px solid #e6ebf0;
    padding: 10px 12px;
}

.onsite-eligibility-progress {
    background: #edf1f5;
    height: 4px;
    overflow: hidden;
}

.onsite-eligibility-progress span {
    background: #198754;
    display: block;
    height: 100%;
    transition: width 160ms ease;
}

.onsite-eligibility-table-wrap {
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.onsite-eligibility-table {
    margin: 0;
    min-width: 920px;
}

.onsite-eligibility-table thead th {
    background: #fff;
    border-bottom: 1px solid #d8dee5;
    color: #59636e;
    font-size: 12px;
    letter-spacing: 0;
    position: sticky;
    text-transform: uppercase;
    top: 0;
    z-index: 1;
}

.onsite-eligibility-table tbody tr {
    transition: background-color 120ms ease;
}

.onsite-eligibility-table tbody tr.onsite-eligibility-row-selected {
    background: #eef8f1;
}

.onsite-eligibility-check-col,
.onsite-eligibility-check-cell {
    text-align: center;
    width: 86px;
}

.onsite-eligibility-checkbox {
    cursor: pointer;
    height: 22px;
    width: 22px;
}

.onsite-eligibility-invitee {
    cursor: pointer;
    display: inline-flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}

.onsite-eligibility-invitee strong {
    color: #212529;
    font-size: 16px;
    overflow-wrap: anywhere;
}

.onsite-eligibility-invitee span,
.onsite-eligibility-contact span {
    color: #59636e;
}

.onsite-eligibility-chips {
    gap: 5px;
    margin-top: 6px;
}

.onsite-eligibility-chip {
    background: #f2f5f8;
    border: 1px solid #dce3ea;
    border-radius: 999px;
    color: #3d454d;
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    max-width: 240px;
    overflow: hidden;
    padding: 4px 8px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.onsite-eligibility-chip-rsvp {
    background: #edf6ff;
    border-color: #cfe4fb;
    color: #245b8f;
}

.onsite-eligibility-contact {
    min-width: 190px;
}

.onsite-eligibility-contact a,
.onsite-eligibility-contact span {
    display: block;
    overflow-wrap: anywhere;
}

.onsite-eligibility-uuid code {
    color: #39424e;
    white-space: nowrap;
}

.onsite-eligibility-uuid span {
    display: block;
}

.onsite-eligibility-id {
    color: #59636e;
    margin-top: 2px;
}

.onsite-eligibility-savebar {
    align-items: center;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid #cfd7df;
    border-radius: 8px;
    box-shadow: 0 10px 28px rgba(33, 37, 41, 0.14);
    display: flex;
    gap: 14px;
    justify-content: space-between;
    margin-bottom: 14px;
    padding: 12px 14px;
    position: sticky;
    top: 10px;
    z-index: 3;
}

.onsite-eligibility-savebar > div:first-child strong,
.onsite-eligibility-savebar > div:first-child span {
    display: block;
}

.onsite-eligibility-savebar > div:first-child strong {
    color: #212529;
    font-size: 16px;
}

.onsite-eligibility-savebar > div:first-child span {
    color: #59636e;
}

.onsite-live-toolbar {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin: -8px 0 18px;
    color: #59636e;
}

.onsite-live-status {
    font-weight: 700;
}

.onsite-live-summary {
    display: grid;
    grid-template-columns: repeat(4, minmax(160px, 1fr));
    gap: 12px;
    margin-bottom: 22px;
}

.onsite-live-stat {
    border: 1px solid #d8dee5;
    border-radius: 8px;
    padding: 14px 16px;
    background: #fff;
}

.onsite-live-stat strong {
    display: block;
    margin-top: 4px;
    color: #212529;
    font-size: 28px;
    line-height: 1.15;
}

.onsite-live-stat small {
    color: #59636e;
    font-size: 16px;
    font-weight: 700;
}

.onsite-live-section {
    margin-bottom: 26px;
}

.onsite-live-section-header,
.onsite-live-location-header {
    display: flex;
    gap: 16px;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.onsite-live-section-header h2,
.onsite-live-location-header h3 {
    margin: 0;
}

.onsite-live-section-actions {
    display: flex;
    gap: 10px;
    align-items: flex-end;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.onsite-live-breakdown-field {
    min-width: 240px;
}

.onsite-live-breakdown-field label {
    display: block;
    margin-bottom: 4px;
    color: #59636e;
    font-size: 13px;
    font-weight: 700;
}

.onsite-live-location {
    border: 1px solid #d8dee5;
    border-radius: 8px;
    padding: 14px 16px 4px;
    margin-bottom: 18px;
    background: #fff;
}

.onsite-live-location-counts {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.onsite-live-location-counts span {
    border: 1px solid #d8dee5;
    border-radius: 999px;
    padding: 4px 10px;
    background: #f8fafc;
    color: #3d454d;
    font-weight: 600;
}

.confirm-day-highlight {
    display: inline-block;
    padding: 0.1em 0.38em;
    border-radius: 0.25rem;
    background: #dc3545;
    color: #fff;
    font-size: 1.25em;
    font-weight: 800;
    line-height: 1.15;
    white-space: nowrap;
}

.confirm-day-highlight-success {
    background: #198754;
}

.confirm-day-highlight-danger {
    background: #dc3545;
}

.confirm-name-highlight {
    font-weight: 800;
}

.participants-page-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.participants-page-header-main {
    flex: 1 1 auto;
    min-width: 0;
}

.participants-day-context {
    flex: 0 0 auto;
    margin-left: auto;
}

.participant-active-day-name {
    white-space: nowrap;
}

.participant-row-tools {
    align-items: center;
    display: inline-flex;
    flex-wrap: nowrap;
    gap: 0.35rem;
    justify-content: flex-end;
}

.participant-row-tools [data-bs-toggle="tooltip"] {
    cursor: pointer;
    text-decoration: none;
}

.participants-table-responsive {
    contain: inline-size;
    display: block;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
}

.onsite-empty-state {
    border: 1px dashed #cbd3dc;
    border-radius: 8px;
    padding: 14px 16px;
    color: #59636e;
    background: #f8fafc;
}

.onsite-drag-handle {
    color: #7a838c;
    cursor: grab;
    font-size: 21px;
    line-height: 1;
}

.onsite-drag-handle:active {
    cursor: grabbing;
}

.onsite-day-drag-handle,
.onsite-location-drag-handle {
    margin-top: 3px;
}

.onsite-structure .ui-sortable-helper {
    box-shadow: 0 10px 24px rgba(20, 35, 50, 0.16);
}

@media (max-width: 991.98px) {
    .onsite-structure-guide,
    .onsite-session-row {
        grid-template-columns: 1fr;
    }

    .onsite-day-header,
    .onsite-location-header {
        display: grid;
        grid-template-columns: 28px 1fr;
    }

    .onsite-day-counts,
    .onsite-location-actions,
    .onsite-session-actions {
        justify-content: flex-start;
        margin-top: 12px;
    }

    .onsite-day-counts,
    .onsite-location-actions {
        grid-column: 2;
        margin-top: 12px;
    }

    .onsite-title-with-actions {
        align-items: flex-start;
    }

    .onsite-location-actions {
        margin-left: 0;
    }

    .onsite-live-summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .onsite-eligibility-header,
    .onsite-eligibility-savebar {
        display: block;
    }

    .onsite-eligibility-header-actions,
    .onsite-eligibility-save-actions {
        justify-content: flex-start;
        margin-top: 12px;
    }

    .onsite-eligibility-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .onsite-eligibility-transfer,
    .onsite-eligibility-import-form {
        display: grid;
        grid-template-columns: 1fr;
    }

    .onsite-eligibility-import-form .form-control,
    .onsite-eligibility-search {
        max-width: none;
    }

    .onsite-live-section-header,
    .onsite-live-location-header {
        display: block;
    }

    .onsite-live-section-header .btn,
    .onsite-live-location-counts {
        margin-top: 10px;
    }

    .onsite-live-section-actions {
        display: block;
    }

    .onsite-live-breakdown-field {
        min-width: 0;
    }

    .participants-page-header {
        display: block;
    }

    .participants-day-context {
        margin-top: 16px;
        margin-left: 0;
    }

    .participant-active-day-name {
        white-space: normal;
    }
}

@media (max-width: 575.98px) {
    .onsite-eligibility-stats {
        grid-template-columns: 1fr;
    }

    .onsite-eligibility-title h1 {
        font-size: 25px;
    }

    .onsite-eligibility-filter,
    .onsite-eligibility-filter .btn,
    .onsite-eligibility-save-actions,
    .onsite-eligibility-save-actions .btn {
        width: 100%;
    }

    .onsite-eligibility-filter {
        display: grid;
        grid-template-columns: 1fr;
    }

    .onsite-live-summary {
        grid-template-columns: 1fr;
    }
}

.title-links {
    margin: 0 0 10px 0;
}

.title-links .title-links-label {
    width: 60px;
    font-weight: bold;
    display: inline-block;
}

.title-links .dropdown {
    display: inline-block;
}

.search {
    margin-bottom: 10px;
}

.search .search-label {
    width: 60px;
    font-weight: bold;
    display: inline-block;
}

.search form input {
    display: inline;
    width: auto;
}

.search form a {
    vertical-align: top;
}

.error {
    color: red;
    border: 1px solid red;
    border-radius: 5px;
    padding: 5px 10px;
}

.home-footer {
    margin-top: 50px;
}

.home-back {
    font-size: 30px;
    padding: 5px;
    width: 100%;
}

.text-bold {
    font-weight: bold;
}

.highlight-green {
    background-color: #EDF5FF !important;
}

#editor {
    positive: relative;
    width: 100%;
    height: 400px;
    border: 1px solid #d3d3d3;
    border-radius: 5px;
    margin-bottom: 15px;
}

[data-bs-toggle="tooltip"],
[data-toggle="tooltip"] {
    text-decoration: underline;
    text-decoration-style: dashed;
    cursor: help;
}

.tooltip-inner {
    text-align: justify !important;
}

.nowrap {
    white-space: nowrap;
}

.bigbutton {
    padding: 15px;
    margin-bottom: 20px;
    font-size: 20px;
}

.ace-buttons button {
    margin-bottom: 5px;
}

.unset-styles {
    all: initial;
    * {
        all: unset;
    }
}

.checkbox {
    font-weight: 400;
    margin: 0;
}

.checkbox input {
    margin: 0;
    position: initial;
    vertical-align: middle;
}

.input-group-right {
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    border: 1px solid #ccc;
    width: 100%;
    padding: 6px 12px;
    margin-bottom: 0;
}

.input-group-right .input-group {
    margin-bottom: 0;
}

.option-blocks {
    display: block;
}

.option-block {
    display: inline-block;
    background-color: #eee;
    padding: 6px 12px;
    border-radius: 5px;
    border: 1px solid #ccc;
    margin-top: 6px;
    margin-right: 3px;
}

.option-block a {
    padding-left: 6px;
}

.list-group-item > .btn-delete {
    float: right;
    cursor: pointer;
}

.dropdown-menu li {
    position: relative;
}
.dropdown-menu .dropdown-submenu {
    display: none;
    position: absolute;
    top: -7px;
    left: 100%;
}
.dropdown-menu .dropdown-submenu.dropdown-submenu-left {
    left: unset;
    right: 100%;
}
.dropdown-menu > li:hover > .dropdown-submenu {
    display: block;
}

select[readonly] {
    pointer-events: none;
}

.form-control[type=color] {
    height: 38px;
}

[data-country-code-field] {
    position: relative;
    width: 100%;
    min-width: 0;
}

.srsvp-mobile-number-field {
    display: flex;
    gap: .5rem;
    width: 100%;
    min-width: 0;
}

.srsvp-mobile-country-code {
    flex: 0 0 13rem;
    min-width: 11rem;
}

.srsvp-mobile-number-input {
    flex: 1 1 auto;
    min-width: 0;
}

.srsvp-country-code-source[data-enhanced="1"] {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.srsvp-country-code-combobox {
    position: relative;
    width: 100%;
}

.srsvp-country-code-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    width: 100%;
    min-height: calc(1.5em + .75rem + 2px);
    padding: .375rem .75rem;
    border: 1px solid #ced4da;
    border-radius: .375rem;
    background: #fff;
    color: #212529;
    line-height: 1.5;
    text-align: left;
}

.srsvp-country-code-toggle:focus {
    border-color: #86b7fe;
    box-shadow: 0 0 0 .25rem rgba(13, 110, 253, .25);
    outline: 0;
}

.srsvp-country-code-current {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.srsvp-country-code-chevron {
    flex-shrink: 0;
    color: #6c757d;
}

.srsvp-country-code-menu {
    display: none;
    position: absolute;
    top: calc(100% + .25rem);
    left: 0;
    right: 0;
    z-index: 1055;
    padding: .5rem;
    border: 1px solid rgba(0, 0, 0, .15);
    border-radius: .375rem;
    background: #fff;
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15);
}

.srsvp-country-code-menu[hidden] {
    display: none !important;
}

.srsvp-country-code-combobox.is-open .srsvp-country-code-menu,
.srsvp-country-code-menu.show {
    display: block;
}

.srsvp-country-code-search {
    width: 100%;
    margin-bottom: .5rem;
    padding: .375rem .5rem;
    border: 1px solid #ced4da;
    border-radius: .375rem;
}

.srsvp-country-code-search:focus {
    border-color: #86b7fe;
    box-shadow: 0 0 0 .2rem rgba(13, 110, 253, .2);
    outline: 0;
}

.srsvp-country-code-options {
    max-height: 14rem;
    overflow-y: auto;
}

.srsvp-country-code-option {
    display: flex;
    align-items: center;
    gap: .65rem;
    width: 100%;
    padding: .45rem .5rem;
    border: 0;
    border-radius: .25rem;
    background: transparent;
    color: #212529;
    text-align: left;
}

.srsvp-country-code-option:hover,
.srsvp-country-code-option:focus,
.srsvp-country-code-option.is-active {
    background: #e7f1ff;
    color: #0d6efd;
    outline: 0;
}

.srsvp-country-code-option-code {
    flex: 0 0 4.25rem;
    font-weight: 700;
}

.srsvp-country-code-option-label {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.srsvp-country-code-empty {
    padding: .4rem .5rem;
    color: #6c757d;
}

@media (max-width: 575.98px) {
    .srsvp-mobile-number-field {
        flex-direction: column;
    }

    .srsvp-mobile-country-code {
        flex-basis: auto;
        width: 100%;
    }
}

[data-bs-toggle="tooltip"] {
    text-decoration: underline;
    text-decoration-style: dotted;
}
