/* ==========================================================================
   Paleta de Colores
   ========================================================================== */
:root {
    --color-primario: #1a8282;
    --color-secundario: #ffffff;
    --color-gris: #999;
    --color-exito: #10B981;
    --uam-teal: #007c7d;
    --uam-gray-text: #6b7c93;
    --uam-bg-light: #f8fafc;
}

/* ==========================================================================
   Fuentes y Tipografias
   ========================================================================== */
body,
p,
h1,
h2,
h3,
h4,
h5,
h6,
label,
input,
textarea,
button,
div {
    font-family: 'Poppins', sans-serif;
}


.fp-hidden {
    display: none !important;
}

/*Botones si/no Cmpo Booleano*/

.fp-boolean-group {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.fp-boolean-group .btn-bool {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    /* Color gris por defecto para ambos */
    background-color: #9e9e9e !important;
    transition: all 0.3s ease;
}

/* Colores solo cuando tienen la clase .selected */
.fp-boolean-group .btn-si.selected {
    background-color: #5cb81f !important;
    /* Verde */
}

.fp-boolean-group .btn-no.selected {
    background-color: #f14343 !important;
    /* Rojo */
}

/* Feedback al pasar el mouse si no está seleccionado */
.fp-boolean-group .btn-bool:not(.selected):hover {
    background-color: #858585;
}



/* ==========================================================================
   1. ESTRUCTURA GLOBAL Y RESET DE SCROLL
   ========================================================================== */
html,
body {
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Fuerza el ancho completo ignorando el contenedor del tema de WP */
.fp-full-screen-wrapper {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background-color: #f8fafb;
    min-height: 100vh;
    overflow-x: hidden;
}

.fp-wizard {
    display: flex;
    width: 100%;
    align-items: stretch;
}


/* ==========================================================================
   2. SIDEBAR (PASOS)
   ========================================================================== */
.fp-sidebar {
    width: 290px;
    background: #fff;
    border-right: 1px solid #e0e6ed;
    flex-shrink: 0;
    flex-direction: column;
    display: flex;
}

.fp-sidebar-header {
    padding: 40px 35px 0px;
}

.fp-sidebar-header h3 {
    font-size: 16px;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
}

.fp-sidebar-header p {
    font-size: 14px;
    color: #64748b;
    margin-top: 5px;
}

/* Ajuste para que el texto y el icono NO se separen */
.fp-step {
    display: flex;
    align-items: center;
    padding: 10px 25px;
    border-radius: 10px;
    margin: 5px 30px;
    border-left: 4px solid transparent;
    transition: 0.3s;
    cursor: pointer;
    gap: 12px;
}

.fp-step small {
    display: none;
}

.fp-step.active {
    background-color: var(--color-primario);
    color: white;
    border-left: 5px solid white;
    box-shadow: 1px 2px 4px 2px rgba(0, 0, 0, 0.2);
    padding: 20px 25px;
}

.fp-step img.fp-icon {
    width: 18px;
    height: auto;
    filter: grayscale(1);
    flex-shrink: 0;
}

.fp-step.active small {
    display: block;
}


.fp-step.active img.fp-icon {
    filter: brightness(0) invert(1);
    /* Icono blanco en estado activo */
}

.fp-step.completed {
    background: #f5fff5;
    border: 2px solid var(--color-primario);
    border-radius: 12px;
    padding: 10px 20px;
    box-shadow: none;
    gap: 10px;
}

.fp-step.completed img.fp-icon {
    filter: brightness(0) saturate(100%) invert(33%) sepia(32%) saturate(742%) hue-rotate(140deg) brightness(90%) contrast(90%);
}

/* texto */

.fp-step.completed .fp-step-text {
    line-height: 0%;
}

.fp-step.completed .fp-step-text strong {
    color: #007f6e;
}

/* opcional: descripción */
.fp-step.completed .fp-step-text small {
    display: none;
}

/* icono check ya lo cambias en JS */
.fp-step.completed .fp-icon {
    filter: none;
}

/* Contenedor de texto interno para evitar saltos de línea extraños */
.fp-step-text {
    display: flex;
    flex-direction: column;
    line-height: 0.7;
}

.fp-step-text strong {
    font-size: 15px;
    margin: 5px 0px;
    line-height: -3px;
}

.fp-step-text small {
    font-size: 12px;
    opacity: 0.8;
    line-height: 1.3;
}

/* ==========================================================================
   3. CONTENIDO Y FORMULARIO
   ========================================================================== */
.fp-content {
    flex-grow: 1;
    padding: 35px 80px;
    max-width: calc(100vw - 290px);
}

.fp-main-title {
    font-size: 36px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 20px;
    font-family: 'Poppins';
}

main.fp-content p {
    margin: 0px;
}

header.fp-step-header {
    margin: 20px 0px;
}

.fp-page-title {
    font-size: 26px;
    color: #1e293b;
    margin-bottom: 8px;
}

.fp-page-desc {
    color: #64748b;
    font-size: 15px;
    margin-bottom: 35px;
}

/* Tarjetas de Sección */
.fp-seccion-card {
    background: white;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    margin-bottom: 25px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.fp-seccion-title {
    padding: 15px 25px;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    gap: 5px;
}

.fp-seccion-title h3 {
    font-size: 16px;
    margin: 0;
    color: #1e293b;
}

img.fp-icon-sm {
    width: 18px;
}

.fp-select {
    color: var(--color-gris);
}

.fp-select:valid {
    color: #000;
}

small.fp-indicacion {
    color: var(--color-gris) !important;
    font-size: small;
}

/* ==========================================================================
   4. SISTEMA DINÁMICO DE GRID (Secciones y Campos)
   ========================================================================== */
.fp-grid {
    display: grid;
    gap: 20px;
    padding: 25px;
    align-items: start;
}

/* Columnas de la sección */
.columnas-1 {
    grid-template-columns: 1fr;
}

.columnas-2 {
    grid-template-columns: repeat(2, 1fr);
}

.columnas-3 {
    grid-template-columns: repeat(3, 1fr);
}

.columnas-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* Espacio que ocupa el campo */
.col-1 {
    grid-column: span 1;
}

.col-2 {
    grid-column: span 2;
}

.col-3 {
    grid-column: span 3;
}

.col-4 {
    grid-column: span 4;
}

/* Estilos de Input */
.fp-campo label {
    display: block;
    margin-bottom: 8px;
    color: #334155;
    font-size: 14px;
    display: flex;
}

label.fp-checkbox-card {
    padding: 3px 10px;
}

.fp-input-container input,
.fp-input-container select,
.fp-input-container textarea {
    width: 100% !important;
    padding: 12px !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 6px !important;
    background: #fdfdfd !important;
    font-size: 14px !important;
}

.fp-input,
.fp-select,
textarea {
    width: 100%;
    padding: 12px !important;
    border: 1px solid #dcdcdc !important;
    border-radius: 8px !important;
    font-size: 14px;
    transition: .2s;
}

.req {
    color: #e53e3e;
    margin-left: 3px;
}

.fp-deseable {
    color: var(--color-gris);
    font-size: 13px;
    margin-left: 3px;
}

.fp-input::placeholder {
    color: var(--color-gris);
}

.fp-select {
    color: var(--color-gris);
}

.fp-select:valid {
    color: #000;
}


/*Botones del Formulario*/
.fp-nav-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    width: 100%;
    padding-left: 0;
    padding-right: 0;
}

.fp-actions-right {
    display: flex;
    margin-left: auto;
    gap: 20px;
}

.fp-next,
.fp-submit {
    margin-right: 0 !important;
}

button.fp-next,
button.fp-save-draft,
button.fp-prev,
button.fp-inicio,
button.fp-ver-proyectos,
button.fp-submit,
button.dz-btn {
    padding: 10px 40px;
    border-radius: 10px;
    border: none;
    font-size: medium;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 1px 2px 4px 2px rgba(0, 0, 0, 0.2);
    background: var(--color-secundario);
    display: flex;
    align-items: center;
    gap: 5px;
    color: #475569;
}

button.fp-next,
button.fp-submit,
button.fp-inicio,
button.dz-btn {
    background: var(--color-primario);
    color: var(--color-secundario);
}

button.dz-btn {
    margin: 10px auto;
}

.files-grid {
    display: grid;
}


#opciones_lista {
    min-height: 120px;
    max-height: 300px;
    overflow-y: auto;
}

/*Campo checkbox multiple*/

/* GRID */
.fp-checkbox-grid {
    display: grid;
    grid-template-rows: repeat(4, auto);
    grid-auto-flow: column;
    gap: 12px 20px;
    background: #f5fff5;
    padding: 20px 50px;
    margin: 20px 0px;
}

/* CARD */
.fp-checkbox-card {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #cfd8dc;
    border-radius: 8px;
    padding: 10px 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #fff;
}

/* HOVER */
.fp-checkbox-card:hover {
    border-color: #009688;
    background: #f5fbfa;
}

/* CHECKBOX OCULTO */
.fp-checkbox-hidden {
    display: none;
}

/* CUADRADO */
.fp-checkbox-box {
    width: 18px;
    height: 18px;
    border: 2px solid #009688;
    border-radius: 4px;
    display: inline-block;
    position: relative;
}

/* TEXTO */
.fp-checkbox-text {
    font-size: 12px;
    color: #333;
}

/* ESTADO SELECCIONADO */
.fp-checkbox-hidden:checked+.fp-checkbox-box {
    background-color: #009688;
}

.fp-checkbox-hidden:checked+.fp-checkbox-box::after {
    content: '';
    position: absolute;
    left: 4px;
    top: 0px;
    width: 5px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* TEXTO SELECCIONADO */
.fp-checkbox-hidden:checked~.fp-checkbox-text {
    color: #009688;
    font-weight: 500;
}

/* CARD ACTIVA */
.fp-checkbox-hidden:checked~.fp-checkbox-text,
.fp-checkbox-hidden:checked+.fp-checkbox-box {
    /* ya cubierto arriba */
}

.fp-checkbox-hidden:checked~.fp-checkbox-text {
    font-weight: 600;
}

.fp-checkbox-hidden:checked~.fp-checkbox-text::before {
    /* opcional si quieres animación */
}

@media (max-width: 768px) {
    .fp-checkbox-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .fp-checkbox-grid {
        grid-template-columns: 1fr;
    }
}


/*Campo de carga de archivos*/
.dz-wrapper {
    font-family: 'Poppins', sans-serif;
    max-width: 500px;
    transition: all 0.3s ease;
}

.dz-box {
    border: 2px dashed #cbd5e1;
    border-radius: 12px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: #fff;
    color: #475569;
    transition: background 0.2s;
}

.dz-box.drag-over {
    border-color: #3b82f6;
    background: #eff6ff;
}

.dz-box span {
    font-size: 14px;
    text-align: center;
    font-weight: 500;
}

.dz-box small {
    font-size: 11px;
    color: #94a3b8;
    margin-top: 5px;
    text-transform: uppercase;
}

.dz-loaded {
    display: none;
    border: 2px dashed #a5c1f5;
    border-radius: 12px;
    padding: 15px;
    background: #f8faff;
    align-items: center;
    justify-content: space-between;
    padding: 47px 30px;
}

.dz-file-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.dz-icon-pdf {
    background: #fff;
    padding: 8px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    font-size: 20px;
}

.dz-details {
    display: flex;
    flex-direction: column;
}

.dz-name {
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
}

.dz-meta {
    font-size: 12px;
    color: #64748b;
}

.dz-delete {
    cursor: pointer;
    color: #94a3b8;
    font-size: 24px;
    padding: 0 5px;
    line-height: 1;
}

.dz-delete:hover {
    color: #ef4444;
}


.icon-file {
    background: white;
    padding: 10px;
    border-radius: 10px;
}

/*  Campo de carga multiple*/
.dz-multiple-box {
    border: 2px dashed #d1d5db;
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    background: #f9fafb;
}

.dz-icon {
    font-size: 40px;
    margin-bottom: 10px;
    color: #0f766e;
}

.dz-upload-area h3 {
    margin: 10px 0 5px;
    font-weight: 600;
}

.dz-upload-area p {
    color: #6b7280;
    font-size: 14px;
    margin-bottom: 15px;
}

.dz-btn {
    background: #0f766e;
    color: white;
    border: none;
    padding: 10px 18px;
    border-radius: 8px;
    cursor: pointer;
}

.dz-btn:hover {
    background: #0d5f5b;
}

.dz-files {
    margin-top: 20px;
    text-align: left;
}

.dz-file-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    border: 1px dashed #cbd5e1;
    border-radius: 10px;
    margin-bottom: 8px;
    background: white;
}

.dz-status {
    font-size: 13px;
}

.dz-remove {
    cursor: pointer;
    color: #ef4444;
}


/* ==========================================================================
   Bloque de Progreso
   ========================================================================== */
.fp-progress-box {
    margin-top: auto;
    background: #f5f7fa;
    padding: 16px;
    border-radius: 12px;
    margin-right: 30px;
    margin-left: 30px;
}

.fp-progress-label {
    font-size: 12px;
    color: #7a8599;
    margin-bottom: 8px;
    font-weight: 600;
}

.fp-progress-bar {
    width: 100%;
    height: 8px;
    background: #e4e7ec;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 6px;
}

.fp-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--color-primario));
    width: 0%;
    transition: width 0.3s ease;
}

