[data-kt-search-element="content"] {
    position: fixed !important;
    transform: none !important;
    display: none; /* Hide the menu by default */
}

[data-kt-search-element="content"].show {
    display: block; /* Show the menu when needed */
}


.dropzone-file-success .badge {
    color: #ffffff !important; /* Force white text */
}

.tox-promotion{
    display: none !important;
  }
  

.bg-primary{
    color: white !important;
}

/* Sidebar en modo oscuro */
[data-kt-app-layout="dark-sidebar"] .app-sidebar {
    background-color: var(--bs-app-sidebar-dark-bg-color);
}

/* Sidebar en modo claro */
[data-kt-app-layout="light-sidebar"] .app-sidebar {
    background-color: #f8f9fa; /* o cualquier otro color claro que te guste */
}

a {
  color: #287FB9;
}

.file-entry {
    padding: 0.75rem;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.file-entry:last-child {
    border-bottom: none;
}

#kt_files_table_paginate {
    display: flex;
    justify-content: center;
    padding-top: 0.5rem;
}

#kt_files_table_paginate .paginate_button {
    padding: 0.25rem 0.5rem !important;
    font-size: 0.75rem !important;
    margin: 0 2px;
    border-radius: 0.5rem !important;
    min-width: 2rem;
}

/* Active button, Keen style */
#kt_files_table_paginate .paginate_button.current {
    background-color: var(--bs-primary);
    color: white !important;
    border: none !important;
}

/* Botones prev/next */
#kt_files_table_paginate .paginate_button:not(.current) {
    background-color: transparent !important;
    color: #b5b5c3 !important;
    border: none !important;
}

#kt_files_table_wrapper .dataTables_paginate {
    margin-top: 0.5rem;
}

.logo-img {
    width: 100%;
    height: 100px;
    object-fit: contain;
    object-position: center;
}

.team-logo-frame,
.logo-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.75rem;
}

.team-logo-frame {
    width: 100%;
    min-height: 120px;
    padding: 1rem;
}

.logo-badge {
    padding: 0.4rem 0.75rem;
}

.logo-badge img {
    display: block;
    max-width: 100%;
}

.logo-badge--compact {
    min-height: 2.25rem;
    padding: 0.3rem 0.6rem;
}

.logo-badge--panel {
    min-height: 3rem;
}

.logo-badge__image {
    width: auto;
    height: 24px;
}

[data-bs-theme="dark"] .team-logo-frame,
[data-bs-theme="dark"] .logo-badge {
    background-color: #cfd7df;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 0.35rem 0.85rem rgba(0, 0, 0, 0.14);
}

.btn-orcid {
    background-color: #A6CE39 !important;
    border-color: #A6CE39 !important;
    color: #fff !important;
}
.btn-orcid:hover {
    background-color: #8fbf2f !important; /* darker shade on hover */
    border-color: #8fbf2f !important;
}

.btn-github {
    background-color: #24292f !important;
    border-color: #24292f !important;
    color: #fff !important;
}
.btn-github:hover {
    background-color: #1a1e23 !important; /* darker shade on hover */
    border-color: #1a1e23 !important;
}

/* ============================================================
   Skeleton placeholders — shared shimmer used for loading states
   in the main page, explore results, and dataset workbench.
   ============================================================ */
@keyframes skeleton-shimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
.skeleton {
    position: relative;
    overflow: hidden;
    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.06) 25%,
        rgba(0, 0, 0, 0.12) 37%,
        rgba(0, 0, 0, 0.06) 63%
    );
    background-size: 400% 100%;
    animation: skeleton-shimmer 1.6s ease infinite;
    border-radius: 6px;
    color: transparent !important;
    pointer-events: none;
    user-select: none;
}
[data-bs-theme="dark"] .skeleton {
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.06) 25%,
        rgba(255, 255, 255, 0.14) 37%,
        rgba(255, 255, 255, 0.06) 63%
    );
    background-size: 400% 100%;
}
.skeleton-line { display: block; height: 12px; width: 100%; margin-bottom: 0.5rem; }
.skeleton-line.sm { height: 10px; }
.skeleton-line.lg { height: 18px; }
.skeleton-line.xl { height: 28px; }
.skeleton-block { display: block; width: 100%; }
.skeleton-circle { border-radius: 50%; }

/* Fade-in once real content replaces the skeleton. */
.skeleton-fade-in {
    animation: skeleton-fade-in 0.25s ease-out both;
}
@keyframes skeleton-fade-in {
    from { opacity: 0; transform: translateY(2px); }
    to   { opacity: 1; transform: none; }
}

/* ============================================================
   DOI pill — shared visual used in workbench, main page, and
   explore results. Zenodo-style split pill: black "DOI" label
   on the left + blue gradient value on the right.
   ============================================================ */
.doi-pill {
    font-family: monospace;
    font-size: 0.78rem;
    line-height: 1.2;
    height: 35px;
}
.doi-pill-label,
.doi-pill-value {
    display: inline-flex;
    align-items: center;
}
.doi-pill-label {
    background: #18181b;
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.doi-pill-value {
    background: linear-gradient(90deg, #2176bd 0%, #2980b9 100%);
    color: #fff;
    text-decoration: none;
    transition: filter 0.15s ease;
}
.doi-pill-value:hover {
    filter: brightness(1.08);
    color: #fff;
}

.filter-spacing {
    margin-bottom: 3.5rem !important;
}

.filter-sublabel {
    margin-bottom: 0.03rem !important;
}

.filter-main-label {
    margin-bottom: 0.05rem !important;
}
