
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');

body, table, input, select, textarea, button {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #1f1f1f;
}

.table {
    border-collapse: separate;
    border-spacing: 0;
}

.table th {
    font-weight: 600;
    background-color: #fafafa;
    color: #333;
}

.table td, .table th {
    border: none;
    vertical-align: middle;
}

.table tr {
    border-bottom: 1px solid #e6e6e6;
}

.table-light {
    background-color: #fcfcfc !important;
}

input[type="text"], input[type="date"], select, textarea {
    border-radius: 6px;
    border: 1px solid #ccc;
    padding: 6px 10px;
}

input[type="text"]:focus, input[type="date"]:focus, select:focus, textarea:focus {
    border-color: #2684ff;
    outline: none;
    box-shadow: 0 0 0 2px rgba(38,132,255,.2);
}

.btn {
    font-weight: 500;
    border-radius: 6px;
}

.btn-outline-secondary {
    border-color: #ccc;
    color: #555;
}

.btn-outline-secondary:hover {
    background-color: #f2f2f2;
}

.dropdown-menu {
    font-size: 14px;
}

.dropdown-item {
    padding: 6px 12px;
}

.dropdown-item:hover {
    background-color: #f7f7f7;
}

.btn-link {
    text-decoration: none;
}

.btn-link:hover {
    text-decoration: underline;
}

.offcanvas-wide {
    width: 800px; /* Puedes ajustarlo según lo que necesites */
}

/* Ancho del sidebar (A+B) */
.sf-sidebar {
    flex: 0 0 260px;
    min-width: 260px;
    max-width: 260px;
}

    .sf-sidebar.collapsed {
        flex: 0 0 64px;
        min-width: 64px;
        max-width: 64px;
    }

    /* Truncado consistente dentro del sidebar */
    .sf-sidebar .nav-link .text-truncate {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