.fp-progress-text {
    font-size: 12px;
    color: var(--color-primario);
    font-weight: 600;
    text-align: end;
}



/* ==========================================================================
   REGISTRO COMPLETADO
   ========================================================================== */
.fp-success-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.fp-success-card {
    width: 600px;
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-top: 11px solid var(--color-exito);
}

.fp-success-icon {
    font-size: 40px;
    margin-bottom: 20px;
}

.fp-folio {
    border: 1px solid #E2E8F0;
    width: 300px;
    padding: 10px 20px;
    border-radius: 10px;
    background: #F6F6F8;
    margin: 10px auto;
}

.fp-success-card p {
    width: 400px;
    margin: 20px auto !important;
}

.fp-success-card h2.fp-main-title {
    font-size: 25px;
}

.fp-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 30px auto;
}

.fp-folio-box {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    margin-top: 10px;
}

.fp-copy-btn {
    border: none;
    background: #e2e8f0;
    cursor: pointer;
    padding: 5px 8px;
    border-radius: 6px;
    transition: 0.2s;
}

.fp-copy-btn:hover {
    background: #cbd5e1;
}

button.fp-copy-btn {
    border: none;
}

button.fp-copy-btn:hover {
    background: var(--color-exito);
    border-radius: 10px;
}

.fp-copy-btn img {
    transition: filter 0.3s ease;
}

