body {
    color: #756d6f;
    overflow: hidden;
    background-color: #f8f9fa;
    font-size: 14px;
}

body.admin-page {
    overflow-y: auto;
    overflow-x: hidden;
}

h6{
    font-size: 14px;
}

.txjus{
    text-align: justify;
    line-height: 1.5;
}

.welbox{
    padding: 20px;
}

.welcome{
    background-image: url(../img/bg-dash.jpg);
}

/* Contenedor del formulario */
.login-box {
    max-width: 400px;
    width: 100%;
}

/* Estilos para la columna de la imagen */
.login-image {
    background: url('../img/home-banner.jpg') center/cover no-repeat;
    position: relative;
}

/* Overlay para oscurecer la imagen y mejorar el contraste */
.login-image .overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
}

.main-logo{
    cursor: pointer;
    width: 80px;
}

.dashboard-header{
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
    padding: 15px;
    background-color: #f5f5f5;
}

.dashboard-header p{
    text-align: right;
}

nav a {
    cursor: pointer;
}

.logos-empresas img {
    margin-right: 35px;
    transition: 0.3s linear;
    width: 70px;
}

.navbar a{
    font-size: 12px;
}

.main-menu-btn {
    background-color: #e1251b;
    border-color: #e1251b;
    color: #fff;
}

.main-menu-btn:hover,
.main-menu-btn:focus,
.main-menu-btn:active,
.main-menu-btn.show {
    background-color: #c91f17;
    border-color: #c91f17;
    color: #fff;
}

.nav-item a {
    color: #a9a9a9;
}

.nav-item a:hover {
    color: red;
}

.brand-logo {
    width: 25px;
    /* Ajusta el tamaño del logo */
    height: auto;
    vertical-align: middle;
    /* Alinea el logo con el checkbox */
    margin-left: 5px;
    cursor: pointer;
}

.filter-group{
    font-size: 12px;
}

#filterBrand,
#filterYear {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    align-items: center;
}

#filterBrand label,
#filterYear label {
    margin: 0;
    white-space: nowrap;
}

#filterBrand br,
#filterYear br {
    display: none;
}

#searchKeyword{
    font-size: 12px;
}


#fileGrid {
    max-height: 70vh;
    /* Ajusta la altura del área de archivos */
    overflow-y: auto;
    /* Agrega scroll solo dentro del grid */
    overflow-x: hidden;
    /* Agrega scroll solo dentro del grid */
    padding-right: 10px;
    /* Evita que el scroll tape el contenido */
}

body.dashboard[data-section="galeria"],
body.dashboard[data-section="plantillas"] {
    overflow-y: auto;
    overflow-x: hidden;
}

body.dashboard[data-section="galeria"] #fileGrid,
body.dashboard[data-section="plantillas"] #fileGrid {
    max-height: none;
    overflow: visible;
    padding-right: 0;
    min-height: 120px;
}

#filterContainer {
    position: sticky;
    top: 0;
    height: 100vh;
    /* Ocupa toda la altura de la pantalla */
    overflow-y: auto;
    /* Permite scroll si los filtros son muchos */
    padding-right: 10px;
}



/* Tarjeta de archivo con altura fija */
.file-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: 300px;
    /* Altura uniforme */
}

.file-thumbnail {
    width: 90%;
    height: 260px;
    /* Aumentamos la altura */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.file-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Ajusta la imagen para que ocupe todo el espacio sin deformarse */
    border-radius: 8px;
}

.file-thumbnail embed,
.file-thumbnail iframe {
    width: 100%;
    height: 100%;
    border: 0;
    pointer-events: none;
    border-radius: 8px;
}

.file-thumbnail video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    border-radius: 8px;
    background: #000;
}

/* Nombre del archivo */
.file-name {
    font-size: 12px;
    font-weight: bold;
    margin-top: 10px;
    margin-bottom: 0 !important;
    width: 100%;
}

/* Acciones */
.file-actions {
    display: flex;
    justify-content: space-around;
    width: 100%;
    margin-top: 0px;
}

.file-actions i {
    font-size: 18px;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: 0.3s;
}

.file-actions i:hover {
    background: rgba(0, 0, 0, 0.1);
}

.file-meta {
    font-size: 10px;
    color: #555;
    margin-top: 0px;
}


@media (max-width: 992px) {
    .file-card {
        width: 100%;
    }
}


/* Home */

.box {
    text-align: center;
    font-size: 14px;
    display: inline-block;
    background-color: #ffffff;
    padding-top: 20px;
    padding-bottom: 20px;
    padding-left: 20px;
    padding-right: 20px;
    margin-top: 15px;
}


/* Manuales */

.manuales .box {
    display: inline-block;
    width: 22%;
    margin-left: 10px;
    margin-right: 10px;
    border-radius: 10px;
    border: solid 1px #ededed;
    background-color: #f9f9f9;
    text-align: center;
    padding-top: 50px;
    padding-bottom: 50px;
}

.manuales a{
    display: block;
    text-decoration: none;
    color: #ffffff;
    background-color: #555;
    width: 150px;
    margin: 20px auto;
    padding: 6px;
    transition: 0.3s linear;
}

.manuales a:hover{
background-color: #e1251b;
}


/* Contacto */

.profile {
    width: 100%;
    display: inline-block;
    background-color: #ffffff;
    padding-top: 30px;
    padding-bottom: 30px;
    padding-left: 25px;
    padding-right: 25px;
    margin-top: 25px;
}

/* Bienvenida */
