/* --- Variables y Globales --- */
.catalogo-emprendedores {
    --card: #ffffff;
    --text: #1b325c;
    --muted: #6b7280;
    --accent: #2563eb;
    --ring: rgba(37, 99, 235, 0.2);
    --shadow: 0 6px 24px rgba(0, 0, 0, 0.08);

    font-family: "Montserrat Condensed", system-ui, -apple-system, Segoe UI,
        Roboto, Ubuntu, Cantarell, Noto Sans, "Helvetica Neue", Arial, sans-serif;
    color: var(--text);
    background: url("assets/fondo.jpg") no-repeat center center fixed;
    background-size: cover;
    line-height: 1.5;
    margin: 0;
    overflow-x: hidden;
}

.catalogo-emprendedores * {
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .catalogo-emprendedores {
        background: url("assets/fondo-movil.jpg") no-repeat center center fixed;
        background-size: cover;
    }
}

/* --- Estructura principal --- */
.dir-wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 16px;
}

@media (max-width: 480px) {
    .dir-wrap {
        padding: 16px 12px;
    }
}

/* --- Header y menú móvil --- */
.dir-header {
    display: grid;
    grid-template-columns: 1fr minmax(0, 1100px) 1fr;
    background-color: white;
    width: 100%;
    padding: 0.5rem 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0px;
    z-index: 1000;
}

.dir-header-content {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 12px;
    grid-column: 2;
    padding: 0 16px;
}

.dir-logos {
    display: flex;
    align-items: center;
    gap: 15px;
}

.dir-logo-municipalidad {
    width: 150px;
    height: auto;
}

.dir-logo {
    height: 80px;
    width: auto;
    flex-shrink: 0;
}

.dir-title {
    text-align: center;
    font-size: clamp(20px, 4vw, 25px);
    font-weight: 800;
    letter-spacing: 0.2px;
    line-height: 1.1;
}

.dir-actions {
    display: grid;
    align-items: center;
    gap: 12px;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    flex-direction: column;
    gap: 3px;
    padding: 8px;
    cursor: pointer;
    border-radius: 6px;
    transition: background-color 0.2s;
}

.hamburger:hover {
    background: #f3f4f6;
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    transition: all 0.3s ease;
    transform-origin: center;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 1000;
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding-top: 20px;
}

.mobile-menu.open {
    display: flex;
}

.mobile-menu-content {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin: 0 16px;
    width: calc(100% - 32px);
    max-width: 400px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.mobile-menu-title {
    font-weight: 700;
    font-size: 18px;
    color: var(--text);
}

.mobile-menu-close {
    background: #f3f4f6;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    color: var(--text);
}

@media (max-width: 640px) {
    /* Nueva estructura para móviles */
    .dir-header-content {
        grid-template-columns: 1fr auto;
        /* Se usa flexbox para controlar la alineación del grupo de logos y botón */
        display: flex;
        align-items: center;
        flex-wrap: wrap; /* Permite que los elementos pasen a la siguiente línea */
        padding: 0 12px;
        gap: 8px;
    }

    .dir-logos {
        display: flex;
        justify-content: center; /* Centra los logos horizontalmente */
        align-items: center;
        gap: 8px;
        flex-grow: 1; /* Ocupa todo el espacio disponible */
    }

    /* Reducimos el tamaño de los logos */
    .dir-logo-municipalidad {
        width: 100px;
    }

    .dir-logo {
        height: 50px;
    }

    .dir-title {
        text-align: center;
        font-size: clamp(16px, 4vw, 20px);
        margin-top: 5px; /* Espacio entre los logos y el título */
        flex-basis: 100%; /* El título ocupa el 100% del ancho, forzando una nueva línea */
    }

    .dir-actions {
        display: none;
    }

    .hamburger {
        display: flex;
        align-self: flex-start; /* Alinea el botón arriba, junto a los logos */
        margin-left: auto; /* Empuja el botón a la derecha */
        margin-right: -8px; /* Elimina el espacio extra para pegarlo a la derecha */
    }
}

/* --- Búsqueda y contador --- */
.dir-input {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    max-width: 400px;
}

.dir-input svg {
    color: var(--muted);
    position: absolute;
    left: 12px;
}

.dir-input input[type="search"] {
    width: 100%;
    padding: 0.75rem 0.75rem 0.75rem 40px;
    border: 1px solid #d1d5db;
    border-radius: 9999px;
    background-color: #f9fafb;
    font-size: 1rem;
    color: var(--text);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.dir-input input[type="search"]:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--ring);
}