.fp-copy-btn:hover img {
    filter: brightness(0) invert(1);
}

small#fp-copy-msg {
    background: #e8f8f3;
    width: 100px;
    padding: 5px;
    border-radius: 6px;
    color: var(--color-exito);
    font-weight: 600;
    margin: 0px auto;
}

span#fp-folio-text {
    font-size: larger;
    color: var(--color-primario);
}

.hide {
    display: none;
}

.show {
    display: flex;
}

.fp-success-mode .fp-progress-box {
    opacity: 0.6;
    pointer-events: none;
}

/* ==========================================================================
   5. RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
    .fp-content {
        padding: 40px;
    }
}

@media (max-width: 768px) {
    .fp-wizard {
        flex-direction: column;
    }

    .fp-sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #e0e6ed;
    }

    .fp-grid[class*="columnas-"] {
        grid-template-columns: 1fr;
    }

    .fp-campo[class*="col-"] {
        grid-column: span 1;
    }

    .fp-nav-buttons {
        display: block;
    }

    button.fp-next,
    button.fp-save-draft,
    button.fp-ver-proyectos {
        margin: 5px 10px;
        width: stretch;
    }
}


/*Controlar visibilidad de secciones*/
.fp-step-content {
    display: none;
}

.fp-step-content.active {
    display: block;
}



