/* 
 *  Created on : 13/04/2026, 09:30:36 AM
 *  Author     : SoftControl
 *      Rediseño UI (miguel.alvarez)
 *      Descripción: Modernización de estilos (botones, accordion, tabview, layout general
 */

.ui-accordion .ui-accordion-header {
    background: #f4f6f9;
    border: 1px solid #dcdcdc;
    border-radius: 6px;
    margin-bottom: 5px;
    font-weight: 600;
    color: #2c3e50;
    transition: 0.2s;
}

.ui-accordion .ui-accordion-header:hover {
    background: #e9ecef;
}

.ui-accordion .ui-accordion-header.ui-state-active {
    background: #2c3e50;
    color: #ffffff;
}

.ui-accordion .ui-accordion-content {
    background: #ffffff;
    border: 1px solid #dcdcdc;
    border-top: none;
    padding: 15px;
    border-radius: 0 0 6px 6px;
}

/* Fondo general */
body {
    font-family: 'Segoe UI', Arial, sans-serif;
    
    background: url("../Images/fondo.png") no-repeat center center;
    background-attachment: fixed;
    background-size: cover;
    overflow-x: hidden;
}

/* Contenedores */
.ui-panel, .ui-widget-content {
    border-radius: 8px !important;
    border: 1px solid #dcdcdc !important;
    box-shadow: 0px 2px 6px rgba(0,0,0,0.05);
}

/* Botones  */
.ui-button {
    background: #2c3e50 !important;
    border: none !important;
    border-radius: 6px !important;
    color: white !important;
    padding: 6px 12px;
    transition: 0.2s;
}

.ui-button:hover {
    background: #1a252f !important;
}

.ui-button.ui-button-success {
    background: #27ae60 !important;
}

.ui-button.ui-button-danger {
    background: #c0392b !important;
}

/* Inputs */
.ui-inputfield {
    border-radius: 6px !important;
    border: 1px solid #ccc !important;
    padding: 5px;
    transition: 0.2s;
}

.ui-inputfield:focus {
    border-color: #2c3e50 !important;
    box-shadow: 0 0 4px rgba(44, 62, 80, 0.3);
}

/* tablas */
.ui-datatable thead th {
    background: #2c3e50 !important;
    color: white !important;
    border: none !important;
}

.ui-datatable tbody tr:nth-child(even) {
    background: #f8f9fa;
}

.ui-datatable tbody tr:hover {
    background: #e9ecef !important;
}

/* Menú */
.ui-menubar {
    background: #2c3e50 !important;
    border: none !important;
}

.ui-menubar .ui-menuitem-link {
    color: white !important;
}

.ui-menubar .ui-menuitem-link:hover {
    background: #1a252f !important;
}
/* Mensajes */
.ui-growl-item {
    border-radius: 6px !important;
}

.ui-panel, .ui-tabview, .ui-accordion {
    margin: 15px;
}

/* Contenedor top*/
#top {
    background: linear-gradient(135deg, #0d5c8f, #1673a6);
    color: white;
    padding: 15px 25px;
    box-shadow: 0px 3px 10px rgba(0,0,0,0.2);
     
}

.content {
    margin-top: 50px; /* ajusta según la altura real de tu header */
}

.menu-fixed {
    position: sticky;
    top: 0;
    z-index: 999;
    
    background: white;
    border-radius: 0 0 10px 10px;

    box-shadow: 0 4px 12px rgba(0,0,0,.10);
    
}

.ui-button {
    border-radius: 8px !important;
    transition: all .2s ease;
}

.ui-button:hover {
    transform: translateY(-2px);
}