/* =================== Global Settings =================== */
/* (Bloque 1, 2 y 3 comparten estos estilos) */
body {
    background-color: #f5f5f5;
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
}

.container {
    padding-top: 20px;
    animation: fadeIn 1s ease;
}

/* =================== Header Banner =================== */
/* (Definido en los tres bloques de forma idéntica) */
.header-banner {
    background: linear-gradient(135deg, #FFF200, #8DC63F);
    padding: 15px 10px;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 20px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.header-banner h1 {
    color: #333;
    font-weight: 700;
    margin: 0;
    font-size: 2rem;
}
.header-banner p {
    color: #333;
    font-size: 1rem;
    margin-top: 5px;
}

/* =================== Headings =================== */
/* (Definido en Bloques 1, 2 y 3) */
h2 {
    text-align: center;
    font-weight: 700;
    color: #333;
    margin-bottom: 30px;
}

/* =================== Form Controls =================== */
/* (Bloque 1) */
.form-inline .form-control {
    margin-right: 10px;
    border-radius: 4px;
}

/* =================== Buttons =================== */
/* (Bloques 1 y 2) */
.btn-primary,
.btn-action,
.btn-deactivate,
.btn-approve,
.btn-success {
    background-color: #8DC63F;
    color: #fff;
    border: none;
    padding: 6px 12px;
    font-size: 0.85rem;
    border-radius: 4px;
    margin: 2px;
    text-decoration: none;
    display: inline-block;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.3s ease;
}
.btn-primary:hover,
.btn-action:hover,
.btn-deactivate:hover,
.btn-approve:hover,
.btn-success:hover {
    transform: scale(1.03);
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
    background-color: #7ab040;
}
.btn-secondary {
    background-color: #FFF200;
    color: #333;
    border: none;
    padding: 6px 12px;
    font-size: 0.85rem;
    border-radius: 4px;
    margin: 2px;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s ease;
}
.btn-secondary:hover {
    background-color: #e6e600;
}
.btn-destructive {
    background-color: #dc3545;
    color: #fff;
    border: none;
    padding: 6px 12px;
    font-size: 0.85rem;
    border-radius: 4px;
    margin: 2px;
    text-decoration: none;
    display: inline-block;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.3s ease;
}
.btn-destructive:hover {
    transform: scale(1.03);
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
    background-color: #c82333;
}

/* =================== Modal Header =================== */
/* (Bloque 1) */
.modal-header {
    background-color: #8DC63F;
    color: #fff;
}
.modal-header .close {
    color: #fff;
}

/* =================== Table Styles =================== */
/* (Bloque 1 y 2; se elige box-shadow con 0.1 para mayor contraste) */
.table {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    width: 100%;
}
.table th,
.table td {
    border: 1px solid #e9ecef;
    vertical-align: middle;
    text-align: center;
    padding: 12px;
}

/* =================== Navigation Tabs =================== */
/* (Bloque 2: aplicable en páginas tipo historial) */
.nav-tabs {
    border-bottom: 2px solid #e9ecef;
    margin-bottom: 30px;
}
.nav-tabs .nav-link {
    font-weight: 500;
    color: #333;
    border: none;
    padding: 12px 20px;
    transition: background-color 0.3s ease, color 0.3s ease;
    border-radius: 8px 8px 0 0;
    margin-right: 5px;
    cursor: pointer;
    background-color: #fff;
}
.nav-tabs .nav-link.active {
    background-color: #8DC63F;
    color: #fff !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* =================== Tab Content =================== */
/* (Bloque 2) */
.tab-content {
    background: #fff;
    padding: 20px;
    border-radius: 0 8px 8px 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

/* =================== List Group =================== */
/* (Bloque 3) */
.list-group {
    margin-bottom: 40px;
}
.list-group-item {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 15px 20px;
    margin-bottom: 5px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
}
.list-group-item:hover,
.list-group-item.active {
    background: #FFF200;
    color: #333;
    border-color: #FFF200;
}

/* =================== Card Styles =================== */
/* (Bloque 3) */
.card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 20px;
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}
.card-header {
    background-color: #8DC63F;
    color: #fff;
    font-size: 1.2rem;
    text-align: center;
    padding: 15px;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}
.card-body {
    background-color: #fff;
    padding: 20px;
    text-align: center;
}
.card-title {
    font-size: 2.5rem;
    margin: 0;
    color: #333;
    font-weight: bold;
}

/* =================== Animations =================== */
/* (Definido en los tres bloques) */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
