
/* =============================================
   GLOBAL FOUNDATIONS
   ============================================= */

body {
    color: #2d3436;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background-color: rgba(49, 159, 28, 0.15);
    color: #1a5c10;
}

/* Subtle scrollbar */
::-webkit-scrollbar { width: 7px; height: 7px; }
::-webkit-scrollbar-track { background: #f1f1f1; border-radius: 4px; }
::-webkit-scrollbar-thumb { background: #c4c4c4; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #319F1C; }


/* =============================================
   TYPOGRAPHY
   ============================================= */

h1, h2 {
    color: #2c3e50;
    font-weight: 700;
    letter-spacing: -0.01em;
}

h3, h4, h5, h6 {
    color: #34495e;
    font-weight: 600;
}

h1 { font-size: 1.6rem; }
h2 { font-size: 1.35rem; }

a {
    color: #319F1C;
    transition: color 0.15s ease;
}

a:hover {
    color: #267a16;
}


/* =============================================
   ALL BUTTONS — global refinements
   ============================================= */

.btn {
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.02em;
    padding: 0.45em 1.2em;
    transition: all 0.2s ease;
    border: none;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

.btn:hover {
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
    transform: translateY(-1px);
}

.btn:active {
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.btn-success {
    background-color: #319F1C !important;
    margin: 10px;
    color: white !important;
}

.btn-success:hover {
    background-color: #287d16 !important;
}

.btn-info {
    background-color: #319F1C;
    border-color: #319F1C;
    color: white;
}

.btn-info:hover {
    background-color: #287d16;
    border-color: #287d16;
    color: white;
}

.btn-secondary {
    background-color: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background-color: #5a6268;
}

.btn-danger {
    background-color: #dc3545;
    color: white;
}

.btn-danger:hover {
    background-color: #c82333;
}


/* =============================================
   FORM INPUTS — green focus, rounded
   ============================================= */

.form-control, .custom-select, select.form-control {
    border-radius: 6px;
    border: 1px solid #ced4da;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    font-size: 0.9rem;
}

.form-control:focus, .custom-select:focus, select.form-control:focus {
    border-color: #319F1C;
    box-shadow: 0 0 0 0.18rem rgba(49, 159, 28, 0.18);
    outline: none;
}


/* =============================================
   NAVBAR — accent and polish
   ============================================= */

.navbar {
    border-bottom: 3px solid #319F1C;
    padding: 0.6rem 1rem;
}

.navbar-brand img {
    transition: opacity 0.2s ease;
}

.navbar-brand:hover img {
    opacity: 0.85;
}

/* h1, h2, h3, h4, h5, h6 {
    color: #319F1C;
} */

.div_reportes_offline .a_localstorage_tcode {
    font-weight: bold;
    font-size: 0.9em;
}



a.nav-link {
    color: #2d3436;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.01em;
    padding: 0.5em 0.8em !important;
    border-radius: 6px;
    transition: color 0.15s ease, background-color 0.15s ease;
}

a.nav-link:hover {
    color: #319F1C;
    background-color: rgba(49, 159, 28, 0.06);
}

.btn_mainmenu_newreport {
    background-color: #319F1C !important;
    color: white !important;
    border-radius: 20px !important;
    padding: 0.4em 1.4em !important;
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.03em;
    box-shadow: 0 2px 8px rgba(49, 159, 28, 0.25) !important;
}

.btn_mainmenu_newreport:hover {
    background-color: #287d16 !important;
    box-shadow: 0 4px 12px rgba(49, 159, 28, 0.35) !important;
    transform: translateY(-1px);
}

.ul_admin_menu a.nav-link {
    text-transform: uppercase;
    font-size: 0.8rem;
}

a.navbar-brand, a.navbar-light {
    color: #319F1C !important;
}

.ul_admin_menu {
    margin-bottom: 21px;
}



.h4_tshowhide {
    cursor: pointer;
}


.xxxtable_newform_inputgroup {
    width: 100%;
    border: 1px solid red;
}
.xxxtable_newform_inputgroup tbody th {
    width: 35%;
}
.xxxtable_newform_inputgroup tbody td {
    border: 1px solid black;
}



.div_machote_lamparas_instance,
.div_machote_lamparas5_instance,
.div_machote_lamparas6_instance {
    background-color: #f8f9fa;
    border: 1px solid #e0e4e0;
    border-radius: 6px;
    padding: 10px;
    margin-bottom: 6px;
}


.title {
    background: linear-gradient(135deg, #319F1C 0%, #3bb522 100%) !important;
    color: white !important;
    border-radius: 6px;
    text-align: center;
    padding: 0.45em 0.8em;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
    font-size: 0.95rem;
}

.subtitle {
    background: linear-gradient(135deg, #287d16 0%, #319F1C 100%);
    color: white;
    border-radius: 6px;
    text-align: center;
    padding: 0.4em 0.8em;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
    font-size: 0.88rem;
}

/* .h4_tshowhide{
    background-color:#94d08c;
    color:white;
    border-radius: 5px;
    padding:5px;
} */

.h4_tshowhide {
    background: linear-gradient(135deg, #319F1C 0%, #45b82e 100%);
    border-radius: 6px;
    padding: 0.55em 1em;
    position: relative;
    color: white;
    font-size: 0.95rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
    transition: box-shadow 0.2s ease;
    margin-bottom: 0.8em;
}

.h4_tshowhide:hover {
    box-shadow: 0 2px 8px rgba(49, 159, 28, 0.25);
}
/* .h4_tshowhide:hover {
    position: relative; 
    top: -3px; 
    left: -3px; 
    text-shadow: 2px 2px 4px  #000;
 } */

.button_color{
    background-color:#bee4b8;
    color:white;
}
.div_newreport{
   
    padding:10px;
    
    border-radius: 5px;
}

.box{
    background-color: #fdfdfd;
    padding-top:5px;
    padding-bottom:5px;

    margin-top:5px;
    margin-bottom:5px;

    border-radius: 5px;
}

.canvas_signature{
}

.div_newreport textarea{
    width: 100%;
}

.span_required {
    color: red;
    font-weight: bold;
}



.div_dashboard_mainmenu {
    height: 240px;
    border: 1px solid #e8ece8;
    background-color: white;
    margin-bottom: 1.42em;
    padding: 17px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.div_dashboard_mainmenu h4 {
    text-transform: capitalize;
    font-size: 1.3em;
    height: 3.2em;
}



.xxxpagination svg {
  width: 21px;
  margin: 21px 0;
}



/* *********************** */
/* ***DOCUMENTOS*** */
/* *********************** */
.div_documentos .div_regresar {
    /* border: 3px solid red; */
    margin: 21px auto 21px 0;
}

.div_documentos .div_img img {
    width: 110px;
    /* width: 140px; */
    /* text-align: center; */
}



/* *********************** */




.div_dashboard_mainmenu {
    /* background-color: red; */
    background-image: url("/images/Logo2TrebolOp0.17.png");
    /* background-size: 140px; */
    background-size: 50%;
    background-repeat: no-repeat;
    background-position: center;
    /* opacity: 0.5; */
    /* color: #0f5690; */
    padding: 2em;
}

.div_dashboard_mainmenu h4 {
    font-weight: bold;
    font-size: 1.4em;
    /* text-shadow: 1px 1px 2px black;  */
    color: #3490dc;
    /* text-transform: uppercase; */
}


/* =============================================
   BITACORA — empresa cell
   ============================================= */

.td-bitacora-empresa {
    vertical-align: middle !important;
}

.bitacora-empresa-name {
    font-weight: 700;
    font-size: 0.92rem;
    color: #2c3e50;
    margin-bottom: 2px;
}

.bitacora-empresa-meta {
    font-size: 0.78rem;
    color: #6c757d;
    line-height: 1.5;
}

.bitacora-meta-label {
    color: #adb5bd;
    font-weight: 400;
}

.bitacora-empresa-meta strong {
    color: #495057;
    font-weight: 600;
}


/* =============================================
   BITACORA — action buttons
   ============================================= */

.td-bitacora-actions {
    vertical-align: middle !important;
    padding: 0.5em 0.4em !important;
}

.bitacora-actions {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    align-items: center;
}

.btn-bitacora-ver,
.btn-bitacora-versf,
.btn-bitacora-enviar {
    display: inline-flex;
    align-items: center;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.35em 0.8em;
    border-radius: 5px;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.15s ease;
    border: 1px solid transparent;
}

/* Ver PDF — primary green */
.btn-bitacora-ver {
    background-color: #319F1C;
    color: white;
}

.btn-bitacora-ver:hover {
    background-color: #287d16;
    color: white;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(49, 159, 28, 0.3);
}

/* Sin fotos — outlined/subtle */
.btn-bitacora-versf {
    background-color: transparent;
    color: #495057;
    border-color: #ced4da;
}

.btn-bitacora-versf:hover {
    background-color: #f8f9fa;
    color: #319F1C;
    border-color: #319F1C;
    text-decoration: none;
}

/* Enviar — outlined green */
.btn-bitacora-enviar {
    background-color: transparent;
    color: #319F1C;
    border-color: #319F1C;
}

.btn-bitacora-enviar:hover {
    background-color: #319F1C;
    color: white;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(49, 159, 28, 0.3);
}