/* ==========================================================================
   TABLAS GLOBALES
   ========================================================================== */
.uam-table-container {
    padding: 20px 0px;
    overflow: hidden;
    margin: auto;
}

.uam-table {
    width: 100%;
    border-collapse: separate;
    /* IMPORTANTE */
    border-spacing: 0;
    border: 1px solid #e5e7eb;
    /* borde externo */
    border-radius: 10px 10px 0px 0px;
    overflow: hidden;
    margin-bottom: 0px;
}

/* Quitar líneas internas */
.uam-table th,
.uam-table td {
    border: none;
}

/* Opcional: fondo del header */
.uam-table thead {
    background: #f9fafb;
}

.uam-table th {
    text-align: left;
    font-size: 11px;
    color: #4a6fa5;
    padding: 15px 20px;
    border: none !important;
    border-bottom: 1px solid #e5e7eb !important;
}

.uam-table td {
    padding: 15px 20px;
    font-size: 13px;
    border-bottom: 1px solid #f0f2f5;
    vertical-align: middle;
}

.uam-table tr td {
    background-color: #fff !important;
}

/* Estilo base para las etiquetas */
.status-pill,
.unit-pill {
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 11px;
    display: inline-block;
    text-transform: uppercase;
}

.badge-unit {
    padding: 4px 15px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 11px;
    text-align: center;
    display: inline-block;
}

.badge-status {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
}

.badge-status::before {
    content: "●";
    margin-right: 6px;
    font-size: 8px;
}

.uam-table-footer {
    display: flex;
    justify-content: space-between;
    padding: 20px 10px 10px;
    background: var(--uam-bg-light);
    border: 1px solid #e5e7eb;
    border-top: none;
    border-radius: 0px 0px 10px 10px;
}

.uam-table-header {
    display: flex;
    justify-content: space-between;
    padding: 20px 20px 15px;
    background: white;
    border: 1px solid #e5e7eb;
    border-bottom: none;
    border-radius: 10px 10px 0px 0px;
}

.btn-load-more,
.btn-view-all {
    text-decoration: none;
    font-size: 13px;
    color: #4a6fa5;
    background: none;
    border: none;
    cursor: pointer;
}

.project-title,
.uam-table .nombre {
    font-weight: 600;
}

button#btn-load-more-ajax {
    border: none;
}

button#btn-load-more-ajax:hover,
button#btn-load-more-ajax:focus {
    background: none;
    color: var(--color-primario);
}

table.uam-table.list-py {
    border-radius: 0px;
}

p.title-table {
    margin: 0px;
    font-size: medium;
    color: black;
    font-weight: 600;
}

.total-py {
    padding: 3px 17px;
    border-radius: 30px;
    background: #F1F5F9;
    color: #64748B;
    font-weight: 600;
}

/* ==========================================================================
   PAGINACIÓN
   ========================================================================== */
.uam-pagination {
    gap: 8px;
    display: flex;
    justify-content: end;
}

.uam-pagination a {
    padding: 2px 13px;
    border-radius: 6px;
    background: transparent;
    text-decoration: none;
    color: #0f172a;
}

.uam-pagination a.active {
    background: var(--color-primario);
    color: #fff;
}

/* ==========================================================================
   CONTENEDOR DE BÚSQUEDA
   ========================================================================== */

/* Contenedor Principal de Filtros */
.uam-filter-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 30px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* Títulos de Sección (Búsqueda y Filtros Avanzados) */
.uam-filter-box h3,
.uam-filter-box .filter-title {
    color: #1e293b;
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Etiquetas de los inputs */
.uam-filter-form label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    margin-bottom: 8px;
}

/* Inputs de Texto y Selects */
.uam-filter-form input[type="text"],
.uam-filter-form select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 14px;
    color: #334155;
    background-color: #ffffff;
    transition: all 0.2s ease;
    outline: none;
}

.uam-filter-form input::placeholder {
    color: #94a3b8;
}

.uam-filter-form input[type="text"]:focus,
.uam-filter-form select:focus {
    border-color: #0d9488;
    /* Color turquesa de la imagen */
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}

/* Grid para los Selects (Filtros Avanzados) */
.uam-filter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

/* Contenedor de Botones Inferiores */
.uam-actions-row {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
    margin-top: 25px;
    border-top: 1px solid #f1f5f9;
    padding-top: 10px;
}

/* Botón Limpiar (Link) */
.btn-clear {
    background: none;
    border: none;
    color: #64748b;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
}

.btn-clear:hover {
    color: #1e293b;
}

