.btn-ezm5-access {
    background-color: #3333A0;
    color: white;
    border: none;
    border-radius: 0.25rem;
    padding: 0.625rem 1.25rem;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 1rem;
    margin: 0.25rem 0.125rem;
    cursor: pointer;
}

.btn-ezm5-access:hover,
.btn-ezm5-access:focus {
    background-color: #000480;
    transition: background-color 0.4s, color 0.4s;
}

.btn-ezm5-delete-outline {
    background-color: #fff;
    color: #800400;
    border: 0.125rem solid #800400;
    border-radius: 0.25rem;
    padding: 0.5rem 1.125rem;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 1rem;
    margin: 0.25rem 0.125rem;
    cursor: pointer;
}

.btn-ezm5-delete-outline:hover,
.btn-ezm5-delete-outline:focus {
    background-color: #800400;
    border-color: #800400;
    text-decoration: none;
    color:#fff;
    transition: background-color 0.4s, color 0.4s;
}

.btn-ezm5-access-outline {
    background-color: transparent;
    color: #000480;
    border: 0.125rem solid #000480;
    border-radius: 0.25rem;
    padding: 0.5rem 1.125rem;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 1rem;
    margin: 0.25rem 0.125rem;
    cursor: pointer;
}

.btn-ezm5-access-outline:hover,
.btn-ezm5-access-outline:focus {
    background-color: #000480;
    border-color: #000480;
    text-decoration: none;
    color:#fff;
    transition: background-color 0.4s, color 0.4s;
}

.btn-ezm5-sm {
    padding: 0.4rem 0.9rem;
    font-size: 0.875rem;
}

i {
    line-height: 1 !important;
    display: inline-block !important;
    vertical-align: middle !important;
    font-style: normal !important;
}

.icon-bold {
  text-shadow:
    0 0 0.8px currentColor,
    0 0 0.8px currentColor;
}

.icon-slim {
    font-weight: 700 !important;
}

.icon-boldy {
  text-shadow:
    0 0 0.4px currentColor,
    0 0 0.4px currentColor;
}

.icon-28 {
    font-size: 28px;
}

.icon-23 {
    font-size: 23px;
}

.icon-24 {
    font-size: 24px;
}

.icon-22 {
    font-size: 22px;
}

.icon-21 {
    font-size: 21px;
}

.icon-20 {
    font-size: 20px;
}

.icon-md {
    font-size: 2.25rem;
}

.icon-15 {
    font-size: 15px;
}

.icon-14 {
    font-size: 14px;
}

.icon-16 {
    font-size: 16px;
}

.icon-18 {
    font-size: 18px;
}

.icon-19 {
    font-size: 19px;
}

.icon-17 {
    font-size: 17px;
}

.icon-50 {
    font-size: 50px;
}

.icon-32 {
    font-size: 32px;
}

.ezm5-icon-delete {
    padding: 0.125rem 0.5rem 0.125rem 0.5rem !important;
    cursor: pointer;
}

.ezm5-icon-details {
    padding: 0.125rem 0.125rem;
    cursor: pointer;
    background-color: #f0f0fcaa;
    border-radius: 0.25rem;
}

.icon-big {
  font-size: 48px;
}

.card-ezm5-access-outline {
    border-radius: 0.125rem;
    border-color: #000480;
    border-width: 0.125rem;
    border-style: solid;
    color:#000000;
    transition: background-color 0.4s, color 0.4s;
}

.card-ezm5-access-outline:hover,
.card-ezm5-access-outline:focus {
    background-color: #000480;
    border-color: #000480;
    text-decoration: none;
    color:#fff;
    transition: background-color 0.4s, color 0.4s;
}

@media (min-width: 576px) {
    .card-ezm5-access {
        border: 1px solid var(--bs-border-color);
        box-shadow: var(--bs-box-shadow-sm);
    }
}

.card-ezm5-access {
    border-radius: 1.75rem;
    padding: 1.5rem;
}

.toast-ezm5-success {
    color: #000;
    background-color: #79d479 !important;
    display: flex !important;
    font-size: 0.75rem !important
}

.toast-ezm5-error {
    color: #fff;
    background-color: #cc4c4c !important;
    display: flex !important;
}

