#root.theme-loaded {
    display: none;
}
@-webkit-keyframes loadingIndicatorDelay {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes loadingIndicatorDelay {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.loading-app {
    position: fixed;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    text-align: center;
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #25272d;
    opacity: 0;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-delay: 0.5s;
    animation-delay: 0.2s;
    -webkit-animation-name: loadingIndicatorDelay;
    animation-name: loadingIndicatorDelay;
    -webkit-animation-timing-function: ease-in-out;
    animation-timing-function: ease-in-out;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

.ellipsis-anim span {
    opacity: 0;
    -webkit-animation: ellipsis-dot 1s infinite;
    animation: ellipsis-dot 1s infinite;
}

.ellipsis-anim span:nth-child(1) {
    -webkit-animation-delay: 0s;
    animation-delay: 0s;
}

.ellipsis-anim span:nth-child(2) {
    -webkit-animation-delay: 0.1s;
    animation-delay: 0.1s;
}

.ellipsis-anim span:nth-child(3) {
    -webkit-animation-delay: 0.2s;
    animation-delay: 0.2s;
}

@-webkit-keyframes ellipsis-dot {
    0% {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

@keyframes ellipsis-dot {
    0% {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.loading-app-icon {
    width: 100%;
    height: auto;
}

@media (min-width: 768px) {
    .loading-app-icon {
        width: 70%;
    }
}

@media (min-width: 992px) {
    .loading-app-icon {
        width: 40%;
    }
}

@-webkit-keyframes animateAppLoadingIcon {
    0% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }

    14% {
        -webkit-transform: scale(1.3);
        transform: scale(1.3);
    }

    28% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }

    42% {
        -webkit-transform: scale(1.3);
        transform: scale(1.3);
    }

    70% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

@keyframes animateAppLoadingIcon {
    0% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }

    14% {
        -webkit-transform: scale(1.3);
        transform: scale(1.3);
    }

    28% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }

    42% {
        -webkit-transform: scale(1.3);
        transform: scale(1.3);
    }

    70% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

.animateAppLoadingIcon {
    -webkit-animation-name: animateAppLoadingIcon;
    animation-name: animateAppLoadingIcon;
    -webkit-animation-duration: 1.3s;
    animation-duration: 1.3s;
    -webkit-animation-timing-function: ease-in-out;
    animation-timing-function: ease-in-out;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
}

/* Text wrapping for checkbox labels */
.checkbox-text-wrap label {
    word-break: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    line-height: 1.4;
}

/* Disable checkbox animations to prevent flickering */
.ux-checkbox,
.ux-checkbox *,
.ux-checkbox label,
.ux-checkbox label::before,
.ux-checkbox label::after,
.ux-checkbox input {
    transition: none !important;
    animation: none !important;
}

/* Hide empty label for fields with custom tooltip label */
.hide-textbox-label label {
    display: none !important;
}

/* Remove padding from CheckboxGroup wrapper for admin checkbox alignment */
.admin-checkbox-wrapper .ux-col-md-12 {
    padding-left: 0 !important;
}

/* Utility class for left margin */
.ml-10 {
    margin-left: 10px;
}

/* Utility class for negative left margin */
.ml-n16 {
    margin-left: -16px;
}

/* Utility class for top margin */
.mt-16 {
    margin-top: 16px;
}

/* Utility class for 2px padding */
.p-2px {
    padding: 2px;
}

/* Role Detail - Admin checkbox with top margin */
.role-admin-checkbox {
    margin-top: 24px;
}

/* Group Member - Search row with unset padding */
.group-member-search-row {
    padding-bottom: unset !important;
}

/* Case view link - absolutely positioned link for viewing related cases */
.case-view-link {
    position: absolute;
    right: 30px;
    top: 55%;
    transform: translateY(-50%);
    text-decoration: underline;
}

/* Azure Address Field - Address autocomplete component */
.azure-address-wrapper {
    position: relative;
}

.azure-address-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    fontSize: 14px;
    outline: none;
}

.azure-address-loading {
    position: absolute;
    right: 10px;
    top: 35px;
    color: #007bff;
}

.azure-maps-footer {
    padding: 8px 12px;
    border-top: 1px solid #e9ecef;
    font-size: 11px;
    color: #6c757d;
    text-align: center;
}

/* Maternal Clinical - Pregnancy history checkbox alignment */
.maternal-gestation-checkbox {
    margin-top: 46px;
    margin-bottom: 4px;
}

/* Maternal Clinical - Table cell for illness display */
.maternal-illness-cell {
    height: 34px;
    display: flex;
    align-items: center;
}

/* Utility class for nowrap text */
.nowrap {
    white-space: nowrap;
}

/* Microcephaly CNS - Section headers */
.microcephaly-section-header {
    font-weight: bold;
    margin-bottom: 15px;
}

.microcephaly-section-header-mt {
    font-weight: bold;
    margin-bottom: 15px;
    margin-top: 20px;
}

.microcephaly-subsection-header {
    font-weight: bold;
    margin-bottom: 10px;
}

.microcephaly-subsection-header-mt {
    font-weight: bold;
    margin-bottom: 10px;
    margin-top: 12px;
}

/* Microcephaly CNS - Light blue add button */
.microcephaly-add-btn {
    background-color: #ADD8E6;
    border: none;
    color: #000;
}

/* Microcephaly CNS - Spacer div */
.microcephaly-spacer {
    width: 24px;
    height: 24px;
}

/* Completed Cases Report - Header styling */
.completed-cases-header {
    text-align: center;
    padding: 8px;
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    background-color: #D9E8F6;
}

/* Incomplete Case Report - Table header minimum width */
.incomplete-case-th-minwidth {
    min-width: 130px;
}

/* Facility Report - List item spacing */
.facility-report-list-item {
    margin-bottom: 3px;
}

/* Role Detail - Subsection header and divider */
.role-detail-subsection-header {
    font-weight: bold;
    margin-left: 15px;
}

.role-detail-divider {
    height: 10px;
    border-bottom: 1px solid #000000ff;
    margin-bottom: 10px;
}

.home-card-header-img-1 {
    background-image: url("/images/home-adobe-stock.svg");
}

.home-card-header-img-2 {
    background-image: url("/images/home-adobe-stock-1.svg");
}

.logout-header-img {
    background-image: url("/images/logout-success-header.svg");
}

.search-or-separator {
    margin-top: 2rem;
}

.delete-icon-enabled {
    font-size: 18px;
    cursor: pointer;
    margin-bottom: 8px;
}

.delete-icon-disabled {
    font-size: 18px;
    cursor: not-allowed;
    margin-bottom: 8px;
}
