/* Spinner */
#loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    /* Fondo semi-transparente */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    pointer-events: all;
    /* Bloquea interacciones */
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #fff;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0% auto;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Publication widget */
.news-image {
    max-height: 400px;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
    width: 100%;
}

.news-card {
    background-color: #ffffff;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.dark .news-card {
    background-color: #18181b; /* gray-800 */
}

.news-content {
    padding: 1rem;
    text-align: center;
}

.news-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #1f2937; /* gray-800 */
}

.dark .news-title {
    color: #f3f4f6; /* gray-100 */
}

.news-time {
    color: #4b5563; /* gray-600 */
    font-size: 0.9rem;
}

.dark .news-time {
    color: #9ca3af; /* gray-400 */
}

:root {
    --swiper-pagination-top: 370px;
}

.publication-image-table {
    max-width: 300px;
    max-height: 300px;
    object-fit: contain;
    width: auto;
    height: auto;
}

div:has(> fieldset.authorized-hide-day) {
    display: none;
}

.requirement-yellow .fi-section-header-description {
    color: #e1c022;
    font-weight: bold;
}

.requirement-red .fi-section-header-description {
    color: #d32020;
    font-weight: bold;
}

.requirement-green .fi-section-header-description {
    color: #0fa30f;
    font-weight: bold;
}

.dark .requirement-yellow .fi-section-header-description {
    color: #e1c022;
    font-weight: bold;
}

.dark .requirement-red .fi-section-header-description {
    color: #d32020;
    font-weight: bold;
}

.dark .requirement-green .fi-section-header-description {
    color: #0fa30f;
    font-weight: bold;
}

/* Widgets */
.fi-wi-widget .fi-section-content.p-6 {
    padding: 0px;
    padding-bottom: 24px;
}
.fi-wi-widget .fi-section-content h2 {
    padding: 13px 24px 13px 24px;
    font-size: 1rem;
    border-top-left-radius: 0.75rem;
    border-top-right-radius: 0.75rem;
}
.fi-wi-widget .fi-section-content p,
.fi-wi-widget .fi-section-content a {
    padding: 0 24px 0 24px;
}
.fi-wi-widget .fi-ta-ctn {
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
}

/* Sidebar */
.fi-sidebar-header {
    position: relative;
}

.fi-sidebar-header > div:first-of-type {
    position: absolute;
    left: 48%;
    transform: translateX(-50%);
}

/* Topbar */
.welcome-text-title {
    font-size: 0.8rem;
    font-weight: bolder;
    line-height: 0.9rem;
}
.welcome-text {
    font-size: 0.8rem;
    font-weight: bolder;
}

/* Infolist */
/* .fi-modal-content .fi-fo-component-ctn .fi-in-entry-wrp .fi-in-text  */
.infolist-text-entry {
    background-color: rgba(250, 250, 250, 0.5);
    border: 1px solid #e1e1d4;
    padding: 6px 12px;
    border-radius: 10px;
    min-height: 38px;
}

/* Tables */
.list-vertical-align-top .items-center {
    align-items: start !important;
}