.dir-count {
    font-size: 13px;
    color: var(--muted);
    text-align: center;
}

/* --- Grilla de tarjetas --- */
.dir-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    grid-auto-rows: auto;
    gap: 12px;
    margin-top: 10px;
}

@media (max-width: 640px) {
    .dir-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .dir-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 8px;
    }
}

.touch-device .card.touch-active {
    transform: scale(0.98);
    transition: transform 0.2s ease;
}

@media (hover: hover) {
    .card:hover {
        transform: scale(1.03);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    }

    .card.touch-active:hover {
        transform: scale(1.03);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    }
}

@media (hover: none) {
    .card:hover {
        transform: none;
    }

    .card:focus {
        transform: scale(1.03);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
        outline: none;
    }
}

.card {
    background: var(--card);
    border: 1px solid #c2d500;
    border-radius: 12px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
    text-align: center;
    cursor: pointer;
    will-change: transform, box-shadow;
    transform: translateZ(0);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: var(--shadow);
    position: relative;
    flex: 1;
}

@media (max-width: 480px) {
    .card {
        padding: 8px;
        gap: 6px;
        border-radius: 10px;
        aspect-ratio: auto;
        max-height: 180px;
    }
}

.card:focus,
.card:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    outline: none;
}

/* --- Estilos de logos en tarjetas --- */
.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    flex-shrink: 0;
    position: relative;
}

@media (max-width: 480px) {
    .logo {
        width: 70px;
        height: 70px;
    }
}

.logo img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: cover;
    border-radius: 12px;
    overflow: hidden;
}

.logo img.error {
    display: none;
}

.logo.image-placeholder {
    background: #e5e7eb;
    color: #6b7280;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 12px;
}

.logo.image-placeholder span {
    display: block;
    padding: 0 5px;
}

.logo.image-placeholder img.error+span {
    display: flex;
}

@media (max-width: 480px) {
    .logo img {
        border-radius: 10px;
    }

    .logo.image-placeholder {
        border-radius: 10px;
        font-size: 10px;
    }
}

/* --- Nombres y rubros en tarjetas --- */
.name {
    font-weight: 700;
    font-size: 14px;
    line-height: 1.2;
    color: #1b325c;
    text-align: center;
    overflow: hidden;
    word-break: break-word;
    hyphens: auto;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 480px) {
    .name {
        font-size: 12px;
    }
}

.small {
    font-size: 11px;
    color: var(--muted);
    text-align: center;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    white-space: normal;
}

@media (max-width: 480px) {
    .small {
        font-size: 10px;
    }
}

/* --- Modal del emprendedor --- */
.modal {
    position: fixed;
    inset: 0;
    display: none;
    background: rgba(17, 24, 39, 0.48);
    backdrop-filter: saturate(160%) blur(6px);
    align-items: center;
    justify-content: center;
    padding: 16px;
    z-index: 9999;
}

.modal.open {
    display: flex;
}

@media (max-width: 480px) {
    .modal {
        padding: 12px;
        align-items: center;
    }
}

.sheet {
    width: min(750px, 100%);
    max-height: 100%;
    background: var(--card);
    border-radius: 16px;
    border: 1px solid #c2d500;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
}

@media (max-width: 480px) {
    .sheet {
        border-radius: 12px;
    }
}

