﻿/* Estilos Base */

body {
    color: #1f2937;
    background-color: #f3f4f6;
}

/* Tarjetas */

.card {
    background-color: #ffffff;
    border-radius: 0.75rem;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
}

/* Botones */

.btn-primario {
    background-color: #3b5ba6;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.15s ease-in-out;
    border: none;
    cursor: pointer;
}

    .btn-primario:hover {
        background-color: #2d4683;
    }

.btn-secundario {
    background-color: #ffffff;
    color: #374151;
    font-weight: 500;
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    border: 1px solid #d1d5db;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.15s ease-in-out;
    cursor: pointer;
}

    .btn-secundario:hover {
        background-color: #f9fafb;
    }

/* Formularios */

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.375rem;
}

.form-input {
    width: 100%;
    border-radius: 0.5rem;
    border: 1px solid #d1d5db;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    background-color: #ffffff;
    color: #1f2937;
    outline: none;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

    .form-input:focus {
        border-color: #3b5ba6;
        box-shadow: 0 0 0 3px rgba(59, 91, 166, 0.15);
    }

/* Tabla de seguimiento */

.tabla-seguimiento {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.875rem;
}

    .tabla-seguimiento th {
        background-color: #f9fafb;
        color: #4b5563;
        font-weight: 600;
        padding: 0.75rem 1rem;
        border-bottom: 1px solid #e5e7eb;
        text-transform: uppercase;
        font-size: 0.75rem;
        letter-spacing: 0.05em;
    }

    .tabla-seguimiento td {
        padding: 0.875rem 1rem;
        border-bottom: 1px solid #f3f4f6;
        color: #1f2937;
        vertical-align: middle;
    }

    .tabla-seguimiento tr[data-href] {
        cursor: pointer;
        transition: background-color 0.15s ease-in-out;
    }

        .tabla-seguimiento tr[data-href]:hover {
            background-color: #f8fafc;
        }

/* Badges / Etiquetas de Estado */

.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.625rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-completado {
    background-color: #dcfce7;
    color: #166534;
}

.badge-pendiente {
    background-color: #fef3c7;
    color: #92400e;
}

/* Bloques de detalles */

.det-etiqueta {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #6b7280;
    margin-bottom: 0.25rem;
}

.det-bloque {
    background-color: #f9fafb;
    border: 1px solid #f3f4f6;
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    color: #1f2937;
    white-space: pre-line;
}

/* Tarjetas Móviles */

.fila-movil {
    background-color: #ffffff;
    border-radius: 0.75rem;
    border: 1px solid #e5e7eb;
    padding: 1rem;
    font-size: 0.875rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

    .fila-movil .cabecera {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 0.5rem;
        font-weight: 700;
    }

/* Paginación */

.paginacion a {
    padding: 0.5rem 0.75rem;
    border-radius: 0.375rem;
    border: 1px solid #e5e7eb;
    background-color: #ffffff;
    color: #374151;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.15s ease-in-out;
}

    .paginacion a:hover {
        background-color: #f3f4f6;
    }

    .paginacion a.activa {
        background-color: #3b5ba6;
        color: #ffffff;
        border-color: #3b5ba6;
    }