/* Botón Aplicar Filtros (Principal) */
.btn-apply {
    background-color: #e2f2f1;
    /* Fondo suave turquesa */
    color: #0d9488;
    /* Texto turquesa oscuro */
    border: none;
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-apply:hover {
    background-color: #0d9488;
    color: #ffffff;
}


.uam-actions-row {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
}

.btn-clear {
    background: transparent;
    border: none;
    color: #64748b;
    /* Gris desaturado */
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    transition: color 0.2s;
}

.btn-clear:hover {
    color: #1e293b;
    /* Casi negro al pasar el mouse */
    text-decoration: underline;
}

.uam-pagination-info {
    padding: 0px 10px;
}

button.btn-apply {
    background: #e7f2f2;
    color: #148080;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 16px;
}

button.btn-apply:hover,
button.btn-apply:focus {
    background-color: var(--color-primario);
    color: white;
}

button.btn-clear {
    color: #475569;
    border: none;
    font-weight: 600;
}

button.btn-clear:hover,
button.btn-clear:focus {
    color: #007f6e;
    background: none;
}



input.fp-input.fp-error,
select.fp-select.fp-error {
    border: 1px solid #e74c3c !important;
    background-color: #fff5f5;
}


/* ==========================================================================
   HEADER VISTA DETALLE - PY
   ========================================================================== */


.uam-header-card {
    background: #ffffff;
    border: 1px solid #eef0f2;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: normal;
    font-family: 'Segoe UI', Roboto, sans-serif;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

/* Icono de laboratorio a la izquierda */
.uam-header-icon {
    background: #fff0f0;
    width: 60px;
    height: 60px;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 20px;
    border: 1px solid #cccccc8c;
}

.uam-header-icon img {
    width: 30px;
    height: 30px;
    opacity: 0.8;
}

.uam-header-content {
    flex-grow: 1;
}

/* Títulos y Subtítulos */
.uam-header-main-info {
    border-left: 3px solid;
    padding-left: 15px;
    background: #fff9f9;
    padding-top: 10px;
    padding-bottom: 10px;
    padding: 10px 20px 10px 15px;
    margin-bottom: 10px;
    border-radius: 0px 10px 10px 0px;
}

.uam-header-title,
.uam-header-subtitle {
    font-size: 1.25rem;
    font-weight: 700;
    text-decoration: underline;
    margin: 0;
    display: block;
}

.uam-header-subtitle {
    font-size: 1.10rem;
}

/* Meta datos inferiores (ID, Dept, Resp) */
.uam-header-meta {
    display: flex;
    gap: 20px;
    color: #6c757d;
    font-size: 0.85rem;
    margin-top: 8px;
    align-items: center;
}

.uam-meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Badge de Estado */
.uam-badge-status {
    background: #e0f7f6;
    color: #009688;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    margin-left: 15px;
}

/* Botón Editar */
.uam-btn-edit {
    background: #f1f3f5;
    color: #343a40;
    padding: 10px 18px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s;
}

.uam-btn-edit:hover {
    background: #e9ecef;
}

.uam-header-icon {
    width: 65px;
    height: 65px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;

}


.uam-header-icon svg {
    /* Esto obliga a todos los elementos internos a usar el color del padre */
    fill: currentColor !important;
    stroke: currentColor !important;
}

.uam-header-icon svg path {
    fill: currentColor !important;
    stroke: currentColor !important;
}

/*ESTILOS PARA VISTA DETALLE*/
.fp-header {
    display: flex;
    justify-content: space-between;
    background: #f5f7fa;
    padding: 20px;
    border-radius: 10px;
}

.fp-tabs {
    display: flex;
    gap: 15px;
    margin: 20px 0;
    border-bottom: 1px solid #ddd;
}

.fp-tab {
    cursor: pointer;
    padding-bottom: 10px;
}

.fp-tab.active {
    border-bottom: 2px solid red;
}

.fp-card {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #eee;
}

.fp-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.fp-label {
    font-size: 12px;
    color: #777;
}

.fp-value {
    font-weight: 500;
}

.fp-badge {
    background: #f8d7da;
    color: #c82333;
    padding: 4px 10px;
    border-radius: 20px;
}

/* ==========================================================================
   TARJETAS VISTA RESUMEN
   ========================================================================== */

.prj-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    padding: 20px 0px;
}

.prj-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #eef0f2;
    padding: 25px;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

/* Ajustes dinámicos de cabeceras */
.prj-header {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
    padding-bottom: 12px;
    color: #333;
}

.prj-header span.dashicons {
    margin-right: 10px;
    color: var(--uam-accent);
}

/* Grid de Info General */
.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.info-label {
    font-size: 11px;
    text-transform: uppercase;
    color: #8c949c;
    font-weight: 700;
    margin-bottom: 4px;
}

.info-value {
    font-size: 14px;
    color: #2d3436;
    font-weight: 500;
}

/* Badges dinámicos */
.badge-unidad {
    background: var(--uam-bg-soft);
    color: var(--uam-accent);
    padding: 6px 12px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

/* Responsable con borde lateral dinámico */
.resp-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    padding-bottom: 5px;
    border-bottom: 1px solid #f8f9fa;
}

.resp-row .label {
    color: #636e72;
    font-size: 13px;
}

.resp-row .val {
    font-weight: 600;
    color: #2d3436;
    text-align: right;
}

.val-email {
    color: var(--uam-accent) !important;
    text-decoration: none;
}

/* Sidebar Titles */
.sidebar-title {
    font-weight: 800;
    font-size: 16px;
    color: #2d3436;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
}

/* Listado de Documentos */
.doc-item {
    display: flex;
    align-items: center;
    padding: 12px;
    border-radius: 8px;
    transition: background 0.2s;
    text-decoration: none;
    color: inherit;
    border: 1px solid transparent;
}

.doc-item:hover {
    background: #f1f2f6;
    border-color: #eef0f2;
}

.doc-icon {
    font-size: 32px;
    margin-right: 15px;
    display: flex;
    align-items: center;
}

.doc-info {
    display: flex;
    flex-direction: column;
}

.doc-name {
    font-weight: 700;
    font-size: 13.5px;
    color: #2d3436;
}

.doc-meta {
    font-size: 11px;
    color: #95a5a6;
    margin-top: 2px;
}

.obj-title {
    color: var(--uam-accent);
    font-size: 12px;
    font-weight: 800;
    display: block;
    margin-bottom: 5px;
}



/* ==========================================================================
   DISEÑO DE ICONOS
   ========================================================================== */

.uam-icon-header {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    vertical-align: middle;
}

.uam-icon-header.gene {
    margin-right: 0px;
}

.uam-icon-header svg {
    width: 22px;
    height: 22px;
    display: inline-block;
    color: var(--uam-accent);
    /* Color dinámico según la unidad */
}

.uam-icon-stroke svg path,
.uam-icon-stroke svg circle,
.uam-icon-stroke svg rect {
    stroke: currentColor !important;
    fill: none !important;
    stroke-width: 1.5px;
}

.uam-icon-fill svg path,
.uam-icon-fill svg circle,
.uam-icon-fill svg rect {
    fill: currentColor !important;
    stroke: none !important;
}

span.uam-icon-header.uam-icon-fill.container-icon {
    background: #F1F5F9;
    padding: 10px;
    border-radius: 10px;
}

/* ==========================================================================
   BLOQUE DOCUMENTOS - RESUMEN
   ========================================================================== */
.doc-item {
    display: flex;
    align-items: center;
    padding: 10px 0;
    text-decoration: none;
    border-bottom: 1px solid #f0f2f5;
}

.doc-item:last-of-type {
    border-bottom: none;
}

.doc-icon .dashicons {
    font-size: 26px;
    width: 26px;
    height: 26px;
    margin-right: 12px;
}

.doc-name {
    display: block;
    font-weight: 700;
    font-size: 13px;
    color: #1e293b;
    line-height: 1.2;
}

.doc-meta {
    font-size: 11px;
    color: #94a3b8;
}

.view-all-container {
    text-align: center;
    margin-top: 15px;
    padding-top: 10px;
}

.btn-view-all {
    color: #008080;
    font-weight: 700;
    font-size: 12px;
    text-decoration: none;
    transition: opacity 0.2s;
}

.btn-view-all:hover {
    text-decoration: underline;
    opacity: 0.8;
}

.no-docs {
    font-size: 13px;
    color: #94a3b8;
    text-align: center;
    padding: 20px 0;
}

/* ==========================================================================
   BLOQUE PRESUPUESTO -PY
   ========================================================================== */
.budget-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    font-family: 'Segoe UI', Roboto, sans-serif;
}