.ezm5-error-block-modal {
    color: #cc4c4c !important;
    font-weight: 600 !important;
    margin-top: 0.5rem !important;
    margin-bottom: 0.5rem !important;
}

.toast-ezm5 {
    display: none;
    position: fixed;
    left: 50%;
    transform: translate(-50%);
    bottom:  10%;
    z-index: 9999;
    width: max-content;
    max-width: 300px;
    padding: 0.5rem 0.75rem;
    border: 0.01rem solid #000;
    background-color: #fff;
    font-size: 1rem;
    border-radius: 0.125rem;
    font-weight: 400;
    text-align: center;
    transition: opacity 0.5s ease;
}

.form-access-ezm5 {
    border-color: #9999E0;
    border-radius: 0.75rem;
    height: 3rem;
    background-color: #fff !important;
    font-size: 1.125rem;
}

#container-image-guest {
    width: clamp(280px, 36vw, 720px);
    margin-right: 2rem;
    align-self: stretch;
    overflow: hidden;
    border-radius: 1.25rem;
}

.guest-visual-card {
    background: linear-gradient(180deg, #f7fbff 0%, #eaf2ff 100%);
    border: 1px solid #dce7ff;
    border-radius: 1.5rem;
    box-shadow: 0 1.25rem 2.5rem rgba(22, 54, 143, 0.12);
    overflow: hidden;
    padding: 0.9rem;
}

.guest-visual-card__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.guest-access-callout {
    border: 1px solid #d9e3ff;
    border-radius: 1rem;
    background: linear-gradient(180deg, #f7faff 0%, #eef4ff 100%);
    padding: 0.9rem 1rem;
}

.guest-access-callout__icon {
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background-color: #dfe9ff;
    color: #0f3ea8;
    font-size: 1rem;
    padding: 0.3rem;
}

.guest-access-callout__title {
    color: #16368f;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.25;
}

.guest-access-callout__text {
    color: #50607f;
    font-size: 0.82rem;
    line-height: 1.4;
    margin-top: 0.2rem;
}

.guest-access-callout__link {
    color: #16368f;
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
}

.guest-access-callout__link:hover,
.guest-access-callout__link:focus {
    color: #000480;
    text-decoration: underline;
}

.guest-screen-alert {
    border: 1px solid #ffd27a;
    border-radius: 1rem;
    background: linear-gradient(180deg, #fff8e8 0%, #ffefc9 100%);
    box-shadow: 0 0.8rem 1.8rem rgba(196, 128, 0, 0.14);
    padding: 0.95rem 1rem;
    margin-bottom: 1rem;
}

.guest-screen-alert__icon {
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background-color: #ffb020;
    color: #fff;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1;
    padding: 0.3rem;
    box-shadow: 0 0.35rem 0.8rem rgba(255, 176, 32, 0.35);
}

.guest-screen-alert__title {
    color: #8a4a00;
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.03em;
}

.guest-screen-alert__text {
    color: #724100;
    font-size: 0.88rem;
    line-height: 1.45;
    margin-top: 0.2rem;
}

.guest-home-intro {
    position: relative;
    overflow: hidden;
    border: 1px solid #dbe5f4;
    border-radius: 1.75rem;
    background:
        radial-gradient(circle at top right, rgba(74, 74, 184, 0.14), transparent 20rem),
        linear-gradient(135deg, #f7faff 0%, #eef4ff 55%, #ffffff 100%);
    box-shadow: 0 1rem 2rem rgba(15, 40, 90, 0.08);
}

.guest-home-intro::after {
    content: "";
    position: absolute;
    right: -3rem;
    bottom: -3rem;
    width: 12rem;
    height: 12rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.65);
    filter: blur(8px);
}

.guest-home-intro-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    color: #1e40af;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.guest-header-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    background: rgba(30, 64, 175, 0.08);
    border: 1px solid rgba(30, 64, 175, 0.14);
    color: #1e40af;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1;
    white-space: nowrap;
}

.guest-home-intro-avatar {
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 1.35rem;
    background: linear-gradient(135deg, #1e40af 0%, #4a4ab8 100%);
    color: #fff;
    font-size: 1.35rem;
    font-weight: 700;
    box-shadow: 0 1rem 2rem rgba(30, 64, 175, 0.22);
}

.guest-home-intro-title {
    font-size: clamp(1.7rem, 3vw, 2.45rem);
    line-height: 1.02;
    letter-spacing: -0.04em;
    font-weight: 600;
    color: #112046;
}

.guest-home-intro-copy {
    max-width: 58ch;
    color: #5d6d89;
    font-size: 0.98rem;
    line-height: 1.65;
}

.guest-home-intro-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
}

.guest-home-intro-stat {
    border: 1px solid #dbe5f4;
    border-radius: 1.2rem;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 0.75rem 1.5rem rgba(15, 40, 90, 0.05);
}

.guest-home-intro-label {
    color: #7183a6;
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.guest-home-intro-value {
    color: #112046;
    font-size: 1.55rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.guest-home-intro-meta {
    color: #62708b;
    font-size: 0.88rem;
    line-height: 1.45;
}

.guest-documents-card {
    background: #fff;
    border: 1px solid rgba(15, 40, 90, 0.06);
    border-radius: 1.5rem;
    box-shadow: 0 2px 10px rgba(15, 40, 90, 0.04);
}

.guest-event-tile {
    min-width: 0;
    border: 1px solid #d5e2f6;
    border-radius: 1rem;
    background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
    color: #1d2b4f;
}

.guest-event-tile:hover {
    border-color: #bfd3f3;
    background: linear-gradient(180deg, #ffffff 0%, #f4f8ff 100%);
    color: #1d2b4f;
}

.guest-document-tile {
    min-height: 5rem;
    max-height: 5rem;
    border: 1px solid #d5e2f6;
    border-radius: 1rem;
    background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
    color: #1d2b4f;
}

.guest-document-tile:hover {
    border-color: #bfd3f3;
    background: linear-gradient(180deg, #ffffff 0%, #f4f8ff 100%);
    color: #1d2b4f;
}

.guest-document-icon {
    color: #2f4fba;
    line-height: 1;
}

.guest-document-arrow {
    color: #8ea1c4;
    font-size: 1.35rem;
    line-height: 1;
}

.guest-document-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.95rem;
    line-height: 1.25rem;
    word-break: normal;
}

.guest-documents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.75rem;
    overflow: hidden;
    min-height: 5rem;
    max-height: 5rem;
}

.guest-documents-toolbar {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.85rem;
    align-items: center;
    justify-content: space-between;
}

.guest-documents-toggle {
    display: inline-flex;
    gap: 0.65rem;
    flex: 0 0 auto;
}

.guest-documents-toggle-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.9rem;
    padding: 0.75rem 1rem;
    border: 1px solid #cad7ea;
    border-radius: 0.8rem;
    background: #f3f4f6;
    color: #42526d;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.guest-documents-toggle-button:hover,
.guest-documents-toggle-button:focus {
    border-color: #b9c9e2;
    background: #eef2f7;
    color: #2f3e57;
}

.guest-documents-toggle-button.is-active {
    border-color: #c6d2e5;
    background: #efefef;
    color: #32435f;
}

.guest-documents-search {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    min-height: 3rem;
    padding: 0 1rem;
    border: 1px solid #d5e2f6;
    border-radius: 1rem;
    background: #f8fbff;
    color: #62799b;
}

.guest-documents-search input {
    flex: 1;
    border: 0;
    outline: 0;
    background: transparent;
    color: #1d2b4f;
    font-size: 0.95rem;
}

.guest-documents-search input::placeholder {
    color: #8ea1c4;
}

.guest-filter-menu {
    min-width: 14.5rem;
    margin-top: 0.2rem !important;
    padding: 0.8rem !important;
    border-radius: 1.1rem !important;
    background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
    box-shadow: 0 1rem 2rem rgba(15, 40, 90, 0.12) !important;
    border:#000480 0.01rem solid !important;
}

.guest-filter-option {
    gap: 0.5rem;
    padding: 0.5rem 1rem !important;
    color: #25385d;
    font-size: 0.95rem;
    font-weight: 700;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.guest-filter-option:last-child {
    margin-bottom: 0;
}

.guest-filter-option:hover,
.guest-filter-option:focus,
.guest-filter-option:focus-visible {
    background: #f4f7fc;
    color: #18376f;
    border-color: #d7e1f1;
}

.guest-filter-option.active,
.guest-filter-option:active,
.guest-filter-option.active:hover,
.guest-filter-option.active:focus {
    background: transparent;
    color: #17376e;
    border-color: transparent;
}

.guest-filter-option-check {
    width: 1.55rem;
    height: 1.55rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 0.45rem;
    background: #eaf0f8;
    color: #657a9b;
    font-size: 0.95rem;
    line-height: 1;
}

.guest-filter-option.active .guest-filter-option-check {
    background: #dde8f8;
    color: #244fa6;
}

.guest-filter-option-text {
    flex: 1 1 auto;
}

.guest-documents-toolbar-meta {
    color: #7183a6;
    font-size: 0.85rem;
    font-weight: 600;
}

.guest-documents-list {
    display: grid;
    gap: 0.85rem;
}

.guest-events-card {
    overflow: hidden;
}

.guest-document-list-item {
    min-width: 0;
}

.guest-document-list-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid #d5e2f6;
    border-radius: 1.15rem;
    background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
    color: #1d2b4f;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.guest-document-list-link:hover,
.guest-document-list-link:focus {
    color: #1d2b4f;
    border-color: #bfd3f3;
    background: linear-gradient(180deg, #ffffff 0%, #f4f8ff 100%);
    box-shadow: 0 0.75rem 1.5rem rgba(15, 40, 90, 0.06);
}

.guest-document-list-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    flex-shrink: 0;
    border-radius: 0.95rem;
    background: #e9f1ff;
    color: #1e40af;
}

.guest-document-list-body {
    flex: 1;
    min-width: 0;
}

.guest-document-list-name {
    min-width: 0;
    font-size: 1rem;
    color: #112046;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.guest-document-list-event {
    margin-top: 0.35rem;
    color: #415372;
    font-size: 0.88rem;
}

.guest-document-list-chevron {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: stretch;
    flex-shrink: 0;
}

.guest-events-list {
    display: grid;
    gap: 0.5rem;
}

.guest-events-filter-group {
    flex-wrap: wrap;
}

.guest-events-accordion {
    display: grid;
    gap: 0.85rem;
}

.guest-event-accordion-item {
    margin-bottom: 0;
    border: 1px solid #d5e2f6 !important;
    border-radius: 1.15rem !important;
    background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
    box-shadow: none;
}

.guest-event-accordion-item:hover {
    border-color: #bfd3f3 !important;
    box-shadow: 0 0.75rem 1.5rem rgba(15, 40, 90, 0.06);
}

.guest-event-accordion-button {
    min-height: 5rem;
    padding: 0.9rem 1rem;
    border-left: 0 !important;
    border-radius: 1.15rem !important;
    background: transparent !important;
    color: #1d2b4f !important;
}

.guest-event-accordion-button:hover {
    background: transparent !important;
}

.guest-event-accordion-button:not(.collapsed) {
    background: linear-gradient(180deg, #ffffff 0%, #f4f8ff 100%) !important;
    color: #1d2b4f !important;
}

.guest-event-accordion-button::after {
    color: #8ea1c4 !important;
    font-size: 1.7rem !important;
    font-weight: 400;
}

.guest-event-accordion-button:not(.collapsed)::after {
    color: #2f4fba !important;
}

.guest-event-accordion-summary {
    left: 0;
    top: 50%;
    bottom: 0;
    width: calc(100% - 3rem);
    transform: translateY(-50%);
    color: currentColor;
    gap: 0.95rem;
}

.guest-event-accordion-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    flex-shrink: 0;
    margin-left: 0.1rem;
    border-radius: 0.95rem;
    background: #e9f1ff;
    color: #1e40af;
    padding: 0;
}

.guest-event-accordion-title-group {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.guest-event-accordion-date {
    color: #7183a6;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.guest-event-accordion-title {
    color: #112046;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.guest-event-accordion-collapse {
    border-top: 1px solid rgba(213, 226, 246, 0.9);
}

.guest-event-accordion-body {
    padding: 1rem 1rem 1.1rem;
    border-top: 0;
    color: #40526f;
    font-size: 0.9rem;
    line-height: 1.6;
}

.guest-event-comments {
    margin: 0 0 1rem;
    padding: 1rem;
    border: 1px solid #e4ecf8;
    border-radius: 1rem;
    background: #fbfdff;
}

.guest-event-section-heading {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: #4d6488;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.guest-event-section-card {
    padding: 1rem;
    border: 1px solid #e4ecf8;
    border-radius: 1rem;
    background: #fbfdff;
}

.guest-event-section-title {
    color: #4d6488;
    font-size: 0.94rem;
    letter-spacing: -0.01em;
}

.guest-event-section-rule {
    border: none;
    height: 0.125rem;
    background-color: #d9e4f5;
}

.guest-event-measure-item {
    min-height: 3.9rem;
    padding-right: 0.75rem !important;
    border: 1px solid #dfe9f7;
    background: #f7faff;
}

.guest-event-measure-item.is-user-input {
    background: #eef4ff;
}

.guest-event-measure-item.is-derived {
    background: #f9fbff;
}

.guest-event-measure-icon {
    color: #6d7e9b !important;
}

.guest-event-measure-badge {
    right: 0;
    bottom: 0;
    color: #4a4ab8;
}

.guest-event-measure-label {
    font-size: 0.875rem;
    color: #415372;
}

.guest-event-measure-value {
    font-size: 1.05rem;
    color: #1d2b4f;
}

.guest-event-measure-value.is-user-input {
    color: #163d91;
}

.guest-event-files-grid {
    display: grid;
    gap: 0.75rem;
}

.guest-event-file-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 0;
    padding: 0.9rem 1rem;
    border: 1px solid #d5e2f6;
    border-radius: 1rem;
    background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
    color: #1d2b4f;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.guest-event-file-link:hover,
.guest-event-file-link:focus {
    color: #1d2b4f;
    border-color: #bfd3f3;
    background: linear-gradient(180deg, #ffffff 0%, #f4f8ff 100%);
    box-shadow: 0 0.75rem 1.5rem rgba(15, 40, 90, 0.05);
}

.guest-event-file-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.85rem;
    height: 2.85rem;
    flex-shrink: 0;
    border-radius: 0.95rem;
    background: #e9f1ff;
    color: #1e40af;
}

.guest-event-file-body {
    min-width: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.guest-event-file-name {
    color: #112046;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.35;
    word-break: break-word;
}

.guest-event-file-meta {
    margin-top: 0.2rem;
    color: #62799b;
    font-size: 0.82rem;
}

.guest-event-file-chevron {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.guest-events-load-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.9rem;
    padding: 0.75rem 1.1rem;
    border: 1px solid #cad7ea;
    border-radius: 0.8rem;
    background: #f3f4f6;
    color: #42526d;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.guest-events-load-more:hover,
.guest-events-load-more:focus {
    border-color: #b9c9e2;
    background: #eef2f7;
    color: #2f3e57;
}

.guest-quick-actions {
    display: grid;
    gap: 0.75rem;
}

.guest-quick-actions-title {
    color: #4d6488;
    font-size: 0.98rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.guest-quick-actions-row {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.75rem;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 0.25rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.guest-quick-actions-row::-webkit-scrollbar {
    display: none;
}

.guest-quick-action-button {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    min-height: 2.85rem;
    padding: 0.75rem 1.1rem;
    border: 1px solid #cfe0f7;
    border-radius: 999px;
    background: linear-gradient(180deg, #ffffff 0%, #f4f8ff 100%);
    color: #234a7d;
    font-size: 0.96rem;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    user-select: none;
}

.guest-quick-action-button:hover {
    border-color: #bfd3f3;
    background: linear-gradient(180deg, #ffffff 0%, #edf4ff 100%);
    color: #1e3f71;
}

.guest-measures-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}

.guest-measure-tile {
    border: 1px solid #d5e2f6;
    border-radius: 1rem;
    background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
    color: #1d2b4f;
}

.guest-measure-tile:hover {
    border-color: #bfd3f3;
    background: linear-gradient(180deg, #ffffff 0%, #f4f8ff 100%);
    color: #1d2b4f;
}

.guest-measure-icon {
    color: #2f4fba;
    line-height: 1;
    font-size: 20px;
}

.guest-measure-label {
    font-size: 0.8rem;
    color: #62799b;
}

.guest-measure-value {
    font-size: 0.9rem;
    line-height: 1.3rem;
    letter-spacing: -0.02em;
    color: #1d2b4f;
}

.guest-event-name {
    min-width: 0;
    flex: 1 1 auto;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 0.9rem;
}

.guest-empty-state-card {
    border: 1px solid #f0d7b5;
    border-radius: 1.5rem;
    background:
        radial-gradient(circle at top right, rgba(217, 119, 6, 0.08), transparent 14rem),
        linear-gradient(180deg, #fffdf9 0%, #fff7ee 100%);
    box-shadow: 0 0.75rem 1.5rem rgba(15, 40, 90, 0.05);
}

.guest-empty-state-icon {
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 1.25rem;
    background: #fff4df;
    box-shadow: inset 0 0 0 1px #f3dfc4;
    color: #d97706;
}

.guest-empty-state-kicker {
    color: #b45309;
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.guest-empty-state-copy {
    color: #7a5a36;
    font-size: 0.92rem;
    line-height: 1.5;
}

.guest-empty-state-note {
    border: 1px solid #f1dec2;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.72);
    color: #8a4b08;
}

@media (max-width: 575.98px) {
    .guest-home-intro-grid {
        grid-template-columns: 1fr;
    }

    .guest-measures-grid {
        grid-template-columns: 1fr;
    }

    .guest-document-list-link {
        gap: 0.85rem;
        padding: 0.9rem;
    }

    .guest-document-list-icon {
        width: 2.65rem;
        height: 2.65rem;
    }

    .guest-documents-toggle {
        flex: 0 0 auto;
    }

    .guest-documents-toolbar {
        flex-wrap: wrap;
    }

    .guest-event-accordion-summary {
        width: calc(100% - 2.6rem);
        gap: 0.8rem;
    }

    .guest-event-accordion-icon {
        width: 2.65rem;
        height: 2.65rem;
    }

    .guest-event-accordion-title {
        white-space: normal;
    }

    .guest-event-file-link {
        gap: 0.85rem;
        padding: 0.85rem 0.9rem;
    }

    .guest-event-file-icon {
        width: 2.65rem;
        height: 2.65rem;
    }
}

.form-ezm5-lg {
    padding: 0.625rem 0.75rem;
    font-size: 2rem;
}

.form-icon-access-ezm5 {
    color: #000480;
    border-color: #9999E0;
    border-radius: 0.125rem;
    background-color: #9999E0;
}

.btn-notes-form-ezm5 {
    border-color: #9999E0;
    border-style: solid;
    padding: 0.25rem 0.75rem;
    border-radius: 0.25rem;
    border-width: 0.1rem;
    background-color: #fff;
    text-decoration: none;
    cursor: pointer;
}

.btn-notes-form-ezm5:hover,
.btn-notes-form-ezm5:focus {
    box-shadow: 0 0 4px #9999E0;
}

.registration-steps .circle {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ddd; /* brand color */
    margin: 0;
    padding: 0;
}

.registration-steps .line {
    flex: 1;
    height: 2px;
    background-color: #ddd;
    margin: 5px 0px; /* aligns with circles */
}

.registration-steps .caption {
    font-size: 0.9rem;
    color: #777;
    font-weight: 500;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
}

.registration-steps .caption.active {
    color: #000480;
    font-weight: 700;
}

.registration-steps .circle.active {
    background-color: #000480;
}

.ezm5-profile-selected {
    border-color: #000480 !important;
    border-width: 0.125rem !important;
    background-color: #f0f0fcaa !important;
}

.ezm5-consultation-measure-box {
    border-color: #000480dd !important;
    border-width: 0.075rem !important;
    background-color: #f0f0fc77 !important;
}

.ezm5-consultation-measure-box-computed {
    border-color: #9999E0 !important;
    border-width: 0.075rem !important;
    background-color: #fafbff !important;
}

.ezm5-profile-selected .ezm5-profile-circle {
    background: linear-gradient(135deg, #9999E0, #4A4AB8) !important;
    color: #fff;
}

.btn-ezm5-webapp-sm-outline {
    background-color: white;
    color: #000480;
    border: 0.075rem solid #000480;
    border-radius: 0.25rem;
    padding: 0.375rem 0.75rem;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 0.875rem;
    cursor: pointer;
}

.btn-ezm5-webapp-sm-outline:hover,
.btn-ezm5-webapp-sm-outline:focus {
    background-color: #000480 !important;
    border-color: #000480 !important;
    text-decoration: none !important;
    color:#fff !important;
    transition: background-color 0.4s, color 0.4s !important;
}

.ezm5-chart-top-button {
    border: none;
    color: #000;
    border-radius: 0.125rem;
    padding: 0.375rem 0.5rem;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 0.75rem;
    cursor: pointer;
}

.ezm5-chart-top-button.active {
    background: linear-gradient(135deg, #9999E0, #4A4AB8);
    color: #fff;
    font-weight: 600;
}

.ezm5-chart-top-button.disabled {
    color: #ccc;
    pointer-events: none;
}

.ezm5-chart-scale-button {
    border: none;
    color: #000;
    border-radius: 0.125rem;
    padding: 0.25rem 0.375rem;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 0.75rem;
    cursor: pointer;
    background-color: #fff;
}

.ezm5-chart-scale-button.active {
    font-weight: 600;
    border: 0.05rem solid #000;
}

.ezm5-chart-toggle-reference {
    border: none;
    color: #000480;
    border-radius: 0.125rem;
    padding: 0.25rem 0.375rem;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 0.75rem;
    cursor: pointer;
    background-color: #9999E099;
}

.ezm5-chart-toggle-reference.show {
    background-color: #9999E022;
}

@media (hover: hover) and (pointer: fine) {
  .btn:hover {
    background-color: #eee;
  }
}

.ezm5-inline-form {
    background-color: #9999E022;
    padding: 0.5rem 0.5rem;
    border-radius: 0.375rem;
}

.btn-ezm5-webapp-sm-secondary {
    color: #5555A0;
    border: none;
    padding: 0.375rem 0.75rem;
    text-decoration: none;
    font-size: 0.875rem;
    cursor: pointer;
    text-align: center;
}

.btn-ezm5-webapp-sm-secondary:hover,
.btn-ezm5-webapp-sm-secondary:focus {
    text-shadow: 0 0 0.6px currentColor;
}


.ezm5-measure-card-icon {
    color: #000480;
    padding: 0.125rem 0.25rem;
    cursor: pointer;
}

/* Hide the standard radio circle */
input[type="radio"].ezm5-radio {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    pointer-events: none;
}

.ezm5-radio-selection {
    border: none;
    color: #000;
    border-radius: 0.125rem;
    padding: 0.375rem 0.5rem;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 0.875rem;
    cursor: pointer;
}

.ezm5-radio-selection:hover,
.ezm5-radio-selection:focus {
    background: linear-gradient(135deg, #9999E0, #4A4AB8);
    color: #fff;
    font-weight: 600;
}

/* Show checked state on adjacent label */
input[type="radio"].ezm5-radio:checked + .ezm5-radio-selection {
    background: linear-gradient(135deg, #9999E0, #4A4AB8);
    color: #fff;
    font-weight: 600;
}


.ezm5-floating-button {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #9999E0, #4A4AB8);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s, box-shadow 0.3s;
}


.two-lines {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
}


.profile-carousel {
    scroll-snap-type: x mandatory;
}


.profile-card {
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.carousel-indicators [data-bs-target] {
    width: 0.375rem !important;
    height: 0.375rem !important;
    border-radius: 50% !important;
    background-color: transparent !important;
    border: 0.1rem solid #9999E0 !important;
    opacity: 1 !important;
    margin-right: 6px !important;
    margin-left: 6px !important;
}

.carousel-indicators .active {
    background-color: #000480 !important;
    border: 0.1rem solid #000480 !important;
}


/* Simple inner borders and light header for legal text tables */
#legaltext table {
    border-collapse: collapse; /* use inner borders */
    border-spacing: 0;
    margin-bottom: 1.5rem;
}

#legaltext table th,
#legaltext table td {
    border-bottom: 1px solid #e6e6e6; /* inner horizontal borders */
    border-left: 1px solid #e6e6e6; /* inner vertical borders */
    padding: 5px;
}

#legaltext table tr th:last-child,
#legaltext table tr td:last-child {
    border-right: 1px solid #e6e6e6; /* inner vertical borders */
}

#legaltext table th {
    background-color: #f7f8fb; /* light header background */
    font-weight: 600;
    text-align: left;
}
