/*--------------------------------------------------\
| MYH ERP 2026 Corporate Edition - default.css      |
|---------------------------------------------------|
| RediseÃ±o completo estilo ERP moderno               |
| Paleta: Gris carbÃ³n (#333333) + Rojo (#8A0000)     |
|---------------------------------------------------|
\--------------------------------------------------*/

/* ------------------------------ */
/* BASE GENERAL DEL SISTEMA       */
/* ------------------------------ */

body {
    font-family: Verdana, Arial, Helvetica;
    background: #f5f5f5 !important;
    font-size: 13px;
    margin: 0;
    padding: 0;
    color: #333333;
}

tr, td, th {
    font-size: 13px;
    line-height: 20px;
    color: #333333;
}

a {
    color: #333333;
    text-decoration: none;
    font-weight: 500;
}

a:hover {
    color: #8A0000;
    text-decoration: underline;
}

/* ------------------------------ */
/* BARRA SUPERIOR (TABS)          */
/* ------------------------------ */

.quick_menu {
    background-color: #ffffff !important;
    border-bottom: 3px solid #8A0000 !important;
    padding: 8px 0 !important;
}

div.tabs {
    background: transparent !important;
    border-bottom: none !important;
    padding-left: 10px;
}

div.tabs a {
    padding: 10px 18px !important;
    font-size: 14px !important;
    color: #333333 !important;
    border: none !important;
    background: transparent !important;
    font-weight: 600;
}

div.tabs a:hover {
    color: #8A0000 !important;
}

div.tabs a.selected {
    color: #8A0000 !important;
    border-bottom: 3px solid #8A0000 !important;
}

/* ------------------------------ */
/* BARRA SUPERIOR SECUNDARIA      */
/* ------------------------------ */

.logoutBar {
    background: #ffffff !important;
    border-bottom: 1px solid #ddd !important;
    padding: 8px 12px !important;
    color: #333333 !important;
}

.logoutBar a {
    color: #333333 !important;
    font-weight: 500;
}

.logoutBar a:hover {
    color: #8A0000 !important;
}

/* ------------------------------ */
/* TARJETAS DE MÃ“DULOS            */
/* ------------------------------ */

.menu_group {
    background-color: #ffffff !important;
    color: #8A0000 !important;
    font-size: 16px !important;
    font-weight: bold;
    padding: 12px !important;
    border-bottom: 2px solid #8A0000 !important;
    border-radius: 8px 8px 0 0;
}

.menu_group_items {
    background-color: #ffffff !important;
    padding: 15px !important;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    margin-bottom: 25px;
    border: none !important;
}

/* ------------------------------ */
/* TABLAS MODERNAS                */
/* ------------------------------ */

.tableheader {
    background-color: #8A0000 !important;
    color: white !important;
    font-weight: bold !important;
    text-align: center;
    padding: 10px;
}

.tableheader2 {
    background-color: #333333 !important;
    color: white !important;
    font-weight: bold !important;
    text-align: left;
    padding: 10px;
}

table.tablestyle,
table.tablestyle2 {
    border-collapse: collapse !important;
    width: 100%;
    background: white;
}

table.tablestyle td,
table.tablestyle2 td {
    border: 1px solid #e0e0e0 !important;
    padding: 10px !important;
}

.oddrow {
    background-color: #fafafa !important;
}

.evenrow {
    background-color: #ffffff !important;
}

/* ------------------------------ */
/* BOTONES CORPORATIVOS           */
/* ------------------------------ */

button,
input[type=submit],
input[type=button] {
    background-color: #8A0000 !important;
    color: white !important;
    border: none !important;
    border-radius: 6px !important;
    padding: 8px 16px !important;
    font-size: 14px !important;
    font-weight: bold !important;
    cursor: pointer;
}

button:hover,
input[type=submit]:hover,
input[type=button]:hover {
    background-color: #6e0000 !important;
}

/* ------------------------------ */
/* LOGIN (NO SE TOCA)             */
/* ------------------------------ */

#loginscreen {
    background-image: url('images/Fondocorporativoro.png') !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
}

#loginscreen + div,
#loginscreen + table,
.footer,
.bottomBar,
.bottomBar2 {
    display: none !important;
}

.login {
    width: 380px;
    border: none;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 12px;
    padding: 25px 30px;
    box-shadow: 0 8px 28px rgba(0,0,0,0.25);
}

.login td.tableheader {
    background: #8A0000;
    color: white;
    font-size: 18px;
    font-weight: bold;
    border-radius: 8px 8px 0 0;
    padding: 12px;
    text-align: center;
}

.login input[type=text],
.login input[type=password],
.login select {
    height: 32px;
    width: 100%;
    border: 1px solid #bbb;
    border-radius: 6px;
    padding-left: 8px;
    font-size: 13px;
}

.login input[type=submit] {
    background-color: #8A0000;
    border-radius: 6px;
    padding: 10px 20px;
    font-size: 14px;
}

.login input[type=submit]:hover {
    background-color: #6e0000;
}

#log_msg {
    font-size: 13px;
    color: #8A0000;
    font-weight: bold;
}
/* CorrecciÃ³n de desplazamiento hacia la derecha */
.callout_main,
.main_page {
    margin: 0 auto !important;      /* Centra el contenido */
    padding: 0 !important;
}

.callout_main td,
.main_page td {
    vertical-align: top !important;
}

/* Evitar que las tablas internas empujen el contenido */
table {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Asegurar que el contenido principal no se desplace */
body > table {
    margin: 0 auto !important;
    width: 100% !important;
}

/* Alinear correctamente las tarjetas */
.menu_group_items {
    margin-left: 0 !important;
    margin-right: 0 !important;

/* Evitar que tape contenido */
body {
    padding-bottom: 60px !important;
}



/* Alinear los enlaces dentro de la barra */
.logoutBar a {
    float: none !important;
    display: inline-block !important;
    margin-right: 12px !important;
}
/* T¨ªtulo de m¨®dulo con fondo rojo corporativo */
.menu_group {
    background-color: #8A0000 !important;
    color: #ffffff !important;
    font-size: 16px !important;
    font-weight: bold !important;
    padding: 12px !important;
    border-radius: 6px 6px 0 0 !important;
    border: none !important;
    text-align: left !important; /* o right si lo quer¨¦s a la derecha */
}
/* Tipograf¨ªa corporativa Arial */
body, tr, td, th, a, input, select, button {
    font-family: Arial, Helvetica, sans-serif !important;
}
/* Tipograf¨ªa Arial m¨¢s grande en todo el ERP */
body, tr, td, th, a, input, select, button {
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 15px !important; /* Ajuste recomendado */
}
/* T¨ªtulos principales de m¨®dulos: gris oscuro + blanco */
.menu_group {
    background-color: #333333 !important;  /* Gris carb¨®n */
    color: #ffffff !important;             /* Texto blanco */
    font-size: 16px !important;
    font-weight: bold !important;
    padding: 12px !important;
    border-radius: 6px 6px 0 0 !important;
    border: none !important;
    text-align: left !important;
}
/* Forzar estilo de la barra de usuario: rojo corporativo + blanco */
.logoutBar,
.logoutBar td,
.logoutBar span {
    background-color: #8A0000 !important;
    color: #ffffff !important;
}

/* Enlaces dentro de esa barra */
.logoutBar a {
    color: #ffffff !important;
    font-weight: 500 !important;
}

.logoutBar a:hover {
    color: #ffd9d9 !important;
}