.budget-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #eef0f2;
    padding: 0;
    overflow: hidden;
    margin-bottom: 20px;
}

/* Encabezados con Icono */
.budget-header {
    padding: 15px 25px;
    border-bottom: 1px solid #f0f2f5;
    display: flex;
    align-items: center;
}

.budget-header strong {
    font-size: 16px;
    color: #1e293b;
}

.content-body {
    padding: 25px;
}

.info-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 25px;
}

.field-label {
    font-size: 10px;
    text-transform: uppercase;
    color: #94a3b8;
    font-weight: 800;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
}

.field-value {
    font-size: 14px;
    color: #334155;
    font-weight: 500;
}

.field-value.amount {
    font-weight: 700;
    color: #1e293b;
}

/* Bloque gris de "Otros Recursos" */
.extra-resources-box {
    background: #f8fafc;
    padding: 20px 25px;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
    margin: 0 -25px 25px -25px;
}

/* Pills para barra lateral (ODS / Prioridades) */
.pill-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.pill-item {
    background: #f1f5f9;
    color: #475569;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.sidebar-item {
    margin-bottom: 30px;
}

.sidebar-title {
    font-size: 15px;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 15px;
}

/* Contenedor lateral con borde sutil */
.sidebar-item {
    background: #fff;
    border: 1px solid #eef0f2;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.sidebar-title {
    font-size: 15px;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 15px;
}

.pill-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pill-item {
    background: #f1f5f9;
    color: #475569;
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
}



/* ==========================================================================
   BLOQUE DETALLE DOCUMENTOS -PY
   ========================================================================== */
.docs-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    font-family: 'Segoe UI', sans-serif;
}

.docs-main-card,
.docs-side-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #eef0f2;
    padding: 25px;
}

/* Estilos de la Tabla */

