.well {
    min-height: 20px;
    padding: 19px;
    margin-bottom: 20px;
    background-color: #1ae308;
    border: 1px solid transparent;
    border-radius: 4px;
}

.r-vbar-page .r-left [data-itemtype="filter_panel"] .panel .panel-heading {
    background-color: #614d76;
    color: #f9f9f9;
    font-size: 15px;
}

.table > caption + thead > tr:first-child > th, .table > colgroup + thead > tr:first-child > th, .table > thead:first-child > tr:first-child > th, .table > caption + thead > tr:first-child > td, .table > colgroup + thead > tr:first-child > td, .table > thead:first-child > tr:first-child > td {
    border-top: 0;
    background-color: #E0EBF6;
    color: black;
}
body {
  font-family: "Lato", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 12px;
  line-height: 1.4;
  color: #2C3E50;
  background-color: #f2f2f2;
}
.navbar-brand img {
  width: auto; /* Cambia este valor al tamaño deseado */
  height: 25px; /* Mantiene la proporción original de la imagen */
}

/* --- Estilos para el Diálogo Modal Vainilla JS --- */

/* El fondo oscuro que cubre la página */
.phr-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1050; /* Z-index alto para estar sobre todo */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Clase para mostrar el modal */
.phr-modal-overlay.visible {
    opacity: 1;
    visibility: visible;
}

/* El contenedor principal del diálogo */
.phr-modal-container {
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    width: 90%;
    max-width: 450px;
    transform: scale(0.95);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.phr-modal-overlay.visible .phr-modal-container {
    transform: scale(1);
}

/* Cabecera del diálogo */
.phr-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

.phr-modal-title {
    font-size: 1.25rem;
    font-weight: 500;
    margin: 0;
    color: #333;
}

.phr-modal-close-btn {
    background: none;
    border: none;
    font-size: 1.75rem;
    font-weight: bold;
    cursor: pointer;
    color: #6c757d;
    line-height: 1;
    padding: 0;
}
.phr-modal-close-btn:hover {
    color: #000;
}


/* Cuerpo del diálogo (donde va tu contenido) */
.phr-modal-body {
    flex-grow: 1;
}

/* Pie del diálogo (para los botones) */
.phr-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    padding-top: 1.5rem;
    margin-top: 1rem;
    border-top: 1px solid #e9ecef;
}

.phr-modal-btn {
    padding: 0.6rem 1.2rem;
    border-radius: 5px;
    border: 1px solid transparent;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s, border-color 0.2s;
}

.phr-modal-btn.primary {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
}
.phr-modal-btn.primary:hover {
    background-color: #0056b3;
}

.phr-modal-btn.secondary {
    background-color: #6c757d;
    color: white;
}
.phr-modal-btn.secondary:hover {
    background-color: #5a6268;
}

/* Estilos para el contenido que ya tenías */
.phr-modal-search-wrapper {
    position: relative;
    margin-bottom: 1rem;
}

.phr-modal-search-wrapper .fa-search {
    position: absolute;
    left: 0.8rem;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
}

.phr-modal-search-input {
    width: 100%;
    padding: 0.75rem 0.75rem 0.75rem 2.2rem;
    border: 1px solid #ced4da;
    border-radius: 5px;
    font-size: 1.1rem;
    box-sizing: border-box;
}

.phr-modal-select-list {
    width: 100%;
    border: 1px solid #ced4da;
    border-radius: 5px;
    font-size: 1.1rem;
    height: 250px;
}
.phr-modal-select-list option {
    padding: 0.5rem 0.75rem;
}

.phr-modal-checkbox-wrapper {
    text-align: left;
    margin-top: 1rem;
    color: #495057;
}

.phr-modal-validation-area {
    margin-top: 1rem;
    padding: 0.75rem;
    border-radius: 5px;
    font-size: 0.9rem;
    display: none; /* Oculto por defecto */
}

.phr-modal-validation-area.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.phr-modal-validation-area.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

.phr-modal-validation-area ul {
    margin: 0.5rem 0 0 1rem;
    padding: 0;
}