/* ==========================================================================
   OFFCANVAS USUÁRIOS (LIGHT THEME)
   ========================================================================== */
#offcanvasUsuario {
    background: #ffffff !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    width: 420px;
    border-left: 1px solid #e2e8f0 !important;
    color: #1e293b;
}

#offcanvasUsuario .offcanvas-header {
    background: transparent !important;
    border-bottom: 1px solid #e2e8f0;
    padding: 1.5rem;
}

#offcanvasUsuario .offcanvas-title {
    font-weight: 700;
    letter-spacing: -0.02em;
    font-size: 1.25rem;
    color: #0f172a;
}

#offcanvasUsuario .form-label {
    font-size: 0.8rem;
    font-weight: 500;
    color: #475569;
    margin-bottom: 4px;
}

#offcanvasUsuario .form-control,
#offcanvasUsuario .form-select {
    border-radius: 12px;
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    padding: 0.7rem 0.95rem;
    font-size: 0.925rem;
    color: #0f172a;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

#offcanvasUsuario .form-control:focus,
#offcanvasUsuario .form-select:focus {
    background: #ffffff !important;
    border-color: #0071e3 !important;
    box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.15) !important;
}

#offcanvasUsuario .btn {
    border-radius: 12px;
    font-weight: 600;
    padding: 0.65rem 1.5rem;
    transition: all 0.25s cubic-bezier(0.25, 1, 0.5, 1);
}

/* ==========================================================================
   LISTA DE USUÁRIOS
   ========================================================================== */
#listaUsuarios .shadow-sm {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 18px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03) !important;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

#listaUsuarios .shadow-sm:hover {
    transform: translateY(-3px);
    background: #ffffff !important;
    border-color: #cbd5e1 !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08) !important;
}

.avatar-inicial {
    width: 48px;
    height: 48px;
    min-width: 48px;
    font-size: 1.25rem;
    border-radius: 12px;
    background: #f1f5f9 !important;
    color: #0f172a !important;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

/* Action icons hover effect */
#listaUsuarios .btnEditar i,
#listaUsuarios .btnDeletar i,
#listaUsuarios .visualizar-btn i {
    transition: transform 0.2s cubic-bezier(0.25, 1, 0.5, 1);
}

#listaUsuarios .btnEditar:hover i {
    transform: rotate(-10deg) scale(1.1);
}

#listaUsuarios .btnDeletar:hover i {
    transform: scale(1.2);
}

#listaUsuarios .visualizar-btn:hover i {
    transform: scale(1.2);
}

@media (max-width: 768px) {
    #offcanvasUsuario {
        width: 100% !important;
    }
}