.uam-table th {
    text-align: left;
    font-size: 11px;
    text-transform: uppercase;
    color: #1e293b;
    padding: 12px 8px;
    border-bottom: 2px solid #f1f5f9;
    letter-spacing: 0.5px;
}

.uam-table td {
    padding: 15px 8px;
    border-bottom: 1px solid #f8fafc;
    vertical-align: middle;
    font-size: 13px;
    color: #334155;
}

.col-no {
    width: 30px;
    font-weight: 700;
    color: #64748b;
}

.col-tipo {
    font-weight: 700;
    color: #1e293b;
}

/* Formato de items de archivo en tabla y sidebar */
.file-row-item {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.file-icon {
    margin-right: 10px;
    font-size: 20px;
}

.file-info {
    display: flex;
    flex-direction: column;
}

.file-name {
    font-weight: 700;
    color: #1e293b;
    font-size: 12px;
    margin-bottom: 2px;
}

.file-meta {
    font-size: 10px;
    color: #94a3b8;
}

.side-title {
    font-size: 15px;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 20px;
}

/* ==========================================================================
   VISTA GENERAL DE DETALLES
   ========================================================================== */


.gen-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    font-family: 'Segoe UI', sans-serif;
}

/* Columna Principal: Textos largos */
.gen-main-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #eef0f2;
    padding: 0;
    overflow: hidden;
    margin-bottom: 20px;
}

/* Encabezado Principal */
.main-header {
    padding: 15px 25px;
    border-bottom: 1px solid #f0f2f5;
    display: flex;
    align-items: center;
}

.main-header strong {
    font-size: 16px;
    color: #1e293b;
}

/* Contenido de textos */
.main-text-body {
    padding: 25px;
}

.text-group {
    margin-bottom: 30px;
}

.text-group:last-child {
    margin-bottom: 0;
}

.text-label {
    font-size: 11px;
    text-transform: uppercase;
    color: #94a3b8;
    font-weight: 800;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
    display: block;
}

.text-content {
    font-size: 14px;
    color: #535c68;
    line-height: 1.8;
    margin: 0;
}

/* Columna Lateral: Fechas e Hitos */
.date-item {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #eef0f2;
    padding: 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
}

.date-item:last-child {
    margin-bottom: 0;
}

/* Icono de fecha estilo Badge con color de unidad */
.date-icon-badge {
    width: 48px;
    height: 48px;
    background-color: var(--uam-bg-soft);
    border: 1.5px solid var(--uam-accent);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
    color: var(--uam-accent);
}

/* Ajuste grosor líneas SVG */
.date-icon-badge svg path {
    stroke-width: 1.5px;
}

/* Contenido de fecha */
.date-content {
    flex-grow: 1;
}

.date-label {
    font-size: 10px;
    text-transform: uppercase;
    color: #94a3b8;
    font-weight: 800;
    letter-spacing: 0.5px;
    margin-bottom: 3px;
    display: block;
}

.date-value {
    font-size: 18px;
    color: #1e293b;
    font-weight: 800;
    line-height: 1.2;
    margin-top: 2px;
}

/* Valor de fecha largo/texto */
.date-text-value {
    font-size: 13px;
    color: #535c68;
    line-height: 1.6;
    margin: 0;
}


/* ==========================================================================
   PESTAÑAS ELEMENTOR - COLOR POR UNIDAD
   ========================================================================== */

/* 1. Contenedor principal de Elementor */
.pestañas-detalle .e-n-tabs-heading {
    border-bottom: 1px solid #E2E8F0 !important;
    gap: 0px !important;
}

/* 2. Estilo base de todas las pestañas */
.pestañas-detalle .e-n-tab-title {
    background-color: transparent !important;
    color: #64748b !important;
    padding: 15px 20px !important;
    font-weight: 700 !important;
    text-transform: capitalize !important;
    border-radius: 0 !important;
    border-bottom: 3px solid transparent !important;
    transition: all 0.3s ease;
}

.pestañas-detalle .e-n-tab-title:hover {
    color: var(--uam-accent) !important;
    border: none !important;
}

/* 3. Estilo para la pestaña SELECCIONADA (Activa) */
.pestañas-detalle .e-n-tab-title[aria-selected="true"] {
    color: var(--uam-accent) !important;
    border-bottom: 3px solid var(--uam-accent) !important;
}

/* 4. Forzar color de la unidad en ICONO (SVG Path) y TEXTO cuando está SELECCIONADA */
.pestañas-detalle .e-n-tab-title[aria-selected="true"] .e-n-tab-icon svg,
.pestañas-detalle .e-n-tab-title[aria-selected="true"] .e-n-tab-icon svg path,
.pestañas-detalle .e-n-tab-title[aria-selected="true"] .e-n-tab-title-text {
    color: var(--uam-accent) !important;
    fill: var(--uam-accent) !important;
}

/* 5. Efecto Hover para que el icono también reaccione */
.pestañas-detalle .e-n-tab-title:hover:not([aria-selected="true"]) .e-n-tab-icon svg,
.pestañas-detalle .e-n-tab-title:hover:not([aria-selected="true"]) .e-n-tab-icon svg path {
    fill: var(--uam-accent) !important;
    transition: all 0.3s ease;
}


