/* MobilityContactsAPP — Custom styles */

/* ── Dark Sidebar ─────────────────────────────────────────────── */
.sidebar-dark {
    min-height: calc(100vh - 56px);
    background-color: #1a1d21;
    overflow-y: auto;
}

.sidebar-logo {
    width: 180px;
    height: auto;
    filter: brightness(1.1);
}

.sidebar-brand {
    color: #8ab4f8;
    font-size: 0.85rem;
    letter-spacing: 0.03em;
}

.sidebar-sub {
    color: #9ca3af;
    font-size: 0.75rem;
}

.sidebar-nav {
    padding: 0.5rem 0;
}

.sidebar-section {
    color: #6b7280;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    padding: 1rem 1.1rem 0.3rem;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.55rem 1.1rem;
    color: #d1d5db;
    text-decoration: none;
    font-size: 0.85rem;
    border-left: 3px solid transparent;
    transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}

.sidebar-link i {
    font-size: 1rem;
    width: 1.2rem;
    text-align: center;
}

.sidebar-link:hover {
    background-color: #2a2d32;
    color: #fff;
    border-left-color: #4b5563;
}

.sidebar-link.active {
    background-color: #2563eb;
    color: #fff;
    border-left-color: #2563eb;
}

/* Role-based visibility */
body.role-viewer .btn-modify {
    display: none !important;
}

/* Table rows clickable feel */
.table-hover tbody tr {
    cursor: default;
}

/* Badge link status */
.badge-vinculado {
    font-size: 0.75rem;
}

/* Search highlight */
.search-highlight {
    background-color: #fff3cd;
    padding: 0.1rem 0.2rem;
    border-radius: 0.2rem;
}

/* Modal search result cards */
.search-result-card {
    cursor: pointer;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.search-result-card:hover {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 0.15rem rgba(13, 110, 253, 0.15);
}

/* Empty state */
.empty-state {
    padding: 3rem 1rem;
    text-align: center;
    color: var(--bs-secondary);
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}
