.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-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-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;
}

.card-ezm5-access {
    color:#000000;
}

.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.125rem;
}

.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 {
    width: 250px;
    left: 50%;
    transform: translateX(-50%);
    top: 80px;
}

.registration-steps .circle {
    width: 12px;
    height: 12px;
    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 {
    display: 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;
}