/* Ajustes personalizados para Postfix Admin */

/* Reducir padding superior del contenedor */
body > .container {
  padding-top: 70px !important; /* Era 60px, pero el navbar necesita m??s espacio */
  padding-bottom: 20px;
  max-width: 100%;
}

/* Asegurar que el contenido use el ancho completo */
.container-fluid {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
}

/* Hacer el navbar m??s compacto */
.navbar {
  min-height: 50px;
  margin-bottom: 0;
}

.navbar-brand {
  padding: 10px 15px;
  height: 50px;
}

.navbar-nav > li > a {
  padding-top: 15px;
  padding-bottom: 15px;
  line-height: 20px;
}

/* Ajustar el logo */
#login_header_logo {
  max-height: 30px;
  width: auto;
}

/* Hacer las tablas responsive */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

table {
  width: 100%;
  max-width: 100%;
}

/* Reducir espacios en el footer */
.footer {
  margin-top: 20px;
  padding-top: 10px;
  padding-bottom: 10px;
  height: auto;
  line-height: normal;
}

/* Responsive para pantallas peque??as */
@media (max-width: 768px) {
  body > .container {
    padding-top: 60px !important;
  }
  
  .navbar-header {
    width: 100%;
  }
}

/* Arreglar el ancho de las columnas de la tabla */
.table td, .table th {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 300px;
}

/* Hacer el contenido principal m??s ancho */
.container {
  width: 95% !important;
  max-width: 1400px !important;
}
