/* Único fix: que nunca queden totalmente ocultos */
.header-logo-wrapper,
.logo-wrapper,
.sidebar-wrapper,
.sidebar-wrapper.close_icon {
    visibility: visible !important;
    opacity: 1 !important;
}

.product-table .btn-xs,
.product-table .btn-xs a {
  font-size: 11px;
  line-height: 1.2;
  padding: 3px 8px;
}

.product-table .btn-group .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.product-table .btn-group.btn-group-sm .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem; /* mismo tamaño para ambos */
  line-height: 1.2;
  padding: 0.25rem 0.5rem;
}

/* Logo de empresa en header y sidebar */
.logo-wrapper img {
  max-width: 64px;
  height: auto;
}

.login-left-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 10px;
    width: 100%;
}

/* Contenedor limpio, solo controla tamaño y clipping */
.login-cover-container {
    width: 100%;
    height: 260px;
    margin-top: 44px;
    border-radius: 12px;
    overflow: hidden;              /* recorta lo que sobresalga */
    display: block;
    background: transparent;
    border: none;
    box-shadow: none;
}

/* Imagen: SIEMPRE 100% del ancho del contenedor */
.login-cover-img {
    width: 100%;                   /* ocupa todo el ancho */
    height: 100%;                  /* se adapta al alto del contenedor */
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;             /* llena sin dejar huecos (puede recortar un poco) */
    display: block;
    border-radius: 12px;
    border: 3px solid #e0e6ed;     /* único borde visible */
}

/* Logo debajo */
.login-left-logo-img {
    margin-top: 12px;
    margin-bottom: 12px;
    max-width: 140px;
    width: 100%;
    height: auto;
    display: block;
}

/* Responsive: ocultar carátula, logo más grande */
@media (max-width: 992px) {
    .login-cover-container {
        display: none !important;
    }

    .login-left-logo-img {
        max-width: 180px;
        margin-top: 20px;
    }

    .login-left-wrapper {
        padding: 20px 10px;
        justify-content: center;
    }
}
