
/*Cafe-boton
#8c7b6e
verde #008000
Rojo-boton
#f8441d*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
:root {
        --background-color: #f7f7f7; /* Gris muy claro/Blanco roto */
        --form-bg: #ffffff; /* Blanco limpio para el formulario */
        --accent-color: #6a6a6a; /* Gris medio/Oscuro para acentos (Minimalista) */
        --text-color: #333333; /* Texto oscuro */
        --subtle-color: #cccccc; /* Gris claro para bordes sutiles */
        --border-radius: 6px;
        }
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f5f5f5;
    padding-top: 40px;
}
a{
    text-decoration: none; /* Removes the underline */
    cursor: pointer;   
}
d{
    color: #f8441d;
    font-weight: bolder;
}
table{
    width: 100%;
    padding: 13px;
}
h3{
    text-align: center;
    color: #e0e1dd;
    font-size: 1em;
}

select{
     padding: 5px 5px;
    border-bottom: 1px solid #e0e0e0;
    color: #555;
    width: 100%;
}
textarea{
    width: 100%;
   min-height: 150px;
}
.ocultar{
    display: none;
}


.w50{
    width: 50px;
    text-align: center;
}
.w50 img{
     max-width: 50px;
    max-height: 50px;
    object-fit: contain;  
}
.w80{
    width: 50px;
}
.w80 img{
     max-width: 80px;
    max-height: 80px;
    object-fit: contain;  
}
.w150{
    width: 150px;
}
.w150 img{
     max-width: 150px;
    max-height: 150px;
    object-fit: contain;  
}
.w150 video{
     max-width: 150px;
    max-height: 150px;
    object-fit: contain;  
}
.w200{
    width: 200px;
}
.w200 img{
     max-width: 200px;
    max-height: 200px;
    object-fit: contain;  
}
.w300{
    width: 300px;
}
.w300 img{
     max-width: 300px;
    max-height: 300px;
    object-fit: contain;  
}
.w500{
    width: 500px;
}


/* Tablas de busqueda ===================================================================================== */
.table-search {
    background-color: white;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    margin-bottom: 15px;
    overflow: hidden;
    height: 80px;
}
.table-input {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
 .table-input input {
    padding: 5px 5px;
    border-bottom: 1px solid #e0e0e0;
    color: #555;
    width: 100%;
}
/* Tablas de datos sin botones ===================================================================================== */
.table-container {
    background-color: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    margin-bottom: 30px;
    overflow: hidden;
}
        
.table-title {
    text-align: center;
    font-size: 22px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #8c7b6e;
}
        
.data-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    font-size: 14px;
}
        
.data-table th {
    background: linear-gradient(135deg, #8c7b6e 0%, #a78e7e 100%);
    color: white;
    padding: 5px 5px;
    text-align: left;
    font-weight: 600;
    position: sticky;
    top: 0;
}
        
.data-table td {
    padding: 5px 5px;
    border-bottom: 1px solid #e0e0e0;
    color: #555;
}
        
.data-table tr:nth-child(even) {
    background-color: #f9f9f9;
}
        
.data-table tr:hover {
    background-color: #f0f0f0;
    transition: background-color 0.2s ease;
}
    
.status-active {
    color: #2ecc71;
    font-weight: 600;
}
    
.status-inactive {
    color: #e74c3c;
    font-weight: 600;
}
        
.status-pending {
    color: #f39c12;
    font-weight: 600;
}
/* Tablas de datos con botones ===================================================================================== */

#ver{
    text-align: center;
    color: whitesmoke;
    font-weight: bolder;
}
/*===================alertas========================*/
.bajo{
    background-color: #ffcb0d;
}
.medio{
    background-color: #FF8C00;
}
.alto{
    background-color: #DC143C;
    text-align: center;
}
.critico{
    background-color: #8B0000;
    
    color: whitesmoke;
}
.critico div, .alto div{
    color: whitesmoke;
    font-weight: bold;
}
.bajo div, .medio div{
    color: black;
    font-weight: thin;
}
.baja{
    opacity: .1;
}

/* Responsive para Tablets pequeñas ========================================================================================*/
@media (max-width: 768px) {
    body {
        padding-top: 140px;
    }
    header {
            justify-content: center;
    }
    .menu-icons {
        order: 3;
        width: 100%;
        justify-content: space-around;
    }
    .company-name {
        order: 2;
    }
    .row {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    .card {
        padding: 15px;
    }
    .card-image {
            height: 140px;
    }
}

/* Responsive para Tablets ==============================================================================================*/
@media (max-width: 1024px) {
    .row {
        grid-template-columns: repeat(2, 1fr);
    }
    .menu-icons {
        gap: 15px;
    }
    .company-name {
        font-size: 20px;
    }
}
/*================================================footer============*/
footer{
    opacity: .6;
}
footer h3{
    color: #555;
    font-size: .9em;
}
footer v{
    color: #e63946;
}