/* styles.css */
:root {
    --lilac-light: #f4ebff; /* Lila muy suave para fondos */
    --lilac-main: #c4a1ff;  /* Lila principal */
    --lilac-dark: #8c52ff;  /* Lila oscuro para textos y contrastes */
    --white: #ffffff;
    --text-dark: #333333;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--white);
    color: var(--text-dark);
}

/* Clases personalizadas de color */
.bg-lilac-light { background-color: var(--lilac-light); }
.bg-lilac-main { background-color: var(--lilac-main); color: var(--white); }
.text-lilac { color: var(--lilac-dark); }

/* Botones personalizados */
.btn-lilac {
    background-color: var(--lilac-dark);
    color: var(--white);
    border: none;
    transition: 0.3s;
}

.btn-lilac:hover {
    background-color: var(--lilac-main);
    color: var(--white);
}

/* Barra de navegación */
.navbar-custom {
    background-color: var(--white);
    box-shadow: 0 4px 6px rgba(196, 161, 255, 0.1);
}

/* Espaciado para anclajes del menú (One Page) */
section {
    padding: 80px 0;
}

/* Imágenes placeholder */
.img-placeholder {
    width: 100%;
    height: auto;
    background-color: var(--lilac-light);
    border-radius: 15px;
    object-fit: cover;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

/* -------------------------------------------
   ESTILOS NUEVOS PARA LA TABLA Y FILTROS 
---------------------------------------------*/

/* Estilización de los selects (filtros) */
.select-lilac {
    border: 2px solid var(--lilac-main);
    border-radius: 8px;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.select-lilac:focus {
    border-color: var(--lilac-dark);
    box-shadow: 0 0 0 0.25rem rgba(140, 82, 255, 0.25);
    outline: none;
}

/* Estilización de la tabla */
.custom-table {
    border-collapse: separate;
    border-spacing: 0;
}

.custom-table thead th {
    background-color: var(--lilac-dark);
    color: var(--white);
    border: none;
    font-weight: 600;
}

.custom-table thead th:first-child {
    border-top-left-radius: 8px;
}

.custom-table thead th:last-child {
    border-top-right-radius: 8px;
}

.custom-table tbody tr {
    transition: background-color 0.2s ease;
}

.custom-table tbody tr:hover {
    background-color: var(--lilac-light) !important;
}

.custom-table tbody td {
    border-bottom: 1px solid #eaeaea;
    vertical-align: middle;
}

/* Badges para Ubicación */
.badge.bg-lilac-light {
    border-color: var(--lilac-main) !important;
    font-weight: 500;
}