/* ==========================================================================
   VISTA EDICIÓN DE REGISTRO
   ========================================================================== */
/* CONTENEDOR */
.fp-edit-wrapper {
    max-width: 1450px;
    margin: auto;
    font-family: Arial, Helvetica, sans-serif;
}

/* TABS */
.fp-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 25px;
}

.fp-tab {
    padding: 12px 18px;
    background: #fff;
    cursor: pointer;
    font-weight: 600;
    transition: .2s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.fp-tab:hover {
    background: var(--fp-bg);
}

.fp-tab.active {
    color: var(--fp-main);
    border-bottom: 3px solid var(--fp-main);
}

/* STEP CONTENT */
.fp-step-panel {
    display: none;
}

.fp-step-panel.active {
    display: block;
}

/* CARD */
.fp-card {
    background: #fff;
    border: 1px solid #eef0f2;
    border-radius: 14px;
    padding: 22px;
    margin-bottom: 22px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .04);
}

.fp-card h3 {
    margin-top: 0;
    font-size: large;
    font-weight: 600;
}



.fp-input,
.fp-select,
textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #dcdcdc;
    border-radius: 8px;
    font-size: 14px;
    transition: .2s;
}

.fp-input:focus,
.fp-select:focus,
textarea:focus {
    outline: none;
    border-color: var(--fp-main);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, .04);
}

/* BOTONES */
.fp-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 25px;
}

.fp-btn {
    padding: 12px 22px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
}

.fp-prev {
    background: #6c757d;
    color: #fff;
}

.fp-btn.fp-next {
    background: var(--fp-main);
    color: #fff;
}

.fp-save {
    background: #198754;
    color: #fff;
}

/* ALERTA */
.fp-alert-error {
    background: #ffe3e3;
    color: #b42318;
    padding: 15px;
    border-radius: 10px;
}

/* ==========================================================================
   MODAL VISUALIZAR DOCUMENTOS
   ========================================================================== */
#fp-preview-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
}

.fp-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .82);
    backdrop-filter: blur(4px);
}

.fp-modal-box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(95vw, 1300px);
    height: min(94vh, 900px);
    background: #111827;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 30px 70px rgba(0, 0, 0, .45);
}

.fp-modal-header {
    height: 58px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0 16px;
    background: #1f2937;
    color: #fff;
}

#fp-modal-title {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 600;
    font-size: 14px;
}

.fp-modal-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.fp-nav-btn,
.fp-modal-close,
.fp-modal-btn-download {
    background: #374151;
    color: #fff !important;
    border: none;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    font-size: 13px;
}

.fp-modal-body {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #000;
    padding: 20px;
    overflow: auto;
}

/* PDF */
.fp-modal-body iframe {
    width: 100%;
    height: 100%;
    border: none;
    background: #fff;
}

/* IMAGENES AJUSTADAS */
.fp-modal-body img {
    max-width: 82%;
    max-height: 82%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, .35);
}

/* Botones originales */
.file-actions {
    display: flex;
    gap: 6px;
    margin-left: auto;
    font-size: 20px;
    width: 60px;
    height: 20px;
    flex-shrink: 0;
}

button.fp-preview-btn {
    border: none;
    padding: 0;
}

.fp-preview-btn:hover {
    background: #eff6ff !important;
    color: #2563eb !important;
}

.fp-download-btn:hover {
    background: #f0fdf4;
    color: #16a34a;
}


/* ==========================================================================
   VISTA RESUMEN - LABORATORIO
   ========================================================================== */
.fl-integrantes-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.fl-ver-listado {
    font-size: 13px;
    color: var(--uam-accent);
    text-decoration: none;
    font-weight: 500;
    white-space: nowrap;
}

.fl-ver-listado:hover {
    text-decoration: underline;
}

/* ── Meta fila inferior de la descripción (Fecha / Área) ── */
.fl-desc-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid #f0f0f0;
}

.fl-desc-meta-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #aaa;
    margin-bottom: 6px;
}

.fl-desc-meta-value {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.fl-desc-meta-value img {
    width: 18px;
    opacity: .65;
}

/* ── Sidebar: Ubicación ── */
.fl-ubicacion-wrap {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-top: 6px;
}

.fl-ubicacion-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--uam-bg-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--uam-accent);
}

.fl-ubicacion-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #aaa;
    margin-bottom: 5px;
}

.fl-ubicacion-val {
    font-size: 14px;
    font-weight: 700;
    color: #333;
    line-height: 1.45;
}

/* ── Sidebar: Funciones ── */
.fl-funciones-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.fl-funciones-list li {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    font-size: 13px;
    color: #444;
    line-height: 1.6;
    padding: 5px 0;
    border-bottom: 1px solid #f8f8f8;
}

.fl-funciones-list li:last-child {
    border-bottom: none;
}

.fl-func-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--uam-accent);
    flex-shrink: 0;
    margin-top: 6px;
}

/*Estilos para boton desvincular proyecto*/
button.uam-btn-sm.apl-remove-project svg {
    width: 30px !important;
}

button.uam-btn-sm.apl-remove-project {
    border: none !important;
}

button.uam-btn-sm.apl-remove-project:hover,
button.uam-btn-sm.apl-remove-project:focus {
    background: transparent !important;
}