.sheet-header {
    display: flex;
    gap: 20px;
    padding: 16px;
    background: #0c1931;
    color: white;
    border-bottom: 1px solid #c2d500;
    align-items: flex-start;
    justify-content: flex-start;
    flex-shrink: 0;
    overflow-y: auto;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    position: relative;
}

@media (max-width: 480px) {
    .sheet-header {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        border-top-left-radius: 12px;
        border-top-right-radius: 12px;
    }
}

.sheet-content {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-grow: 1;
    flex-shrink: 1;
    overflow-y: auto;
    min-height: 0;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
}

@media (max-width: 480px) {
    .sheet-content {
        padding: 14px;
        gap: 10px;
    }
}

.sheet-content .desc {
    font-size: 14px;
    color: #374151;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 12px;
    line-height: 1.4;
}

@media (max-width: 480px) {
    .sheet-content .desc {
        font-size: 13px;
        padding: 10px;
    }
}

.sheet-header .hero {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

@media (max-width: 480px) {
    .sheet-header .hero {
        width: 100px;
        height: 100px;
    }
}

.sheet-header .hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.sheet-header .hero img.error {
    display: none;
}

.sheet-header .hero.image-placeholder {
    background: #e5e7eb;
    color: #6b7280;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 10px;
}

.sheet-header .hero.image-placeholder span {
    display: none;
}

.sheet-header .hero.image-placeholder img.error+span {
    display: flex;
}

@media (max-width: 480px) {
    .sheet-header .hero.image-placeholder {
        font-size: 12px;
    }
}

.sheet-header .meta {
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: flex-start;
    text-align: left;
    flex: 1;
}

@media (max-width: 480px) {
    .sheet-header .meta {
        justify-content: center;
        align-items: center;
        text-align: center;
    }
}

.sheet-header .meta .hn {
    font-weight: 800;
    letter-spacing: 0.2px;
    font-size: 20px;
    line-height: 1.3;
    margin: 0;
}

@media (max-width: 480px) {
    .sheet-header .meta .hn {
        font-size: 18px;
    }
}

.close {
    position: absolute;
    top: 8px;
    right: 8px;
    color: #c2d500;
    background: #d1d5db00;
    border: 1px solid #c2d500;
    border-radius: 8px;
    padding: 6px 8px;
    cursor: pointer;
    font-weight: 700;
    font-size: 14px;
    z-index: 10;
    transition: background-color 0.2s;
    width: auto;
    height: auto;
    display: inline-block;
}

@media (max-width: 480px) {
    .close {
        padding: 5px 7px;
        font-size: 13px;
    }
}

.close:hover {
    background: #1b325c;
}

.meta .row {
    display: flex;
    gap: 5px;
    align-items: flex-start;
}

@media (max-width: 480px) {
    .meta .row {
        flex-direction: column;
        gap: 4px;
        align-items: center;
        text-align: center;
    }
}

.meta .label {
    min-width: 80px;
    color: #a7b0c0;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding-top: 2px;
}

@media (max-width: 480px) {
    .meta .label {
        min-width: auto;
        font-size: 10px;
    }
}

.meta .val {
    font-size: 14px;
    color: #e5e7eb;
    word-break: break-word;
}

@media (max-width: 480px) {
    .meta .val {
        font-size: 13px;
    }
}

.meta a {
    color: #bfdbfe;
    text-decoration: none;
    border-bottom: 1px dashed rgba(191, 219, 254, 0.5);
}

.link-item {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 2px;
}

.link-icon {
    display: inline-flex;
    margin-right: 6px;
    font-size: 16px;
    width: 16px;
    height: 16px;
}

.link-text {
    text-decoration: none;
    border-bottom: 1px dashed rgba(191, 219, 254, 0.5);
    word-break: break-all;
}

.dir-links-label {
    font-family: "Montserrat Condensed", sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: #a2bae2;
    margin-top: 10px;
}

@media (max-width: 480px) {
    .dir-links-label {
        text-align: center;
    }
}

/* --- Galería de fotos del modal --- */
.gallery {
    position: relative;
    background: #0c1931;
    border-radius: 12px;
    padding: 10px;
    border: 1px solid #e5e7eb;
}

@media (max-width: 480px) {
    .gallery {
        padding: 8px;
        border-radius: 10px;
    }
}

.g-stage {
    position: relative;
    aspect-ratio: 16/9;
    background: #0f172a;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    touch-action: pan-y pinch-zoom;
    user-select: none;
    min-height: 200px;
    object-fit: cover;
}

@media (max-width: 768px) {
    .g-stage {
        aspect-ratio: 3/2;
        min-height: 180px;
    }
}

@media (max-width: 480px) {
    .g-stage {
        aspect-ratio: 4/3;
        min-height: 150px;
    }
}

.g-stage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    pointer-events: none;
}

