/* For-Credit Licensure Disclosure Search Page CSS */
.loading {
    text-align: center;
    font-size: 20px;
    padding: 50px;
    color: #555;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { opacity: 0.2; }
    50% { opacity: 1; }
    100% { opacity: 0.2; }
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    table-layout: auto; /* Switch from fixed to auto for more dynamic behavior */

}

th, td {
    min-width: 115px; /* Ensure columns don't shrink too much */
    text-align: left;
    border: 1px solid #ddd;
    word-wrap: break-word;
    word-break: break-word;
}

th {
    background-color: #f4f4f4;
    word-break: auto-phrase;
}

/* Modal component styles */

.bold-text {
    font-weight: bold;
}

/* Modal visibility */
.cwf-modal {
    display: none;
}

.cwf-modal--open {
    display: block;
}

/* Overlay */
.cwf-modal__overlay {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: calc(1rem - 4px);
    background-color: rgba(0, 0, 0, 0.75);
    will-change: transform;
    z-index: 1000;
}

@media (prefers-reduced-transparency: reduce) {
    .cwf-modal__overlay {
        background-color: black;
    }
}

/* Overlay Animation */
.cwf-modal[aria-hidden="false"] .cwf-modal__overlay {
    animation: fadeIn 0.3s ease-in-out;
}

.cwf-modal[aria-hidden="true"] .cwf-modal__overlay {
    animation: fadeOut 0.3s ease-in-out;
}

/* Dialog Box */
.cwf-modal__dialog {
    box-sizing: border-box;
    max-width: 900px;
    max-height: 100vh;
    padding: 2rem;
    border-radius: 0.5rem;
    background-color: white;
    border: 2px solid white;
    overflow-y: auto;
    will-change: transform;
}

.cwf-modal__dialog:focus {
    outline: none;
    border-color: black;
}

/* Dialog Box Animation */
.cwf-modal[aria-hidden="false"] .cwf-modal__dialog {
    animation: slideInUp 0.3s ease-in-out;
}

.cwf-modal[aria-hidden="true"] .cwf-modal__dialog {
    animation: slideOutDown 0.3s ease-in-out;
}

/* Modal Title */
.cwf-modal__title {
    display: block;
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

/* Close Button */
.cwf-modal__close {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    min-width: 128px;
    height: 64px;
    padding: 0;
    border: none;
    background-color: black;
    font-family: sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: white;
    transition: background-color 0.3s ease;

    --active-background-color: black;
}

.cwf-modal__close:hover,
.cwf-modal__close:focus {
    background-color: var(--active-background-color);
}

@media (min-width: 1024px) {
    .cwf-modal__close {
        background-color: rgba(0, 0, 0, 0.5);
    }
}

/* Close Button Icon */
.cwf-modal__close span,
.cwf-modal__times {
    pointer-events: none;
}

.cwf-modal__times {
    min-width: 1.125rem;
    width: 1.125rem;
    margin-left: 0.25rem;
}

/* Modal Content */
.cwf-modal__content > * {
    margin-bottom: 1rem;
}

.cwf-modal__content {
  	word-wrap: break-word;
}