.g-stage img.error {
    display: none;
}

.g-stage.image-placeholder {
    background: #e5e7eb;
    color: #6b7280;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 8px;
}

.g-stage.image-placeholder span {
    display: none;
}

.g-stage.image-placeholder img.error+span {
    display: flex;
}

@media (max-width: 480px) {
    .g-stage.image-placeholder {
        font-size: 12px;
    }
}

.g-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
    gap: 8px;
}

@media (max-width: 480px) {
    .g-nav {
        gap: 6px;
    }
}

.g-thumbs {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 2px;
    flex: 1;
    
    justify-content: center;
}

@media (max-width: 480px) {
    .g-thumbs {
        gap: 4px;
    }
}

.g-thumbs .thumb-container {
    position: relative;
    width: 48px;
    height: 48px;
}

@media (max-width: 480px) {
    .g-thumbs .thumb-container {
        width: 40px;
        height: 40px;
    }
}

.g-thumbs img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
    border: 2px solid transparent;
    cursor: pointer;
}

.g-thumbs img.error {
    display: none;
}

.g-thumbs .thumb-container.image-placeholder {
    background: #e5e7eb;
    color: #6b7280;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 6px;
}

.g-thumbs .thumb-container.image-placeholder span {
    display: none;
}

.g-thumbs .thumb-container.image-placeholder img.error+span {
    display: flex;
}

@media (max-width: 480px) {
    .g-thumbs .thumb-container.image-placeholder {
        font-size: 8px;
    }
}

.g-thumbs img.active {
    border-color: var(--accent);
    box-shadow: 0 0 0 2px var(--ring);
}

.g-btn {
    border: 1px solid #e5e7eb;
    background: var(--card);
    border-radius: 8px;
    padding: 6px 10px;
    font-weight: 700;
    cursor: pointer;
    font-size: 12px;
    transition: background-color 0.2s;
    color: #1b325c;
    white-space: nowrap;
}

@media (max-width: 480px) {
    .g-btn {
        padding: 5px 8px;
        font-size: 11px;
    }
}

.g-btn:hover {
    background: #f3f4f6;
}

.g-btn:active {
    transform: scale(0.95);
}

.swipe-hint {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 10px;
    color: rgba(255, 255, 255, 0.6);
    background: rgba(0, 0, 0, 0.3);
    padding: 2px 6px;
    border-radius: 4px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
}

@media (max-width: 768px) {
    .swipe-hint {
        opacity: 1;
    }
}

/* --- Varios --- */
.credit {
    text-align: center;
    margin-top: 16px;
    font-size: 11px;
    color: #9ca3af;
    padding: 0 12px;
}

@media (max-width: 480px) {
    .credit {
        font-size: 10px;
        margin-top: 12px;
    }
}

.loading {
    opacity: 0.5;
    pointer-events: none;
}

.error-message {
    text-align: center;
    padding: 20px;
    color: var(--muted);
    font-size: 14px;
}

/* Accesibilidad */
@media (prefers-reduced-motion: reduce) {
    .card {
        transition: transform 0.1s ease, box-shadow 0.1s ease;
    }

    *:not(.card) {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* --- Controles de ordenación --- */
.dir-toggle {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 24px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked+.slider {
    background-color: var(--accent);
}

input:focus+.slider {
    box-shadow: 0 0 0 3px var(--ring);
}

input:checked+.slider:before {
    transform: translateX(16px);
}

.toggle-label {
    font-size: 0.9rem;
    color: var(--muted);
}

/* --- Enlaces de la ficha del emprendedor --- */
#m-links-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

@media (max-width: 480px) {
    #m-links-container {
        justify-content: center;
    }
}

.dir-link-item {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    color: #bfdbfe;
    text-decoration: none;
    font-size: 14px;
}

.dir-link-icon {
    display: inline-flex;
    margin-right: 6px;
    font-size: 16px;
    width: 16px;
    height: 16px;
}

.dir-link-text {
    text-decoration: none;
    border-bottom: 1px dashed rgba(191, 219, 254, 0.5);
    word-break: break-all;
}

.dir-links-label {
    font-family: "Montserrat Condensed", sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: #a2bae2;
    margin-top: 10px;
}

@media (max-width: 480px) {
    .dir-links-label {
        text-align: center;
    }
}

/* --- Footer del Catálogo --- */
.dir-footer {
    clear: both;
    margin-top: 50px;
    background: #f2f2f2;
    padding: 30px;
    font-size: 14px;
    color: #444;
}

.dir-footer a {
    color: #444;
    text-decoration: none;
    transition: color 0.3s ease;
}

.dir-footer a:hover {
    color: #1a73e8;
}

.dir-footer-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1100px;
    margin: 0 auto;
}

.dir-widget {
    flex: 1 1 200px;
    margin: 0 10px 20px;
    padding: 0 10px;
}

.dir-widget-title {
    font-size: 1.25em;
    font-weight: bold;
    margin-bottom: 10px;
}

.dir-text-content p {
    margin-top: 0;
    line-height: 1.6;
}

.dir-text-content i.fa-solid,
.dir-text-content i.fab {
    margin-right: 5px;
    font-size: 16px;
    color: #888;
}

.dir-image-widget img {
    height: auto;
    max-width: 100%;
}

.dir-attribution {
    text-align: center;
    margin-top: 20px;
    font-size: 0.8em;
    color: #888;
}

/* Media Queries para responsividad */
@media (max-width: 768px) {
    .dir-footer-grid {
        flex-direction: column;
        align-items: center;
    }

    .dir-widget {
        margin: 0 0 20px;
        text-align: center;
    }
}


/* --- Corrección para Modo Oscuro --- */
@media (prefers-color-scheme: dark) {
    .catalogo-emprendedores,
    .catalogo-emprendedores body,
    .dir-header,
    .mobile-menu,
    .mobile-menu-content,
    .card,
    .sheet,
    .sheet-content,
    
    .dir-footer {
        background-color: #ffffff !important;
        color: #1b325c !important;
    }

    .dir-text-content p,
    .credit,
    .dir-attribution,
    .dir-link-item,
    .dir-link-text {
        color: #7c9cda !important;
    }

    .dir-input input[type="search"] {
        background-color: #f9fafb !important;
        color: #ffffff !important;
    }
    
    .dir-links-label
    {
        color: #9ea9c0 !important;
    }
    .meta .val,
    .meta .label,
    .dir-link-item,
    .dir-link-icon {
        color: #7c9cda !important;
    }

    .sheet-header {
        background-color: #0c1931 !important;
    }
    .sheet-header .meta .hn {
        color: white !important;
    }
    .sheet-header .meta .val {
        color: #e5e7eb !important;
    }

    .g-thumbs img {
        border-color: #c2d500 !important;
    }
}
